** Changed in: aeroo
Status: Confirmed => Invalid
--
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/746478
Title:
Problem when executing "Resynchronise Terms" wizard on v5
Status in Aeroo Reports for Open ERP:
Invalid
Status in OpenERP Server:
New
Bug description:
The below exception fires:
* when executing wizard "Administration/Translations/Application
Terms/Resynchronise Terms" and
* when there are some other than RML report in the system, for example Aeroo,
but most likely no limited only to Aeroo - this would happen with Webkit and
Jasper as well;
This exeption has problem only with v5 branch, and has been fixed for OpenERP
v6.
Solution - this wizard should parse only the reports it is able to parse,
taking guess by type, just like it has been done with v6.
For reference:
http://bazaar.launchpad.net/~openerp/openobject-server/6.0/view/head:/bin/tools/translate.py#L678
http://bazaar.launchpad.net/~openerp/openobject-server/5.0/view/head:/bin/tools/translate.py#L550
===================================
Environment Information :
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : nl_BE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call
last):
File "/home/hazal/openerp-server-5.0.15/bin/netsvc.py", line 299, in
dispatch
result = LocalService(service_name)(method, *params)
File "/home/hazal/openerp-server-5.0.15/bin/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/home/hazal/openerp-server-5.0.15/bin/service/web_services.py", line
577, in execute
res = service.execute(db, uid, object, method, *args)
File "/home/hazal/openerp-server-5.0.15/bin/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/hazal/openerp-server-5.0.15/bin/osv/osv.py", line 119, in
execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/hazal/openerp-server-5.0.15/bin/osv/osv.py", line 111, in
execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/home/hazal/openerp-server-5.0.15/bin/addons/base/module/wizard/wizard_update_translations.py",
line 9, in act_update
tools.trans_export(this.lang, ['all'], buf, 'csv', dbname=cr.dbname)
File "/home/hazal/openerp-server-5.0.15/bin/tools/translate.py", line 351,
in trans_export
trans = trans_generate(lang, modules, dbname)
File "/home/hazal/openerp-server-5.0.15/bin/tools/translate.py", line 546,
in trans_generate
d = etree.XML(xmlstr)
File "lxml.etree.pyx", line 2512, in lxml.etree.XML
(src/lxml/lxml.etree.c:48057)
File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument
(src/lxml/lxml.etree.c:71812)
File "parser.pxi", line 1424, in lxml.etree._parseDoc
(src/lxml/lxml.etree.c:70673)
File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc
(src/lxml/lxml.etree.c:67442)
File "parser.pxi", line 539, in
lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
File "parser.pxi", line 625, in lxml.etree._handleParseResult
(src/lxml/lxml.etree.c:64745)
File "parser.pxi", line 565, in lxml.etree._raiseParseError
(src/lxml/lxml.etree.c:64083)
File "xmlerror.pxi", line 173, in
lxml.etree._BaseErrorLog._buildParseException (src/lxml/lxml.etree.c:23981)
TypeError: 'exceptions.IOError' object is not callable
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp