openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27624
[Bug 1307882] [NEW] Fail to generate pdf report:openerp\addons\report\models\report.py", line 513, in _generate_wkhtml_pdf
Public bug reported:
OS: Windows 7:
OpenERP Version: 8.0/Trunk openerp-8.0dev-20140407-230101
Module: report
Summary: Fail to call _generate_wkhtml_pdf,
2014-04-15 07:26:49,857 10060 [1;32m[1;49mINFO[0m OE_8_TEST3 werkzeug: 127.0.0.1 - - [15/Apr/2014 07:26:49] "POST /report/download HTTP/1.1" 500 -
2014-04-15 07:26:50,677 10060 [1;31m[1;49mERROR[0m OE_8_TEST3 werkzeug: Error on request:
Traceback (most recent call last):
File "werkzeug\serving.py", line 177, in run_wsgi
File "werkzeug\serving.py", line 165, in execute
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\server.py", line 261, in app
return self.app(e, s)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1105, in __call__
return self.dispatch(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1082, in __call__
return self.app(environ, start_wrapped)
File "werkzeug\wsgi.py", line 579, in __call__
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1242, in dispatch
result = ir_http._dispatch()
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 120, in _dispatch
return self._handle_exception(e)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 89, in _handle_exception
return request._handle_exception(exception)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 116, in _dispatch
result = request.dispatch()
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 545, in dispatch
r = self._call_function(**self.params)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 302, in _call_function
return checked_call(self.db, *args, **kwargs)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 299, in checked_call
return self.endpoint(*a, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 646, in __call__
return self.method(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 345, in response_wrap
response = f(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\controllers\main.py", line 111, in report_download
response = self.report_pdf(reportname, docids)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 345, in response_wrap
response = f(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\controllers\main.py", line 45, in report_pdf
pdf = request.registry['report'].get_pdf(cr, uid, docids, reportname, context=context)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\models\report.py", line 376, in get_pdf
paperformat, specific_paperformat_args, save_in_attachment
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\models\report.py", line 513, in _generate_wkhtml_pdf
'Message: %s') % (str(process.returncode), err))
except_orm: (u'Report (PDF)', u'wkhtmltopdf failed with error code = 1. Message: Loading pages (1/6)\r\n[>
] 0%\r[======> ] 10%\r[============================================================
] 100%\rError: Failed loading page file:///C:/users/ocean/appdata/local/temp/report.body.tmp.nucrxz.html (sometimes it will work just to ignore this e
rror with --load-error-handling ignore)\r\n')
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1307882
Title:
Fail to generate pdf report:openerp\addons\report\models\report.py",
line 513, in _generate_wkhtml_pdf
Status in OpenERP Addons (modules):
New
Bug description:
OS: Windows 7:
OpenERP Version: 8.0/Trunk openerp-8.0dev-20140407-230101
Module: report
Summary: Fail to call _generate_wkhtml_pdf,
2014-04-15 07:26:49,857 10060 [1;32m[1;49mINFO[0m OE_8_TEST3 werkzeug: 127.0.0.1 - - [15/Apr/2014 07:26:49] "POST /report/download HTTP/1.1" 500 -
2014-04-15 07:26:50,677 10060 [1;31m[1;49mERROR[0m OE_8_TEST3 werkzeug: Error on request:
Traceback (most recent call last):
File "werkzeug\serving.py", line 177, in run_wsgi
File "werkzeug\serving.py", line 165, in execute
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\server.py", line 261, in app
return self.app(e, s)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1105, in __call__
return self.dispatch(environ, start_response)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1082, in __call__
return self.app(environ, start_wrapped)
File "werkzeug\wsgi.py", line 579, in __call__
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 1242, in dispatch
result = ir_http._dispatch()
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 120, in _dispatch
return self._handle_exception(e)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 89, in _handle_exception
return request._handle_exception(exception)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\base\ir\ir_http.py", line 116, in _dispatch
result = request.dispatch()
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 545, in dispatch
r = self._call_function(**self.params)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 302, in _call_function
return checked_call(self.db, *args, **kwargs)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\service\model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 299, in checked_call
return self.endpoint(*a, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 646, in __call__
return self.method(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 345, in response_wrap
response = f(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\controllers\main.py", line 111, in report_download
response = self.report_pdf(reportname, docids)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\http.py", line 345, in response_wrap
response = f(*args, **kw)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\controllers\main.py", line 45, in report_pdf
pdf = request.registry['report'].get_pdf(cr, uid, docids, reportname, context=context)
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\models\report.py", line 376, in get_pdf
paperformat, specific_paperformat_args, save_in_attachment
File "E:\OpenERP-8.0dev-20140407-230101-3\server\openerp\addons\report\models\report.py", line 513, in _generate_wkhtml_pdf
'Message: %s') % (str(process.returncode), err))
except_orm: (u'Report (PDF)', u'wkhtmltopdf failed with error code = 1. Message: Loading pages (1/6)\r\n[>
] 0%\r[======> ] 10%\r[============================================================
] 100%\rError: Failed loading page file:///C:/users/ocean/appdata/local/temp/report.body.tmp.nucrxz.html (sometimes it will work just to ignore this e
rror with --load-error-handling ignore)\r\n')
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1307882/+subscriptions
Follow ups
References