Uninstallation of a module doesn't remove ir_values.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
I have created a few projects and tasks and everything was fine.
But now when I try to open "Project > Project Management > Projects" there is a crash that happens on both web and gtk clients.
OpenERP 6.0dev (brazilian localization). openerp/addons revno 4201.
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-24-generic
Operating System Version : #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : pt_BR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most
recent call last):
File "/opt/openerp/
result = ExportService.
auth, params)
File "/opt/openerp/
dispatch
res = fn(db, uid, *params)
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
fields_view_get
context)
File "/opt/openerp/
base_calendar.py", line 1780, in get
meta, context, res_id_req, without_user, key2_req)
File "/opt/openerp/
221, in get
res = filter(bool, map(lambda x: _result_get(x, keys),
list(result)))
File "/opt/openerp/
221, in <lambda>
res = filter(bool, map(lambda x: _result_get(x, keys),
list(result)))
File "/opt/openerp/
207, in _result_get
datas = self.pool.
File "/opt/openerp/
in read
res = super(ir_
fields=fields, context=context, load=load)
File "/opt/openerp/
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/openerp/
res2 = self._columns[
context=context, values=res)
File "/opt/openerp/
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/opt/openerp/
158, in _views_get_fnc
modes = act.view_
AttributeError: 'bool' object has no attribute 'split'
Changed in openobject-addons: | |
assignee: | nobody → DHS(OpenERP) (dhs-openerp) |
Changed in openobject-addons: | |
status: | Invalid → Confirmed |
summary: |
- [6.0dev] Crash on opening Projects page + Uninstallation of a module doesn't remove ir_values. |
I have added print statements just before the line where the bug is showing up (on ir_actions.py) and got the following:
[2010-10-09 13:36:46, 056][verdesaine ] INFO:web- service: successful login from 'admin' using database 'verdesaine' ======= ======= ======= ======= ======= ======= = record( ir.actions. act_window, 1) ======= ======= ======= ======= ======= ======= = record( ir.actions. act_window, 436) ======= ======= ======= ======= ======= ======= = record( ir.actions. act_window, 443) calendar, graph TYPE: <type 'unicode'> ======= ======= ======= ======= ======= ======= = record( ir.actions. act_window, 569) ======= ======= ======= ======= ======= ======= = 292][verdesaine ] ERROR:web- services: Uncaught exception server/ bin/addons/ base/ir/ ir_actions. py", line 164, in _views_get_fnc mode.split( ',')
=======
act: browse_
act.view_mode: tree,form TYPE: <type 'unicode'>
=======
act: browse_
act.view_mode: tree,form TYPE: <type 'unicode'>
=======
act: browse_
act.view_mode: tree,form,
=======
act: browse_
act.view_mode: False TYPE: <type 'bool'>
=======
[2010-10-09 13:36:51,
Traceback (most recent call last):
[ ... ]
File "/opt/openerp/
modes = act.view_
AttributeError: 'bool' object has no attribute 'split'