Error:
Uncaught PHP Exception Symfony\Component\Process\Exception\ProcessFailedException: "The command "'ebook-convert' '/var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-46201612835000.epub' '/var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-4620910319068.mobi' '--page-breaks-before' '/'" failed. Exit Code: 1(General error) Working directory: /var/www/tool/public Output: ================ 1% Converting input to HTML... InputFormatPlugin: EPUB Input running on /var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-46201612835000.epub Parsing all content... 34% Running transforms on e-book... Merging user specified metadata... Detecting structure... Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Removing fake margins... Cleaning up manifest... Trimming unused files from manifest... Trimming u'OPS/toc.ncx' from manifest Trimming u'OPS/nav.xhtml' from manifest Creating MOBI Output... 67% Running MOBI Output plugin Serializing resources... Creating MOBI 6 output Generating in-line TOC... Applying case-transforming CSS... Rasterizing SVG images... Converting XHTML to Mobipocket markup... Error Output: ================ QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-www-data' Traceback (most recent call last): File "site.py", line 77, in main File "site-packages/calibre/ebooks/conversion/cli.py", line 401, in main File "site-packages/calibre/ebooks/conversion/plumber.py", line 1275, in run File "site-packages/calibre/ebooks/conversion/plugins/mobi_output.py", line 214, in convert File "site-packages/calibre/ebooks/conversion/plugins/mobi_output.py", line 246, in write_mobi File "site-packages/calibre/ebooks/mobi/mobiml.py", line 129, in __call__ File "site-packages/calibre/ebooks/mobi/mobiml.py", line 140, in mobimlize_spine File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 586, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 584, in mobimlize_elem File "site-packages/calibre/ebooks/mobi/mobiml.py", line 302, in mobimlize_content File "src/lxml/etree.pyx", line 3121, in lxml.etree.SubElement File "src/lxml/apihelpers.pxi", line 199, in lxml.etree._makeSubElement File "src/lxml/apihelpers.pxi", line 194, in lxml.etree._makeSubElement File "src/lxml/apihelpers.pxi", line 296, in lxml.etree._initNodeAttributes File "src/lxml/apihelpers.pxi", line 310, in lxml.etree._addAttributeToNode File "src/lxml/apihelpers.pxi", line 1491, in lxml.etree._utf8 TypeError: Argument must be bytes or unicode, got 'float' " at /var/www/tool/vendor/symfony/process/Process.php line 252 Time: 2020-11-17T09:21:51.875120+00:00 Channel: request Context: exception: { "class": "Symfony\\Component\\Process\\Exception\\ProcessFailedException", "message": "The command \"'ebook-convert' '/var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-46201612835000.epub' '/var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-4620910319068.mobi' '--page-breaks-before' '/'\" failed.\n\nExit Code: 1(General error)\n\nWorking directory: /var/www/tool/public\n\nOutput:\n================\n1% Converting input to HTML...\nInputFormatPlugin: EPUB Input running\non /var/www/tool/var/www-data/ws-c0_Dziady_cz____III_Scena_V-46201612835000.epub\nParsing all content...\n34% Running transforms on e-book...\nMerging user specified metadata...\nDetecting structure...\nFlattening CSS and remapping font sizes...\nSource base font size is 12.00000pt\nRemoving fake margins...\nCleaning up manifest...\nTrimming unused files from manifest...\nTrimming u'OPS/toc.ncx' from manifest\nTrimming u'OPS/nav.xhtml' from manifest\nCreating MOBI Output...\n67% Running MOBI Output plugin\nSerializing resources...\nCreating MOBI 6 output\nGenerating in-line TOC...\nApplying case-transforming CSS...\nRasterizing SVG images...\nConverting XHTML to Mobipocket markup...\n\n\nError Output:\n================\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-www-data'\nTraceback (most recent call last):\n File \"site.py\", line 77, in main\n File \"site-packages/calibre/ebooks/conversion/cli.py\", line 401, in main\n File \"site-packages/calibre/ebooks/conversion/plumber.py\", line 1275, in run\n File \"site-packages/calibre/ebooks/conversion/plugins/mobi_output.py\", line 214, in convert\n File \"site-packages/calibre/ebooks/conversion/plugins/mobi_output.py\", line 246, in write_mobi\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 129, in __call__\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 140, in mobimlize_spine\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 586, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 584, in mobimlize_elem\n File \"site-packages/calibre/ebooks/mobi/mobiml.py\", line 302, in mobimlize_content\n File \"src/lxml/etree.pyx\", line 3121, in lxml.etree.SubElement\n File \"src/lxml/apihelpers.pxi\", line 199, in lxml.etree._makeSubElement\n File \"src/lxml/apihelpers.pxi\", line 194, in lxml.etree._makeSubElement\n File \"src/lxml/apihelpers.pxi\", line 296, in lxml.etree._initNodeAttributes\n File \"src/lxml/apihelpers.pxi\", line 310, in lxml.etree._addAttributeToNode\n File \"src/lxml/apihelpers.pxi\", line 1491, in lxml.etree._utf8\nTypeError: Argument must be bytes or unicode, got 'float'\n", "code": 0, "file": "/var/www/tool/vendor/symfony/process/Process.php:252", "trace": [ "/var/www/tool/src/Generator/ConvertGenerator.php:148", "/var/www/tool/src/Generator/ConvertGenerator.php:124", "/var/www/tool/src/BookCreator.php:52", "/var/www/tool/src/Controller/ExportController.php:92", "/var/www/tool/src/Controller/ExportController.php:63", "/var/www/tool/vendor/symfony/http-kernel/HttpKernel.php:157", "/var/www/tool/vendor/symfony/http-kernel/HttpKernel.php:79", "/var/www/tool/vendor/symfony/http-kernel/Kernel.php:196", "/var/www/tool/public/index.php:35" ] } Extra: host: wsexport.wmflabs.org uri: http://wsexport.wmflabs.org/tool/book.php?format=mobi&lang=pl&page=Dziady%20cz%C4%99%C5%9B%C4%87%20III%2FScena%20V