pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

jats2epub appears to be running very slowly on demo server #110

Closed axfelix closed 6 years ago

axfelix commented 6 years ago

Need to figure out what's going on here by running it standalone -- not sure if it's trying to phone out to something that's no longer sending a response or what. It's still executing properly but with a ~5 minute delay.

axfelix commented 6 years ago

Can reproduce when calling directly. Prints this near immediately, then pauses for ~5 minutes:

NOTICE: XML Calabash output BEGIN

then finally prints:

Feb 08, 2018 2:54:25 PM com.xmlcalabash.util.DefaultXProcMessageListener warning

WARNING: file:/var/www/html/vendor/pkp/jats2epub/assets/hioa-xslt/hioa-xhtml.xsl:563:err:SXWN9001:A variable with no following sibling instructions has no effect

file:/home/garnett/output_working/00-original.xmlfile:/home/garnett/output_working/10-xml-article-APAcit-preprocessed.xmlfile:/home/garnett/output_working/15-xml-article-APAcit-preprocessed-book-chapter-refs-bugfixed.xmlfile:/home/garnett/output_working/20-xml-article-bugfix-book-chapter-mixed-citation.xmlfile:/home/garnett/output_working/30-xml-article-bugfix-graphic-missing-id.xmlfile:/home/garnett/output_working/40-xhtml-article-display.htmlfile:/home/garnett/output_working/epub/OEBPS/index.htmlfile:/home/garnett/output_working/50-xhtml-namespace-fixed-epub-version.htmlfile:/home/garnett/output_working/article-webversion.htmlfile:/home/garnett/output_working/60-webversion.htmlfile:/home/garnett/output_working/epub/OEBPS/content.opffile:/home/garnett/output_working/70-content.opffile:/home/garnett/output_working/epub/OEBPS/toc.ncxfile:/home/garnett/output_working/80-toc.ncx NOTICE: XML Calabash output END NOTICE: If the XProc processing went well, the XML Calabash output will containa ... element with the location of each file createdby the pipeline. If not, the XML Calabash output will contain error messages to help youtroubleshoot. NOTICE: Packing contents of output_working/epub/ with zip to document-20180208-144945.epub ~/output_working/epub ~ NOTICE: Moving document-20180208-144945.epub to output_final/document-20180208-144945.epub ~ NOTICE: Moving html-version of article to output_final/document-20180208-144945.html WARNING: epubcheck not found - skipping .epub validation! WARNING: kindlegen not found - skipping .mobi creation! NOTICE: DONE! Script has completed. Please check the script output as well as files created in the folders output_final/ and output_working/ ---- I'm assuming it's the listener warning near the top if anything ... and our jats2epub is fairly out of date, because we had trouble running a newer version at one point. Let me see what I can do here.
axfelix commented 6 years ago

Can't duplicate this running with the same Java version and same jats2epub version on my local machine.

axfelix commented 6 years ago

Still happening with newest jats2epub, too.

axfelix commented 6 years ago

Opened an upstream issue on what I hope is the right project: https://github.com/ndw/xmlcalabash1/issues/268

axfelix commented 6 years ago

Fixed, mysteriously.