c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15483
[Bug 712367] Re: exporting translation wrom database with no demodata
Hello,
I have checked this with latest updated code and did not face any error.
Would you please check this again.
So For now I am closing this issue you can reopen this If you will face similar problem again.
Thanks.
** Changed in: openobject-server
Status: Incomplete => 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/712367
Title:
exporting translation wrom database with no demodata
Status in OpenERP Server:
Invalid
Bug description:
Hello. I tried to export translation of my module to the .po file.
Database was created with no loading demodata.
I've got the following traceback:
File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/base/module/wizard/base_export_language.py", line 50, in act_getfile
tools.trans_export(this.lang, mods, buf, this.format, cr)
File "/usr/lib/python2.6/site-packages/openerp-server/tools/translate.py", line 464, in trans_export
trans = trans_generate(lang, modules, cr)
File "/usr/lib/python2.6/site-packages/openerp-server/tools/translate.py", line 760, in trans_generate
logger.debug("Scanning modules at paths: ", path_list)
File "/usr/lib64/python2.6/logging/__init__.py", line 1036, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
self.handle(record)
File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
self.callHandlers(record)
File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
hdlr.handle(record)
File "/usr/lib64/python2.6/logging/__init__.py", line 673, in handle
self.emit(record)
File "/usr/lib64/python2.6/logging/handlers.py", line 771, in emit
msg = self.format(record)
File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format
return fmt.format(record)
File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 176, in format
return logging.Formatter.format(self, record)
File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format
record.message = record.getMessage()
File "/usr/lib64/python2.6/logging/__init__.py", line 306, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
References