openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20387
[Bug 1092941] Re: Empty report_file field in report record created by OpenOffice Report Designer
Between the step 4 and 5 you must save your file (in libreoffice). If
you don't do that, the upload to server will failed.
API
** Changed in: openobject-addons
Status: In Progress => Invalid
--
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/1092941
Title:
Empty report_file field in report record created by OpenOffice Report
Designer
Status in OpenERP Addons (modules):
Invalid
Bug description:
Experiencing this bug with:
OpenERP 6.1 Addons at rev 7098
OpenERP 7.0 Addons at rev 8195
OpenERP 7.0 Addons at rev 8040 (Cannot revert passed this because the server won't start)
Ubuntu 12.04
Windows Server 2008 R2
Libre Office with OpenERP Report Designer Plugin
---------------------
Reproduction
---------------------
1) Connect to server - fine
2) Open existing report - fine
3) Copy and paste existing report contents - fine
4) Open new document and use report to open a new report - fine
5) Upload the report to the server - fine
6) Try to use the report on the server and get the following exceptions logged in the server:
---------------------
Exceptions
---------------------
2012-12-21 13:49:37,272 20157 ERROR ? openerp.service.web_services: Exception: u'report.res.users.rndoIjNW'
Traceback (most recent call last):
File "/home/openerp/openerp/6.1/server/openerp/service/web_services.py", line 726, in go
obj = netsvc.LocalService('report.'+object)
File "/home/openerp/openerp/6.1/server/openerp/netsvc.py", line 94, in LocalService
return Service._services[name]
KeyError: u'report.res.users.rndoIjNW'
2012-12-21 13:49:37,538 20157 ERROR ? openerp.netsvc: report.res.users.rndoIjNW
(<type 'exceptions.KeyError'>, KeyError(u'report.res.users.rndoIjNW',), <traceback object at 0x7fba0e268290>)
2012-12-21 13:49:37,539 20157 ERROR ? openerp.addons.web.common.http.HttpRequest.dispatch: An error occurred while handling a json request
Traceback (most recent call last):
File "/home/openerp/openerp/6.1/web/addons/web/common/http.py", line 260, in dispatch
r = method(controller, self, **self.params)
File "/home/openerp/openerp/6.1/web/addons/web/controllers/main.py", line 1834, in index
req.session._db, req.session._uid, req.session._password, report_id)
File "/home/openerp/openerp/6.1/web/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/openerp/openerp/6.1/web/addons/web/common/http.py", line 596, in send
fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found
-------------------------
Other things to note
-------------------------
- The record object in low level objects has no file path
- There is no Action Binding record created for the report
- As far as I can see, no report file on the server is created
-------------------------
Expected behaviour
-------------------------
- A working report
- A report path in the new report record
- An Action Binding object for the report
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1092941/+subscriptions
References