Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2023 20:41:46 -0300
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        YooKyung-tak <stonegaze@me.com>, "freebsd-translators@freebsd.org" <freebsd-translators@FreeBSD.org>
Subject:   Re: Question) Error occurred during build process
Message-ID:  <6868bd4a-a2d4-4857-90bb-7a006d283e51@app.fastmail.com>
In-Reply-To: <C36C3C6E-F79D-4E58-99C9-2BB89D6F6906@me.com>
References:  <C36C3C6E-F79D-4E58-99C9-2BB89D6F6906@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0263b1b5f9764a10b4308ae597a2071b
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable



On Mon, Aug 28, 2023, at 20:03, YooKyung-tak wrote:
> Hello,=20

Hello.

> I tried to build the entire document because I finished translating th=
e handbook into Korean. (Weblate)=20

That's nice.

> I downloaded the handbook file translated into Korean from the weblate=
 and pasted it into the freebsd-doc directory on Github.=20
> Then I executed the "DOC_LANG=3Dko make" command, and the process was =
interrupted with the following error.=20
>=20
> How do I fix this problem?=20
>=20
> Thanks.=20
>=20
> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94
>=20
> stonegaze@S5Test:~/freebsd-doc/documentation $ DOC_LANG=3Dko make
> make: "/usr/home/stonegaze/freebsd-doc/documentation/Makefile" line 56=
: warning: "Warning: cannot skip 'en'; adding it back"
> ---------------------------------------------------------------
> Building the documentation
> included languages: ko en
> excluded languages: bn-bd da de el es fr hu id it ja mn nl pl pt-br ru=
 tr zh-cn zh-tw
> ---------------------------------------------------------------
> HUGO_DISABLELANGUAGES=3D" bn-bd da de el es fr hu id it ja mn nl pl pt=
-br ru tr zh-cn zh-tw" /usr/local/bin/hugo --minify
> Start building sites =E2=80=A6
> hugo v0.111.3+extended freebsd/amd64 BuildDate=3D2023-03-17T03:01:46Z+=
0000 VendorInfo=3Dfreebsd
> WARN 2023/08/26 03:22:38 books/handbook/book.adoc: asciidoctor: WARNIN=
G: content/en/books/handbook/multimedia/_index.adoc: line 241: id assign=
ed to section already in use: troubleshooting
> WARN 2023/08/26 03:22:59 books/handbook/book.adoc: asciidoctor: WARNIN=
G: content/ko/books/handbook/multimedia/_index.adoc: line 241: id assign=
ed to section already in use: troubleshooting
> Error: Error building site: failed to render pages: render of "section=
" failed: "/usr/home/stonegaze/freebsd-doc/documentation/themes/beastie/=
layouts/books/list.html:132:30": execute of template failed: template: b=
ooks/list.html:132:30: executing "main" at <split .Page.File "/">: error=
 calling split: unable to cast page.zeroFile{log:(*helpers.DistinctLogge=
r)(0x858326210)} of type page.zeroFile to string
> Total in 38487 ms
> *** Error code 255
>=20
> Stop.
> make: stopped in /usr/home/stonegaze/freebsd-doc/documentation


Could you upload your code to a GitHub repo and share it? So we can inve=
stigate it better.
with the above error, I can't point out what is going on.

Regards.
--=20
Danilo G. Baio

--0263b1b5f9764a10b4308ae597a2071b
Content-Type: text/html;charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>=
<br></div><div>On Mon, Aug 28, 2023, at 20:03, YooKyung-tak wrote:<br></=
div><blockquote type=3D"cite" id=3D"qt" style=3D"overflow-wrap:break-wor=
d;"><div>Hello,&nbsp;<br></div></blockquote><div><br></div><div>Hello.<b=
r></div><div><br></div><blockquote type=3D"cite" id=3D"qt" style=3D"over=
flow-wrap:break-word;"><div>I tried to build the entire document because=
 I finished translating the handbook into Korean. (Weblate)&nbsp;<br></d=
iv></blockquote><div><br></div><div>That's nice.<br></div><div><br></div=
><blockquote type=3D"cite" id=3D"qt" style=3D"overflow-wrap:break-word;"=
><div>I downloaded the handbook file translated into Korean from the web=
late and pasted it into the freebsd-doc directory on Github.&nbsp;<br></=
div><div>Then I executed the "DOC_LANG=3Dko make" command, and the proce=
ss was interrupted with the following error.&nbsp;<br></div><div><br></d=
iv><div>How do I fix this problem?&nbsp;<br></div><div><br></div><div>Th=
anks.&nbsp;<br></div><div><br></div><div>=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94<br></div><div><br></div><div><div><span c=
lass=3D"size" style=3D"font-size:medium;">stonegaze@S5Test:~/freebsd-</s=
pan><wbr><span class=3D"size" style=3D"font-size:medium;">doc/documentat=
ion $ DOC_LANG=3Dko make</span><br></div><div><span class=3D"size" style=
=3D"font-size:medium;">make: "/usr/home/stonegaze/freebsd-</span><wbr><s=
pan class=3D"size" style=3D"font-size:medium;">doc/documentation/Makefil=
e" line 56: warning: "Warning: cannot skip 'en'; adding it back"</span><=
br></div><div><span class=3D"size" style=3D"font-size:medium;">---------=
---------------------</span><wbr><span class=3D"size" style=3D"font-size=
:medium;">------------------------------</span><wbr><span class=3D"size"=
 style=3D"font-size:medium;">---</span><br></div><div><span class=3D"siz=
