← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 668304] Re: account_coda unable to install (and with it l10n_be )

 

Hi,

I downloaded new revisions 3862 for OpenObject addons and 5054 for Extra
Addons, without updating server

But then I received a new error:


Environment Information : 
System : Linux-2.6.32-25-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-25-generic
Operating System Version : #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : nl_BE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :277 omar@peladillo-20101025081608-nypxdypsb89l5lzp
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 181, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account/installer.py", line 548, in execute
    super(account_installer, self).execute(cr, uid, ids, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 419, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 618, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 935, in convert_csv_import
    pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 961, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 786, in process_liness
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 799, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 402, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account_coda.model_account_coda_import


However after updating server and addons again the problem is solved.

I guess just bad luck with incompatible server and addons revision.

Thx anyway

-- 
account_coda unable to install (and with it l10n_be )
https://bugs.launchpad.net/bugs/668304
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
Hi,

When trying to install account_coda i recieve following error

"ValidateError

Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition."

This is on ubuntu 10.04 with openerp 6.0 RC1 

Addon account_code downloaded on 27/10 ( sorry I do not know how I can see what revesion number it is, I took the lazy approach and use the all-in-one installer)

I received the error when trying to use the wizard and installing Belgium minimum chart.
So I tried to install the module l10n_be seperatly but gave the same error, so I traced it down to the acount_coda modules.
All the rest of the dependencies of l10n_be install without errors.

Greetings,
Sam





References