Giter Club home page Giter Club logo

Comments (5)

JulienPalard avatar JulienPalard commented on August 16, 2024 2

Please update HTML without PDF.

Done. I see "2023" on /ja/ :)

from docsbuild-scripts.

souma987 avatar souma987 commented on August 16, 2024 1

I don't think the Japanese translations are up to date on docs.python.org.

For example, a typo is still on https://docs.python.org/ja/3.11/library/xml.etree.elementtree.html but it is already fixed in python/python-docs-ja@3d5da94 .

On docs.python.org, in the red box, "データををパースする" is a typo of "データパースする" .

The typo is fixed at line58 and 59 of library/xml.etree.elementtree.po.

In addition, in the bottom right corner of the Japanese translations on docs.python.org, it says "最終更新: 8月 01, 2022 Found a bug?" which means "last updated on Aug 1, 2022" which shows the translation is not up to date.

from docsbuild-scripts.

JulienPalard avatar JulienPalard commented on August 16, 2024

It is due to python/python-docs-ja#35: as the build is failing the script stops does not runs the following steps, see the server logs:

ERROR:2023-01-02 02:34:27,479:Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.10/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.10/bin/blurb VE
NVDIR=/srv/docsbuild/venv-3.10 'SPHINXOPTS=-D latex_engine=platex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=ja -D gettext_compact=0' SPHINXER
RORHANDLING= autobuild-stable" KO:
    Output written on howto-sockets.dvi (6 pages, 23340 bytes).
    Transcript written on howto-sockets.log.
    Latexmk: Index file 'howto-sockets.idx' was written
    Latexmk: References changed.
    Collected error summary (may duplicate other messages):
      latex: Command for 'latex' gave return code 1
          Refer to 'howto-sockets.log' for details
    Latexmk: Use the -f option to force complete processing,
     unless error was exceeding maximum runs, or warnings treated as errors.
    === TeX engine is 'e-pTeX'
    Latexmk: Errors, so I did not complete making targets
    make[3]: *** [Makefile:30: howto-sockets.pdf] Error 12
    make[3]: Leaving directory '/srv/docsbuild/cpython/Doc/build/latex'
    make[2]: *** [Makefile:180: dist] Error 2
    make[2]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make[1]: *** [Makefile:227: autobuild-dev] Error 2
    make[1]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make: *** [Makefile:237: autobuild-stable] Error 2
    make: Leaving directory '/srv/docsbuild/cpython/Doc'

ERROR:2023-01-02 02:34:27,552:Exception while building ja version 3.10
Traceback (most recent call last):
  File "/srv/docsbuild/scripts/build_docs.py", line 648, in run
    self.build()
  File "/srv/docsbuild/scripts/build_docs.py", line 731, in build
    run(
  File "/srv/docsbuild/scripts/build_docs.py", line 287, in run
    result.check_returncode()
  File "/usr/lib/python3.10/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['make', '-C', '/srv/docsbuild/cpython/Doc', 'PYTHON=/srv/docsbuild/venv-3.10/bin/python', 'SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build', 'BLURB=/srv/docsbuild/venv-3.10/bin/blurb', 'VENVDIR=/srv/docsbuild/venv-3.10', 'SPHINXOPTS=-D latex_engine=platex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=ja -D gettext_compact=0', 'SPHINXERRORHANDLING=', 'autobuild-stable']' returned non-zero exit status 2.

So I'm closing this in favor of python/python-docs-ja#35.

from docsbuild-scripts.

methane avatar methane commented on August 16, 2024

Using Japanese in latex is difficult topic and I don't have any knowledge about latex. I never used latex.
So I can not fix the issue soon.

Please update HTML without PDF.

from docsbuild-scripts.

methane avatar methane commented on August 16, 2024

Thank you.

from docsbuild-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.