barsi / odoo-rtl

Odoo (OpenERP) Right to left support for User Interface, report and frontend
GNU Affero General Public License v3.0
29 stars 37 forks source link

Error on printer a report #6

Closed akram1 closed 9 years ago

akram1 commented 10 years ago

On latest Odoo 8 Linux64. After installting report-rtl. The report engine gives error:

Wkhtmltopdf failed (error code: -11). Message: Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number Error: Failed loading page http:///tmp/report.tmp.vJlgJd/report.footer.tmp.O2a_vG.html?page=1§ion=Order N° SO007&sitepage=1&title=&subsection=&frompage=1&subsubsection=&topage=1&doctitle=&sitepages=1&webpage=/tmp/report.tmp.vJlgJd/report.body.tmp.SuK_wJ.html&time=١٢:٢٦ ص&date=٢١‏/١٠‏/٢٠١٤ (sometimes it will work just to ignore this error with --load-error-handling ignore) QPaintDevice: Cannot destroy paint device that is being painted

mohamedhagag commented 9 years ago

the solution for this issue is to add an argument is to change line 90 in report-rtl/models/report.py from: command_args = [] to command_args = ['--load-error-handling','ignore']

It worked for me, may not work for all.

majeedid commented 9 years ago

It doesn't work for me!! same error remain Please update us with any progress on this issue

mohamedhagag commented 9 years ago

It happened to not work with me on previous installations, but now it's working. be sure to use the latest build of odoo and try.

majeedid commented 9 years ago

It is really prompt response I will do and will keep you updated thank you Akram

majeedid commented 9 years ago

I am already GIT clone --branch 8.0 https://www.github.com/odoo/odoo 3 months ago Would I just make git update?? or what you have had done last time Mohamedhagag??

mohamedhagag commented 9 years ago
just download the latest using this link,

https://github.com/odoo/odoo/archive/8.0.zip

or git update the old repo.

BTW, Odoo 8 normally gets fixs every day, so you have to update
  at least weekly.

Regards,
majeedid commented 9 years ago

Now it is OK, the RTL report working very well after I made the git pull today.

Thank you