İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5739 Görünümler

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''

Avatar
Vazgeç
En İyi Yanıt

Use this Odoo app - Manage Bulk pdf Export

It will give you solution.

Thanks!

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 24
3121
1
Nis 24
26720
1
Kas 22
2587
2
Tem 22
3287
2
Tem 22
3105