← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704870] Re: IOError (file not found) with webkit invoice on v6rc2 on Windows

 

A few test later... os.popen is not the solution as it doesn't seem to handle well directories with spaces in it, even if you give it raw strings or others alternatives. Subprocess.popoen is the good way to handle that.
To test anyway I moved the exe in a simplier path.
I found another problem: in windows the path of html files shouldn't be single quoted if you want it to work.
Even after all that and having a correct pdf file, openerp is not able to send it via webclient as I have this error : 
<class 'report.pyPdf.utils.PdfReadError'>, PdfReadError('EOF marker not found',)
I tried this with wkhtmltopdf 0.9.9 and 0.10, the generated file do open in acrobat reader without problem.

I usually work on a mac and thought it will be easier to setup on
windows, well it is not ;-)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/704870

Title:
  IOError (file not found) with webkit invoice on v6rc2 on Windows

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  When using webkit for invoice report on windows and openerp v6rc2, the process fail with a "file not found error" (the generated pdf file is not found).
  I tried this with wkhtmltopdf 0.9.9 and 0.10 without success.
  Interestingly if you check the debug option in webkit report you get the html version correctly generated.





References