Error when Update Module List
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Management System |
Fix Released
|
Undecided
|
Virgil Dupras |
Bug Description
Hello,
v7.0
browser - Chromium
Steps:
1. Make new database with demo data without mgmtsystem modules (in addons directory).
2. Make Log Out.
3. Copy mgmtsystem modules into addons directory.
4. Log In.
5. Update modules list Settings / Modules / Update Modules List / click Update - error:
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/openerp/
response[
File "/opt/openerp/
action = self._call_kw(req, model, method, args, {})
File "/opt/openerp/
return getattr(
File "/opt/openerp/
result = self.proxy.
File "/opt/openerp/
result = self.session.
File "/opt/openerp/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/openerp/
return openerp.
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return fct_src(cr, uid, model, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
update, add = module_
File "/opt/openerp/
handler.
File "/opt/openerp/
m = __import_
File "/opt/openerp/
mod = imp.load_
File "/opt/openerp/
import wizard
ImportError: No module named wizard
Related branches
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve
-
Diff: 9 lines (+0/-1)1 file modifiedmgmtsystem_review/__init__.py (+0/-1)
description: | updated |
summary: |
- Bug when Update Module List + Error when Update Module List |
Changed in openerp-mgmtsystem: | |
assignee: | nobody → Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) |
Changed in openerp-mgmtsystem: | |
status: | New → Fix Released |
assignee: | Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) → Virgil Dupras (hsoft) |
It looks like it was a copy/paste error. The wizard submodule doesn't exist in mgmsystem_review. In 6.1, it didn't cause problems because "import wizard" must have imported an openerp built-in module, but it looks like they've cleaned up their namespace for 7.0, thus triggering this bug. Fixed in the related branch ~savoirfairelin ux-openerp/ openerp- mgmtsystem/ 7.0