Error message when using OpenERP-Jasper integration on our server with XML data source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openobject-jasper-reports |
New
|
Undecided
|
Unassigned |
Bug Description
I made a Jasperreports document, using an XML data source. It works fine on my pc, but when I install it on the server (Ubuntu), it doesn't work. When I look into the OpenERP log, I see the following messages appear:
2012-06-16 07:21:33,967 26535 INFO ? openerp.
2012-06-16 07:21:33,970 26535 INFO ? openerp.
2012-06-16 07:21:33,991 26535 ERROR ? openerp.
Traceback (most recent call last):
File "/home/
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/home/
return r.execute()
File "/home/
pages = self.executeReport( dataFile, outputFile, subreportDataFiles )
File "/home/
return server.execute( connectionParam
File "/home/
return self.proxy.
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
return self.single_
File "/usr/lib/
return self.parse_
File "/usr/lib/
p.feed(data)
File "/usr/lib/
self.
ExpatError: not well-formed (invalid token): line 1, column 9
2012-06-16 07:21:34,215 26535 ERROR ? openerp.netsvc: not well-formed (invalid token): line 1, column 9
(<class 'xml.parsers.
2012-06-16 07:21:34,216 26535 ERROR ? openerp.
Traceback (most recent call last):
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
The error message talks about not well-formed (invalid token) on line 1, column 9. I have been looking into the temporary data file, and I have the following information on line 1 (line with field names), and line 2 (first data line - I only changed the name of the prospect):
Expected_
2012-06-20 00:00:00,2012-05-25 09:03:25,
I hope that you can help me how to resolve my problem. Thanks.
Wim