← Back to team overview

openerp-india team mailing list archive

[Bug 1023337] [NEW] Not able to open BVR invoice report

 

Public bug reported:

Hello,

With the latest trunk I try to print BVR Invoice report,
Steps to reproduce a problem:
> Create new DB
> Install account voucher and l10n_ch module
> Create customer invoice  with bank account details
> save record
> Try to print BVR Invoice report
> Traceback:

2012-07-11 09:14:58,076 5932 ERROR ? openerp.service.web_services: Exception: [Errno 2] No such file or directory: '/tmp/webkit.tmp.frkq90.pdf'
Traceback (most recent call last):
  File "/home/tiny/rdtools/server/trunk/openerp/service/web_services.py", line 726, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/home/tiny/rdtools/addons/trunk/report_webkit/webkit_report.py", line 325, in create
    result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
  File "/home/tiny/rdtools/server/trunk/openerp/report/report_sxw.py", line 511, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/home/tiny/rdtools/addons/trunk/l10n_ch/report/report_webkit_html.py", line 313, in create_single_pdf
    pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
  File "/home/tiny/rdtools/addons/trunk/report_webkit/webkit_report.py", line 174, in generate_pdf
    pdf = file(out_filename, 'rb').read()
IOError: [Errno 2] No such file or directory: '/tmp/webkit.tmp.frkq90.pdf'

Thanks,
hsa

** 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/1023337

Title:
  Not able to open BVR invoice report

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  With the latest trunk I try to print BVR Invoice report,
  Steps to reproduce a problem:
  > Create new DB
  > Install account voucher and l10n_ch module
  > Create customer invoice  with bank account details
  > save record
  > Try to print BVR Invoice report
  > Traceback:

  2012-07-11 09:14:58,076 5932 ERROR ? openerp.service.web_services: Exception: [Errno 2] No such file or directory: '/tmp/webkit.tmp.frkq90.pdf'
  Traceback (most recent call last):
    File "/home/tiny/rdtools/server/trunk/openerp/service/web_services.py", line 726, in go
      (result, format) = obj.create(cr, uid, ids, datas, context)
    File "/home/tiny/rdtools/addons/trunk/report_webkit/webkit_report.py", line 325, in create
      result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
    File "/home/tiny/rdtools/server/trunk/openerp/report/report_sxw.py", line 511, in create_source_pdf
      return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
    File "/home/tiny/rdtools/addons/trunk/l10n_ch/report/report_webkit_html.py", line 313, in create_single_pdf
      pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
    File "/home/tiny/rdtools/addons/trunk/report_webkit/webkit_report.py", line 174, in generate_pdf
      pdf = file(out_filename, 'rb').read()
  IOError: [Errno 2] No such file or directory: '/tmp/webkit.tmp.frkq90.pdf'

  Thanks,
  hsa

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1023337/+subscriptions


Follow ups

References