← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 773488] Re: webkit_report - modul must not be zip

 

unfortunatley it is not working

mako files are not found if the module is installed as zip file

works after unzipping (and removing the zip file)

addons r 4586


        [2011-05-16 20:47:38,738][chricar6] WARNING:init:module chricar_account_period_sum/report/report_account_account_tree_sum.mako: module not found
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[01]: Exception: coercing to Unicode: need string or buffer, bool found
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[03]:   File "/home/terp/OpenERP/trunk/openobject-server/6.0/bin/service/web_services.py", line 724, in go
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[05]:   File "/home/terp/OpenERP/trunk/openobject-addons/6.0/report_webkit/webkit_report.py", line 389, in create
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[06]:     result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[07]:   File "/home/terp/OpenERP/trunk/openobject-server/6.0/bin/report/report_sxw.py", line 491, in create_source_pdf
[2011-05-16 20:47:38,739][chricar6] ERROR:web-services:[08]:     return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2011-05-16 20:47:38,740][chricar6] ERROR:web-services:[09]:   File "/home/terp/OpenERP/trunk/openobject-addons/6.0/report_webkit/webkit_report.py", line 254, in create_single_pdf
[2011-05-16 20:47:38,740][chricar6] ERROR:web-services:[10]:     if os.path.exists(path) :
[2011-05-16 20:47:38,740][chricar6] ERROR:web-services:[11]:   File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
[2011-05-16 20:47:38,740][chricar6] ERROR:web-services:[12]:     st = os.stat(path)
[2011-05-16 20:47:38,740][chricar6] ERROR:web-services:[13]: TypeError: coercing to Unicode: need string or buffer, bool found
[2011-05-16 20:47:39,549][chricar6] DEBUG:netsvc.agent:Run ir.cron._poolJobs(*('chricar6',), **{})
[2011-05-16 20:47:39,719][chricar6] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
  File "/home/terp/OpenERP/trunk/openobject-server/6.0/bin/service/netrpc_server.py", line 70, in run
    result = self.dispatch(msg[0], msg[1], msg[2:])
  File "/home/terp/OpenERP/trunk/openobject-server/6.0/bin/netsvc.py", line 499, in dispatch
    raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException


** Changed in: openobject-addons
       Status: Invalid => New

-- 
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/773488

Title:
  webkit_report - modul must not be zip

Status in OpenERP Modules (addons):
  New

Bug description:
  currently the webkit runs  only after unzipping

  coercing to Unicode: need string or buffer, bool found

  (<type 'exceptions.TypeError'>, TypeError('coercing to Unicode: need
  string or buffer, bool found',), <traceback object at 0x4ee4dd0>)


References