← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682368] Re: error installing training if I choose to add demo data

 

Hello,

Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.

Thanks.

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
error installing training if I choose to add demo data
https://bugs.launchpad.net/bugs/682368
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: Won't Fix

Bug description:
Hi, I downloaded yesterday all 6.0 version and obviously training modules in addons-extra. If I try an installation without demo data: it works, but If I choose to add them during a new installation (I install both times a naked DB and I add traing module at first log in), this is the error:

Traceback (most recent call last):
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/administrator/Launchpad/6.0/openerp/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/administrator/Launchpad/6.0/openerp/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/administrator/Launchpad/6.0/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/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 "/home/administrator/Launchpad/6.0/openerp/server/bin/tools/convert.py", line 943, in convert_csv_import
    pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/osv/orm.py", line 964, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def)
  File "/home/administrator/Launchpad/6.0/openerp/server/bin/osv/orm.py", line 794, in process_liness
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to training.group_training

Thanks
Bye Nicola







References