The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last): File "/home/bcnsostenible/vpython/lib/python2.7/site-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/home/bcnsostenible/vpython/lib/python2.7/site-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/home/bcnsostenible/src/woost/woost/controllers/cmscontroller.py", line 212, in default return self.__dispatcher.respond(args, self.__cms) File "/home/bcnsostenible/src/cocktail/cocktail/controllers/dispatcher.py", line 251, in respond return cherrypy.request.handler() File "/home/bcnsostenible/src/cocktail/cocktail/controllers/dispatcher.py", line 52, in __call__ return self.callable(*self.args, **self.kwargs) File "/home/bcnsostenible/src/woost/woost/controllers/publishablecontroller.py", line 22, in __call__ return Cached.__call__(self, **kwargs) File "/home/bcnsostenible/src/cocktail/cocktail/controllers/cached.py", line 35, in __call__ content = self._produce_content(**kwargs) File "/home/bcnsostenible/src/woost/woost/controllers/publishablecontroller.py", line 87, in _produce_content return BaseCMSController.__call__(self, **kwargs) File "/home/bcnsostenible/src/cocktail/cocktail/controllers/controller.py", line 46, in __call__ return self.render() File "/home/bcnsostenible/src/cocktail/cocktail/controllers/controller.py", line 150, in render return renderer() File "/home/bcnsostenible/src/woost/woost/extensions/pdf/__init__.py", line 80, in render_pdf + (": " + stderr) if stderr else "" OSError: Error generating PDF: /home/bcnsostenible/src/cocktail/cocktail/translations/wordprocessing.py:204: UserWarning: Couldn't create stemmer for language 'ca' warn("Couldn't create stemmer for language %r" % language) Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/bcnsostenible/src/woost/woost/extensions/pdf/renderpdf.py", line 23, in <module> main() File "/home/bcnsostenible/src/woost/woost/extensions/pdf/renderpdf.py", line 20, in main pdfkit.from_url(url, dest) File "/home/bcnsostenible/vpython/local/lib/python2.7/site-packages/pdfkit/api.py", line 26, in from_url return r.to_pdf(output_path) File "/home/bcnsostenible/vpython/local/lib/python2.7/site-packages/pdfkit/pdfkit.py", line 156, in to_pdf raise IOError('wkhtmltopdf reported an error:\n' + stderr) IOError: wkhtmltopdf reported an error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-bcnsostenible' libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Loading page (1/2) [> ] 0% [==================> ] 30% [============================> ] 47% Warning: SSL error ignored [============================================================] 100% Error: Failed loading page https://www.ajsosteniblebcn.cat/noticies-ajuntament-sostenible-desembre-2017_83418?format=html (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1 due to network error: ContentGoneError