Ir al contenido
Menú
Se marcó esta pregunta
4789 Vistas

I'm getting various errors related to google_drive, so I've attempted to uninstall any/all Google-related modules. They were never configured. I clicked the uninstall buttons for modules google_base_account and google_drive. When I select Settings -> Modules -> Apply Scheduled Upgrades I receive confirmation that the modules will be removed. However, when I click the Update button, this is what I get:

OpenERP Server Error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/http.py", line 321, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/usr/lib/pymodules/python2.7/openerp/http.py", line 194, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/service/model.py", line 112, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/http.py", line 189, in checked_call
    return self.func(*a, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1113, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1101, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module
    openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 402, in load_modules
    registry['ir.module.module'].module_uninstall(cr, SUPERUSER_ID, mod_ids_to_remove)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 440, in module_uninstall
    ir_model_constraint._module_data_uninstall(cr, uid, constraint_ids, context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 519, in _module_data_uninstall
    model_obj = self.pool[model]
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 103, in __getitem__
    return self.models[model_name]
KeyError: u'google.drive.config'

And the modules are never uninstalled. Note that this is in v8... :)

--Kevin

Avatar
Descartar
Autor

When I attempt to go to Settings -> Configuration -> General Settings I get the following error:

View error

Can't find field 'google_drive_authorization_code' in the following view parts composing the view of object model 'base.config.settings': * General Settings

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model

Autor

Is there a supported server-side way to remove modules?

Publicaciones relacionadas Respuestas Vistas Actividad
2
nov 16
5215
4
abr 15
7337
3
jul 25
8642
1
may 25
934
0
ene 24
1672