Environment Information :
System : Linux-2.6.32-27-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-27-generic
Operating System Version : #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1738 <email address hidden>
Traceback (most recent call last):
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
_, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 869, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 742, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 633, in load_init_update_xml
tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/tools/convert.py", line 945, in convert_csv_import
result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 859, in import_data
process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 809, in process_liness
res = _get_id(relation, line[i], current_module, mode)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 726, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.group_account_user
Error in the server log:
[2010-12-29 00:53:30,942][test] INFO:init:module account: loading security/account_security.xml
[2010-12-29 00:53:31,063][test] INFO:init:module account: loading security/ir.model.access.csv
[2010-12-29 00:53:31,076][test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
_, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 869, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 742, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 633, in load_init_update_xml
tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/tools/convert.py", line 945, in convert_csv_import
result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 859, in import_data
process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 809, in process_liness
res = _get_id(relation, line[i], current_module, mode)
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 726, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.group_account_user
[2010-12-29 00:53:31,092][test] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/netrpc_server.py", line 70, in run
result = self.dispatch(msg[0], msg[1], msg[2:])
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/netsvc.py", line 499, in dispatch
raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException
Somehow this happens again with the latest code when I install my modules that depends on account module. This never happens couple of days ago.
addons/ : <email address hidden> 4077 pc-201012131822 41-2fogs8yh5u4m a31q 292
addons-community/ : fran@fran-
addons-extra/ : <email address hidden> 5126
client/ : <email address hidden> 1738
server/ : <email address hidden> 3163
web/ : <email address hidden> 4195
Error on the client:
Environment Information : 6.32-27- generic- x86_64- with-Ubuntu- 10.04-lucid phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/netsvc. py", line 489, in dispatch getService( service_ name).dispatch( method, auth, params) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/service/ web_services. py", line 598, in dispatch phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 122, in wrapper phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 176, in execute phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 167, in execute_cr phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ base/module/ wizard/ base_module_ upgrade. py", line 100, in upgrade_module restart_ pool(cr. dbname, update_module=True) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/pooler. py", line 60, in restart_pool and_pool( db_name, force_demo, status, update_ module= update_ module) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/pooler. py", line 39, in get_db_and_pool load_modules( db, force_demo, status, update_module) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 869, in load_modules graph(cr, graph, status, report=report) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 742, in load_module_graph init_update_ xml(cr, m, idref, mode, kind) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 633, in load_init_ update_ xml convert_ csv_import( cr, m, os.path. basename( filename) , fp.read(), idref, mode=mode, noupdate=noupdate) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/tools/ convert. py", line 945, in convert_csv_import model). import_ data(cr, uid, fields, datas,mode, module, noupdate, filename= fname_partial) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 859, in import_data liness( self, datas, [], current_module, self._name, fields_def, position=position) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 809, in process_liness phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 726, in _get_id group_account_ user
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-27-generic
Operating System Version : #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1738 <email address hidden>
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
_, pool = pooler.
File "/home/
return get_db_
File "/home/
addons.
File "/home/
r = load_module_
File "/home/
load_
File "/home/
tools.
File "/home/
result, rows, warning_msg, dummy = pool.get(
File "/home/
process_
File "/home/
res = _get_id(relation, line[i], current_module, mode)
File "/home/
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.
Error in the server log:
[2010-12-29 00:53:30,942][test] INFO:init:module account: loading security/ account_ security. xml ir.model. access. csv services: Uncaught exception phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 122, in wrapper phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 176, in execute phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ osv.py" , line 167, in execute_cr phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ base/module/ wizard/ base_module_ upgrade. py", line 100, in upgrade_module restart_ pool(cr. dbname, update_module=True) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/pooler. py", line 60, in restart_pool and_pool( db_name, force_demo, status, update_ module= update_ module) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/pooler. py", line 39, in get_db_and_pool load_modules( db, force_demo, status, update_module) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 869, in load_modules graph(cr, graph, status, report=report) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 742, in load_module_graph init_update_ xml(cr, m, idref, mode, kind) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/addons/ __init_ _.py", line 633, in load_init_ update_ xml convert_ csv_import( cr, m, os.path. basename( filename) , fp.read(), idref, mode=mode, noupdate=noupdate) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/tools/ convert. py", line 945, in convert_csv_import model). import_ data(cr, uid, fields, datas,mode, module, noupdate, filename= fname_partial) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 859, in import_data liness( self, datas, [], current_module, self._name, fields_def, position=position) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 809, in process_liness phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/osv/ orm.py" , line 726, in _get_id group_account_ user services: netrpc: rpc-dispatching exception phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/service/ netrpc_ server. py", line 70, in run msg[0], msg[1], msg[2:]) phongnt/ Documents/ Projects/ openerp- trunk/server/ bin/netsvc. py", line 499, in dispatch erException( e, tb_s) erException
[2010-12-29 00:53:31,063][test] INFO:init:module account: loading security/
[2010-12-29 00:53:31,076][test] ERROR:web-
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
_, pool = pooler.
File "/home/
return get_db_
File "/home/
addons.
File "/home/
r = load_module_
File "/home/
load_
File "/home/
tools.
File "/home/
result, rows, warning_msg, dummy = pool.get(
File "/home/
process_
File "/home/
res = _get_id(relation, line[i], current_module, mode)
File "/home/
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.
[2010-12-29 00:53:31,092][test] DEBUG:web-
Traceback (most recent call last):
File "/home/
result = self.dispatch(
File "/home/
raise OpenERPDispatch
OpenERPDispatch