Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 806, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/var/Addons/POS14/prt_report_attachment_preview/controllers/cetmix_controllers.py", line 85, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 815, in _render_qweb_pdf
pdf_content = self._run_wkhtmltopdf(
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 475, in _run_wkhtmltopdf
raise UserError(message % (str(process.returncode), err[-1000:]))
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 806, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/var/Addons/POS14/prt_report_attachment_preview/controllers/cetmix_controllers.py", line 85, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 815, in _render_qweb_pdf
pdf_content = self._run_wkhtmltopdf(
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 475, in _run_wkhtmltopdf
raise UserError(message % (str(process.returncode), err[-1000:]))
odoo.exceptions.UserError: Wkhtmltopdf failed (error code: -9). Message: b''
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
2
Antwoorden
5286
Weergaven
Hi,
This may due to the wkhtmltopdf package is not installed on your system, You can try the below command to install the package, hope this will solve your problem.
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f -v
Regards
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
mei 24
|
2562 | ||
|
1
apr. 24
|
25952 | ||
|
1
nov. 22
|
2249 | ||
|
2
jul. 22
|
2851 | ||
|
2
jul. 22
|
2780 |