I downloaded the latest trunk version of openerp and the aeroo reports 6.1.x RC6. After installing the aeroo_report and aeroo_report_sameple modules I get the following error while trying to print a report:
ERROR:web-services:[02]: Environment Information :
ERROR:web-services:[03]: System : Linux-2.6.32-37-server-x86_64-with-Ubuntu-10.04-lucid
ERROR:web-services:[04]: OS Name : posix
ERROR:web-services:[05]: Distributor ID: Ubuntu
ERROR:web-services:[06]: Description: Ubuntu 10.04.3 LTS
ERROR:web-services:[07]: Release: 10.04
ERROR:web-services:[08]: Codename: lucid
ERROR:web-services:[09]: Operating System Release : 2.6.32-37-server
ERROR:web-services:[10]: Operating System Version : #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011
ERROR:web-services:[11]: Operating System Architecture : 64bit
ERROR:web-services:[12]: Operating System Locale : en_US.UTF8
ERROR:web-services:[13]: Python Version : 2.6.5
ERROR:web-services:[14]: OpenERP-Server Version : 6.1beta
ERROR:web-services:[15]: Exception: 'model'
ERROR:web-services:[16]: Traceback (most recent call last):
ERROR:web-services:[17]: File "/home/openerp/projects/openERP/development/latest/openobject-server/openerp/service/web_services.py", line 725, in go
ERROR:web-services:[18]: (result, format) = obj.create(cr, uid, ids, datas, context)
ERROR:web-services:[19]: File "/home/openerp/bazaar/trunk/extra-addons/report_aeroo/report_aeroo.py", line 679, in create
ERROR:web-services:[20]: return fnct(cr, uid, ids, data, report_xml, context)
ERROR:web-services:[21]: File "/home/openerp/bazaar/trunk/extra-addons/report_aeroo/report_aeroo.py", line 625, in create_source_odt
ERROR:web-services:[22]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
ERROR:web-services:[23]: File "/home/openerp/bazaar/trunk/extra-addons/report_aeroo/report_aeroo.py", line 472, in create_single_pdf
ERROR:web-services:[24]: return self.create_aeroo_report(cr, uid, ids, data, report_xml, context=context, output=output)
ERROR:web-services:[25]: File "/home/openerp/bazaar/trunk/extra-addons/report_aeroo/report_aeroo.py", line 406, in create_aeroo_report
ERROR:web-services:[26]: model_id = pool.get('ir.model').search(cr, uid, [('model','=',data['model'])])[0]
ERROR:web-services:[27]: KeyError: 'model'
INFO:werkzeug:127.0.0.1 - - [02/Jan/2012 08:45:32] "POST /web/report HTTP/1.1" 500 -
ERROR:werkzeug:Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/home/openerp/projects/openERP/development/latest/openobject-server/openerp/wsgi.py", line 398, in application
result = handler(environ, start_response)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 434, in __call__
return self.dispatch(environ, start_response)
File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 470, in dispatch
response.set_cookie(self.session_cookie, session.sid)
File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 325, in session_context
yield request.session
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 461, in dispatch
result = handler( request, self.config)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 299, in http_handler
return HttpRequest(request, config).dispatch(controller, f)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/http.py", line 254, in dispatch
r = method(controller, self, **self.params)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/controllers/main.py", line 1565, in index
req.session._db, req.session._uid, req.session._password, report_id)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/openerp/projects/openERP/development/latest/openerp-web/addons/web/common/openerplib/main.py", line 261, in send
fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found
I don't get this error when I print the report from the "test report" button in the Customization->Aeroo Reports->Reports
page.
Hi,
I downloaded the latest trunk version of openerp and the aeroo reports 6.1.x RC6. After installing the aeroo_report and aeroo_report_ sameple modules I get the following error while trying to print a report:
ERROR:web- services: [02]: Environment Information : services: [03]: System : Linux-2. 6.32-37- server- x86_64- with-Ubuntu- 10.04-lucid services: [04]: OS Name : posix services: [05]: Distributor ID: Ubuntu services: [06]: Description: Ubuntu 10.04.3 LTS services: [07]: Release: 10.04 services: [08]: Codename: lucid services: [09]: Operating System Release : 2.6.32-37-server services: [10]: Operating System Version : #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 services: [11]: Operating System Architecture : 64bit services: [12]: Operating System Locale : en_US.UTF8 services: [13]: Python Version : 2.6.5 services: [14]: OpenERP-Server Version : 6.1beta services: [15]: Exception: 'model' services: [16]: Traceback (most recent call last): services: [17]: File "/home/ openerp/ projects/ openERP/ development/ latest/ openobject- server/ openerp/ service/ web_services. py", line 725, in go services: [18]: (result, format) = obj.create(cr, uid, ids, datas, context) services: [19]: File "/home/ openerp/ bazaar/ trunk/extra- addons/ report_ aeroo/report_ aeroo.py" , line 679, in create services: [20]: return fnct(cr, uid, ids, data, report_xml, context) services: [21]: File "/home/ openerp/ bazaar/ trunk/extra- addons/ report_ aeroo/report_ aeroo.py" , line 625, in create_source_odt services: [22]: return self.create_ single_ pdf(cr, uid, ids, data, report_xml, context) services: [23]: File "/home/ openerp/ bazaar/ trunk/extra- addons/ report_ aeroo/report_ aeroo.py" , line 472, in create_single_pdf services: [24]: return self.create_ aeroo_report( cr, uid, ids, data, report_xml, context=context, output=output) services: [25]: File "/home/ openerp/ bazaar/ trunk/extra- addons/ report_ aeroo/report_ aeroo.py" , line 406, in create_aeroo_report services: [26]: model_id = pool.get( 'ir.model' ).search( cr, uid, [('model' ,'=',data[ 'model' ])])[0] services: [27]: KeyError: 'model' 127.0.0. 1 - - [02/Jan/2012 08:45:32] "POST /web/report HTTP/1.1" 500 - Error on request: lib/python2. 6/dist- packages/ Werkzeug- 0.8.1-py2. 6.egg/werkzeug/ serving. py", line 159, in run_wsgi lib/python2. 6/dist- packages/ Werkzeug- 0.8.1-py2. 6.egg/werkzeug/ serving. py", line 146, in execute _iter = app(environ, start_response) openerp/ projects/ openERP/ development/ latest/ openobject- server/ openerp/ wsgi.py" , line 398, in application openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 434, in __call__ environ, start_response) lib/python2. 6/dist- packages/ Werkzeug- 0.8.1-py2. 6.egg/werkzeug/ wsgi.py" , line 411, in __call__ openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 470, in dispatch set_cookie( self.session_ cookie, session.sid) python2. 6/contextlib. py", line 34, in __exit__ gen.throw( type, value, traceback) openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 325, in session_context openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 461, in dispatch openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 299, in http_handler request, config) .dispatch( controller, f) openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ http.py" , line 254, in dispatch openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/controllers /main.py" , line 1565, in index session. _db, req.session._uid, req.session. _password, report_id) openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ openerplib/ main.py" , line 306, in proxy send(self. service_ name, method, *args) openerp/ projects/ openERP/ development/ latest/ openerp- web/addons/ web/common/ openerplib/ main.py" , line 261, in send Fault(' warning -- ' + e.name + '\n\n' + e.value, '')
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
ERROR:web-
INFO:werkzeug:
ERROR:werkzeug:
Traceback (most recent call last):
File "/usr/local/
execute(app)
File "/usr/local/
application
File "/home/
result = handler(environ, start_response)
File "/home/
return self.dispatch(
File "/usr/local/
return self.app(environ, start_response)
File "/home/
response.
File "/usr/lib/
self.
File "/home/
yield request.session
File "/home/
result = handler( request, self.config)
File "/home/
return HttpRequest(
File "/home/
r = method(controller, self, **self.params)
File "/home/
req.
File "/home/
result = self.connector.
File "/home/
fault = xmlrpclib.
TypeError: coercing to Unicode: need string or buffer, tuple found
I don't get this error when I print the report from the "test report" button in the Customization- >Aeroo Reports->Reports
page.
Thanks