Comment 0 for bug 297092

Revision history for this message
Sanjay (skpatel20) wrote :

While importing a module generated by dia, I face the problem as below. However, I am able to manually put it in the addons folder, and it works fine.

ERROR:common.message:MSG No module named school: Traceback (most recent call last):
  File "/home/sanjay/OpenERP/server/bin/netsvc.py", line 386, in run
    r = m(*msg[2:])
  File "/home/sanjay/OpenERP/server/bin/service/web_services.py", line 431, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/sanjay/OpenERP/server/bin/service/web_services.py", line 411, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/sanjay/OpenERP/server/bin/wizard/__init__.py", line 165, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/sanjay/OpenERP/server/bin/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/sanjay/OpenERP/server/bin/addons/base/module/wizard/wizard_module_import.py", line 73, in importzip
    pooler.get_pool(cr.dbname).get('ir.module.module').update_list(cr, uid)
  File "/home/sanjay/OpenERP/server/bin/addons/base/module/module.py", line 434, in update_list
    imp.load_module(name, *imp.find_module(mod_name))
ImportError: No module named school