Error in uninstalling document module

Asked by nima

hello,
i tried to uninstall document_management module and all its dependecies .in middle of the process an error ocurred and it was left unfinished.i tried to do the process again but it gives the error:

Environment Information :
System : Windows-XP-5.1.2600-SP2
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 256, in dispatch
  File "netsvc.pyo", line 76, in __call__
  File "service\web_services.pyo", line 633, in execute
  File "service\web_services.pyo", line 613, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 73, in execute_cr
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_update_module.py", line 50, in _update_module
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\module\module.py", line 334, in update_list
  File "osv\orm.pyo", line 2745, in write
  File "osv\orm.pyo", line 2967, in _store_set_values
  File "osv\fields.pyo", line 661, in get
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\module\module.py", line 145, in _get_views
  File "osv\orm.pyo", line 240, in __getattr__
  File "osv\orm.pyo", line 190, in __getitem__
  File "osv\orm.pyo", line 2229, in read
  File "osv\orm.pyo", line 2376, in _read_flat
  File "osv\fields.pyo", line 661, in get
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\ir\ir_ui_menu.py", line 148, in _get_full_name
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\ir\ir_ui_menu.py", line 158, in _get_one_full_name
TypeError: cannot concatenate 'str' and 'bool' objects

and i cannot access the update modules list because of this error.
document management folder is deleted and its components like 'search a file' is now in the main menu beside dashboard botton!!
how can i manually uninstall a module and solve my problem?
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Bushair
Solved:
Last query:
Last reply:
Revision history for this message
Best Bushair (bushairka) said :
#1

Hi,
This error can be resolved by doing the following changes.

Modify the 158 th line in the file C:\Program Files\OpenERP AllInOne\Server\addons\base\ir\ir_ui_menu.py to

" return parent_path + str(menu.name)".

This will resolve this issue.

Thanks
bushair

Revision history for this message
nima (0.5a) said :
#2

Thanks Bushair, that solved my question.