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 protected] 4077
addons-community/ : f...@fran-pc-20101213182241-2fogs8yh5u4ma31q 292
addons-extra/ : [email protected] 5126
client/ : [email protected] 1738
server/ : [email protected] 3163
web/ : [email protected] 4195

Error on the client:

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 protected]
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

-- 
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/599559

Title:
  trunk account - module can't be loaded

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  trunk addons rev 3411

   process_liness(self, datas, [], current_module, self._name, fields_def)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 795, 
in process_liness
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.group_account_user

removing security/ir.model.access.csv does not work either



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to