Bugs in OE8, can not install

Bug #1306842 reported by maplewang on 2014-04-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-china
Undecided
Unassigned

Bug Description

use http://sourceforge.net/projects/greenopenerp/files/ on Ubunbu 12.04 64bit server
WMS version.
errors:
Traceback (most recent call last):
  File "/opt/OpenERP-wms/openerp/http.py", line 470, in dispatch
    result = self._call_function(**self.params)
  File "/opt/OpenERP-wms/openerp/http.py", line 294, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/OpenERP-wms/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/OpenERP-wms/openerp/http.py", line 291, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/OpenERP-wms/openerp/http.py", line 638, in __call__
    return self.method(*args, **kw)
  File "/opt/OpenERP-wms/openerp/http.py", line 337, in response_wrap
    response = f(*args, **kw)
  File "/opt/OpenERP-wms/openerp/addons/web/controllers/main.py", line 1246, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/OpenERP-wms/openerp/addons/web/controllers/main.py", line 1234, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/OpenERP-wms/openerp/addons/base/module/module.py", line 428, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/opt/OpenERP-wms/openerp/addons/base/module/module.py", line 479, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/opt/OpenERP-wms/openerp/modules/registry.py", line 298, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/OpenERP-wms/openerp/modules/loading.py", line 339, in load_modules
    loaded_modules, update_module)
  File "/opt/OpenERP-wms/openerp/modules/loading.py", line 243, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/OpenERP-wms/openerp/modules/loading.py", line 155, in load_module_graph
    init_module_models(cr, package.name, models)
  File "/opt/OpenERP-wms/openerp/modules/module.py", line 237, in init_module_models
    result = obj._auto_init(cr, {'module': module_name})
  File "/opt/OpenERP-wms/openerp/osv/orm.py", line 2899, in _auto_init
    cr.execute('ALTER TABLE "%s" ADD COLUMN "%s" %s' % (self._table, k, get_pg_type(f)[1]))
TypeError: 'NoneType' object has no attribute '__getitem__'

Luis Miguel Varon (mi8temas) wrote :

Hello

Im getting the same error trying to install a module that adds a column to the database table Products.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers