D25928: Port doc generator to python 3

Carl Schwan noreply at phabricator.kde.org
Thu Dec 12 16:26:42 GMT 2019


ognarb created this revision.
ognarb added a reviewer: ltoscano.
Herald added a project: Documentation.
Herald added a subscriber: kde-doc-english.
ognarb requested review of this revision.

TEST PLAN
  Generated en,fr,uk for project calligra and kdegraphics
  
  I get errors in the pdf generation but I'm not sure it is related
  
    2019-12-12 17:14:32,085:DEBUG:kdedocs.environments:PDF generation (trunk5/en/kdegraphics/kcontrol/kamera)
    2019-12-12 17:14:32,368:WARNING:kdedocs.environments:Error running "nice -n 19 /home/docs/docs/buildpdf.sh /home/docs/docs/work/trunk5/en/kdegraphics/kcontrol/kamera/index.docbook" from "/home/docs/website.next/trunk5/en/kdegraphics/kcontrol/kamera", catalog: /home/docs/docs/work/trunk5/customization/catalog.xml, additional env: {'DBLATEX_BASE_DIR': '/home/docs/docs', 'TEXINPUTS': '/home/docs/website.next/trunk5/en/kdegraphics/kcontrol/kamera'}
    2019-12-12 17:14:32,368:WARNING:kdedocs.environments:stdout:
    b"No external file support\nindex.docbook.rtex -> index.docbook.tex\nCompiling index.docbook.tex ...\nLink to warning.pdf\nlatex index.docbook_tmp.tex\nThis is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/TeX Live for SUSE Linux) (preloaded format=pdflatex)\n \\write18 enabled.\nentering extended mode\n*** latex error\n\n! LaTeX Error: File `examplep.sty' not found.\n\nType X to quit or <RETURN> to proceed,\nor enter new name. (Default extension: sty)\n\nEnter file name: \n! Emergency stop.\n<read *> \n         \nl.117 \\usepackage\n"
    2019-12-12 17:14:32,368:WARNING:kdedocs.environments:stderr:
    b"make: Warning: File '/home/docs/docs/work/trunk5/en/kdegraphics/kcontrol/kamera/index.docbook' has modification time 30 s in the future\nXSLT stylesheets DocBook -  LaTeX 2e (devel)\n===================================================\nmake: *** [/home/docs/docs/dblatex-cvs-install/share/dblatex/scripts/make.build:40: index.docbook.pdf] Error 1\n"

REPOSITORY
  R184 Documentation Website (docs.kde.org)

REVISION DETAIL
  https://phabricator.kde.org/D25928

AFFECTED FILES
  kdedocs/configuration.py
  kdedocs/environments.py

To: ognarb, ltoscano
Cc: kde-doc-english, gennad, fbampaloukas, skadinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-doc-english/attachments/20191212/0cea1c5a/attachment.html>


More information about the kde-doc-english mailing list