-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service publication PDF generation hang for a particular document #402
Comments
The issue in table auto-layout Apache IF processing. |
Another issue - email's don't fit into the cells: The reason: <link target="mailto:[email protected]"/> To do: in the template mode |
Current processing time is ~580sec. I'll optimize further. |
Thank you @Intelligent2013 ! I think the PDF times could also be further optimized, maybe it's something we should undertake. |
@Intelligent2013 we can use this repo to test: |
common.xslt updated for email in table, metanorma/metanorma-itu#402
@ronaldtse I've updated mn2pdf (v1.63 https://github.com/metanorma/mn2pdf/releases/tag/v1.63) and ITU XSLT for fixing issues from this ticket. From log (PR ituob/service-publications-docs#39): https://github.com/ituob/service-publications-docs/actions/runs/4387204614/jobs/7682219643,
I don't understand good how test-docker is working. But it means that docker image should be updated? |
@Intelligent2013 indeed we need to update the docker image. Ping @CAMOBAP on mn2pdf version. Thanks! |
The issue occurs again after 2 weeks. I'll investigate the reason. |
The issue relates to the |
It's not, we're not using site functionality here but only for a single document. If it is not Java then this seems to be related to the mn2pdf-ruby gem where it is not returning? My trace: bundle exec metanorma T-SP-M.1400-2014-E.adoc
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Metanorma XML Style Warning: (XML Line 000072): Table should have title
Metanorma XML Style Warning: (XML Line 018956): Table should have title
Metanorma XML Style Warning: (XML Line 018978): Table should have title
Style: No Summary has been provided
Style: No Keywords have been provided
Style: Annex to ITU OB E.212 does not match ITU document identifier conventions
Document Attributes: published is not a recognised status
Metanorma XML Syntax: (XML Line 018937:73): element "fn" not allowed here; expected the element end-tag, text or element "add", "bookmark", "br", "concept", "del", "em", "eref", "erefstack", "hr", "image", "index", "index-xref", "keyword", "link", "pagebreak", "ruby", "smallcap", "span", "stem", "strike", "strong", "sub", "sup", "svg", "tt", "underline" or "xref"
Metanorma XML Syntax: (XML Line 019026:16): element "itu-standard" incomplete; missing required element "bibliography"
java -Xss5m -Xmx2048m -Djava.awt.headless=true -Dapple.awt.UIElement=true -Duser.home=/Users/mulgogi -jar ~/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/mn2pdf-1.66/lib/../bin/mn2pdf.jar --xml-file "~/src/ituob/service-publications-docs/1060-M.1400/T-SP-M.1400-2014-E.presentation.xml" --xsl-file "~/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/metanorma-itu-2.2.7/lib/isodoc/itu/itu.service-publication.xsl" --pdf-file "~/src/ituob/service-publications-docs/1060-M.1400/T-SP-M.1400-2014-E.pdf" --syntax-highlight --font-manifest "/var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/fontist_locations20230324-76082-3jpnw.yml" |
Actually it is returning, it just took a long time to complete. Thank you @Intelligent2013 . |
See ituob/service-publications-docs#34 for details.
1060-M.1400/T-SP-M.1400-2014-E.adoc
hangs in PDF generation.The text was updated successfully, but these errors were encountered: