← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681575] [NEW] can't uninstall hr_payroll

 

Public bug reported:

Hi:

When I try to uninstall hr_payroll module the system says:

Environment Information :
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:        10.04
Codename:       lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #47-Ubuntu SMP Wed Nov 17 15:58:05 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : es_DO.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
 File "/home/diego/openerp-server-5.0.15/bin/netsvc.py", line 299, in dispatch
   result = LocalService(service_name)(method, *params)
 File "/home/diego/openerp-server-5.0.15/bin/netsvc.py", line 77, in __call__
   return getattr(self, method)(*params)
 File "/home/diego/openerp-server-5.0.15/bin/service/web_services.py", line 633, in execute
   return self._execute(db, uid, wiz_id, datas, action, context)
 File "/home/diego/openerp-server-5.0.15/bin/service/web_services.py", line 613, in _execute
   return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
 File "/home/diego/openerp-server-5.0.15/bin/wizard/__init__.py", line 178, in execute
   res = self.execute_cr(cr, uid, data, state, context)
 File "/home/diego/openerp-server-5.0.15/bin/wizard/__init__.py", line 73, in execute_cr
   action_res = action(self, cr, uid, data, context)
 File "/home/diego/openerp-server-5.0.15/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
   db, pool = pooler.restart_pool(cr.dbname, update_module=True)
 File "/home/diego/openerp-server-5.0.15/bin/pooler.py", line 61, in restart_pool
   return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
 File "/home/diego/openerp-server-5.0.15/bin/pooler.py", line 40, in get_db_and_pool
   addons.load_modules(db, force_demo, status, update_module)
 File "/home/diego/openerp-server-5.0.15/bin/addons/__init__.py", line 763, in load_modules
   pool.get(rmod).unlink(cr, uid, [rid])
AttributeError: 'NoneType' object has no attribute 'unlink'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
can't uninstall hr_payroll
https://bugs.launchpad.net/bugs/681575
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
Hi:

When I try to uninstall hr_payroll module the system says: 

Environment Information :
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:        10.04
Codename:       lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #47-Ubuntu SMP Wed Nov 17 15:58:05 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : es_DO.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
 File "/home/diego/openerp-server-5.0.15/bin/netsvc.py", line 299, in dispatch
   result = LocalService(service_name)(method, *params)
 File "/home/diego/openerp-server-5.0.15/bin/netsvc.py", line 77, in __call__
   return getattr(self, method)(*params)
 File "/home/diego/openerp-server-5.0.15/bin/service/web_services.py", line 633, in execute
   return self._execute(db, uid, wiz_id, datas, action, context)
 File "/home/diego/openerp-server-5.0.15/bin/service/web_services.py", line 613, in _execute
   return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
 File "/home/diego/openerp-server-5.0.15/bin/wizard/__init__.py", line 178, in execute
   res = self.execute_cr(cr, uid, data, state, context)
 File "/home/diego/openerp-server-5.0.15/bin/wizard/__init__.py", line 73, in execute_cr
   action_res = action(self, cr, uid, data, context)
 File "/home/diego/openerp-server-5.0.15/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
   db, pool = pooler.restart_pool(cr.dbname, update_module=True)
 File "/home/diego/openerp-server-5.0.15/bin/pooler.py", line 61, in restart_pool
   return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
 File "/home/diego/openerp-server-5.0.15/bin/pooler.py", line 40, in get_db_and_pool
   addons.load_modules(db, force_demo, status, update_module)
 File "/home/diego/openerp-server-5.0.15/bin/addons/__init__.py", line 763, in load_modules
   pool.get(rmod).unlink(cr, uid, [rid])
AttributeError: 'NoneType' object has no attribute 'unlink'





Follow ups

References