← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791872] Re: [trunk] installing training generates 'ImportError: No module named ir'

 

Hello Phong,

Thanks for the reporting.

It has been fixed in lp:openobject-addons/extra-trunk
5354 amp@xxxxxxxxxxx-20110606054642-706g901ujmlcd06y


Revision num:5354

Thanks again.


** Changed in: openobject-addons
       Status: Confirmed => In Progress

** Changed in: openobject-addons
       Status: In Progress => Fix Released

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

Title:
  [trunk] installing training generates 'ImportError: No module named
  ir'

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  Version information:

  addons/ : odo@xxxxxxxxxxx-20110601103802-swxqe17bts7rqn2k 4764
  addons-community/ : alexis@xxxxxxxxxx-20110524162202-wxsvweyi2u9ys9rr 331
  addons-extra/ : launchpad_translations_on_behalf_of_openerp-commiter-20110601044935-281m9giubd3vcq7a 5349
  openobject-server-trunk/ : vmt@xxxxxxxxxxx-20110601115055-idoid8p0pnkfci38 3443
  server/ : vmt@xxxxxxxxxxx-20110601115055-idoid8p0pnkfci38 3443
  web/ : xmo@xxxxxxxxxxx-20110601064018-nt0gpqipimyq453a 4660

  
  Environment Information : 
  System : Linux-2.6.32-31-generic-x86_64-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.2 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-31-generic
  Operating System Version : #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 6.1-dev
  Last revision No. & ID :1901 nch@xxxxxxxxxxx-20110527114809-u7vir1baae1mlj94
  Traceback (most recent call last):
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/netsvc.py", line 427, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/service/web_services.py", line 579, in dispatch
      res = fn(db, uid, *params)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/pooler.py", line 55, in restart_pool
      bound_registry = _Registries.new(db_name, force_demo, status, update_module, True)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/modules/registry.py", line 86, in new
      openerp.modules.load_modules(db, force_demo, status, update_module)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/modules/loading.py", line 337, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/modules/loading.py", line 166, in load_module_graph
      register_module_classes(package.name)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/modules/module.py", line 334, in register_module_classes
      load_module(m)
    File "/var/local/software/6.1dev-20110601-2340/server/openerp/modules/module.py", line 303, in load_module
      imp.load_module(module_name, *fm)
    File "/var/local/software/6.1dev-trunk/server/openerp/addons/training/__init__.py", line 33, in <module>
      import wizard
    File "/var/local/software/6.1dev-trunk/server/openerp/addons/training/wizard/__init__.py", line 24, in <module>
      import wizard_subscription_line_invoice
    File "/var/local/software/6.1dev-trunk/server/openerp/addons/training/wizard/wizard_subscription_line_invoice.py", line 25, in <module>
      import ir
  ImportError: No module named ir


References