e" style=3D"font-size:medium;">Building the documentation</span><br></di=
v><div><span class=3D"size" style=3D"font-size:medium;">included languag=
es: ko en</span><br></div><div><span class=3D"size" style=3D"font-size:m=
edium;">excluded languages: bn-bd da de el es fr hu id it ja mn nl pl pt=
-br ru tr zh-cn zh-tw</span><br></div><div><span class=3D"size" style=3D=
"font-size:medium;">------------------------------</span><wbr><span clas=
s=3D"size" style=3D"font-size:medium;">------------------------------</s=
pan><wbr><span class=3D"size" style=3D"font-size:medium;">---</span><br>=
</div><div><span class=3D"size" style=3D"font-size:medium;">HUGO_DISABLE=
LANGUAGES=3D" bn-bd da de el es fr hu id it ja mn nl pl pt-br ru tr zh-c=
n zh-tw" /usr/local/bin/hugo --minify</span><br></div><div><span class=3D=
"size" style=3D"font-size:medium;">Start building sites =E2=80=A6</span>=
<br></div><div><span class=3D"size" style=3D"font-size:medium;">hugo v0.=
111.3+extended freebsd/amd64 BuildDate=3D2023-03-17T03:01:</span><wbr><s=
pan class=3D"size" style=3D"font-size:medium;">46Z+0000 VendorInfo=3Dfre=
ebsd</span><br></div><div><span class=3D"size" style=3D"font-size:medium=
;">WARN 2023/08/26 03:22:38 books/handbook/book.adoc: asciidoctor: WARNI=
NG: content/en/books/handbook/</span><wbr><span class=3D"size" style=3D"=
font-size:medium;">multimedia/_index.adoc: line 241: id assigned to sect=
ion already in use: troubleshooting</span><br></div><div><span class=3D"=
size" style=3D"font-size:medium;">WARN 2023/08/26 03:22:59 books/handboo=
k/book.adoc: asciidoctor: WARNING: content/ko/books/handbook/</span><wbr=
><span class=3D"size" style=3D"font-size:medium;">multimedia/_index.adoc=
: line 241: id assigned to section already in use: troubleshooting</span=
><br></div><div><span class=3D"size" style=3D"font-size:medium;">Error: =
Error building site: failed to render pages: render of "section" failed:=
 "/usr/home/stonegaze/freebsd-</span><wbr><span class=3D"size" style=3D"=
font-size:medium;">doc/documentation/themes/</span><wbr><span class=3D"s=
ize" style=3D"font-size:medium;">beastie/layouts/books/list.</span><wbr>=
<span class=3D"size" style=3D"font-size:medium;">html:132:30": execute o=
f template failed: template: books/list.html:132:30: executing "main" at=
 &lt;split .Page.File "/"&gt;: error calling split: unable to cast page.=
zeroFile{log:(*helpers.</span><wbr><span class=3D"size" style=3D"font-si=
ze:medium;">DistinctLogger)(0x858326210)} of type page.zeroFile to strin=
g</span><br></div><div><span class=3D"size" style=3D"font-size:medium;">=
Total in 38487 ms</span><br></div><div><span class=3D"size" style=3D"fon=
t-size:medium;">*** Error code 255</span><br></div><div><br></div><div><=
span class=3D"size" style=3D"font-size:medium;">Stop.</span><br></div><d=
iv><span class=3D"size" style=3D"font-size:medium;">make: stopped in /us=
r/home/stonegaze/freebsd-</span><wbr><span class=3D"size" style=3D"font-=
size:medium;">doc/documentation</span><br></div></div></blockquote><div>=
<br></div><div><br></div><div>Could you upload your code to a GitHub rep=
o and share it? So we can investigate it better.<br></div><div>with the =
above error, I can't point out what is going on.<br></div><div><br></div=
><div>Regards.<br></div><div id=3D"sig118139120"><div class=3D"signature=
">--&nbsp;</div><div class=3D"signature">Danilo G. Baio</div></div><div>=
<br></div></body></html>
--0263b1b5f9764a10b4308ae597a2071b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6868bd4a-a2d4-4857-90bb-7a006d283e51>