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
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): sanjay/ OpenERP/ server/ bin/netsvc. py", line 386, in run sanjay/ OpenERP/ server/ bin/service/ web_services. py", line 431, in execute sanjay/ OpenERP/ server/ bin/service/ web_services. py", line 411, in _execute datas[wiz_ id], action, context) sanjay/ OpenERP/ server/ bin/wizard/ __init_ _.py", line 165, in execute sanjay/ OpenERP/ server/ bin/wizard/ __init_ _.py", line 73, in execute_cr sanjay/ OpenERP/ server/ bin/addons/ base/module/ wizard/ wizard_ module_ import. py", line 73, in importzip get_pool( cr.dbname) .get('ir. module. module' ).update_ list(cr, uid) sanjay/ OpenERP/ server/ bin/addons/ base/module/ module. py", line 434, in update_list load_module( name, *imp.find_ module( mod_name) )
File "/home/
r = m(*msg[2:])
File "/home/
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/
return wiz.execute(db, uid, self.wiz_
File "/home/
res = self.execute_cr(cr, uid, data, state, context)
File "/home/
action_res = action(self, cr, uid, data, context)
File "/home/
pooler.
File "/home/
imp.
ImportError: No module named school