c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08928
[Bug 692845] Re: TypeError: warn() takes exactly 2 arguments (4 given)
Hello Phong,
I have tested your scenario at my end with latest code. But i am not
able to reproduce it please provide me more information or give proper
steps to reproduce it.
Thanks
** Changed in: openobject-addons
Status: New => Incomplete
--
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/692845
Title:
TypeError: warn() takes exactly 2 arguments (4 given)
Status in OpenObject Addons Modules:
Incomplete
Bug description:
When creating a new DB, and configure CRM module, I experience the following error
[2010-12-21 09:44:01,609][os4biz] TEST:tests.crm:I click on "Schedule" button of this wizard.
[2010-12-21 09:44:01,615][os4biz] DEBUG:translate:no translation language detected, skipping translation for "'Phone Call'"
[2010-12-21 09:44:01,770][os4biz] INFO:i18n:module crm: loading translation file for language vi
[2010-12-21 09:44:01,770][os4biz] INFO:i18n:loading /var/local/software/openerp-v6.0dev/server/bin/addons/crm/i18n/vi.po
[2010-12-21 09:44:12,998][os4biz] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/res/res_config.py", line 166, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/res/res_config.py", line 397, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 865, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 762, in load_module_graph
modobj.update_translations(cr, 1, [mid], None)
File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/module/module.py", line 506, in update_translations
tools.trans_load(cr.dbname, f, lang, verbose=False, context=context)
File "/var/local/software/openerp-v6.0dev/server/bin/tools/translate.py", line 817, in trans_load
r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose, context=context)
File "/var/local/software/openerp-v6.0dev/server/bin/tools/translate.py", line 898, in trans_load_data
for row in reader:
File "/var/local/software/openerp-v6.0dev/server/bin/tools/translate.py", line 351, in next
self.cur_line(), source[:30])
TypeError: warn() takes exactly 2 arguments (4 given)
[2010-12-21 09:44:13,032][os4biz] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
File "/var/local/software/openerp-v6.0dev/server/bin/service/netrpc_server.py", line 70, in run
result = self.dispatch(msg[0], msg[1], msg[2:])
File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 499, in dispatch
raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException
addons/ : 4017 chs@xxxxxxxxxxx-20101216112752-9xg4i9ompw1bi81v
addons-community/ : 292 fran@fran-pc-20101213182241-2fogs8yh5u4ma31q
addons-extra/ : 5098 sebastien.beau@xxxxxxxxxxxxxxx-20101216111109-sts0gvimew1ro8xl
server/ : 3120 odo@xxxxxxxxxxx-20101216100749-z06fv08n4u5rhwl0
References