← Back to team overview

credativ team mailing list archive

[Bug 904628] [NEW] error installing app account_accountant in new db

 

Public bug reported:

System : Linux-2.6.37.6-0.9-desktop-x86_64-with-SuSE-11.4-x86_64
OS Name : posix
LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description:    openSUSE 11.4 (x86_64)
Release:        11.4
Codename:       Celadon
Operating System Release : 2.6.37.6-0.9-desktop
Operating System Version : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.7.0
OpenERP-Client Version : 6.1beta
Last revision No. & ID :2020 openerp@xxxxxxxxxxxxxxxxxxxxx-20111215085254-kul4zgnwpt1wnc0i
Traceback (most recent call last):
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
    result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
    return fct_src(cr, uid, model, method, *args)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 339, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 254, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 193, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 92, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 140, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 999, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 889, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 856, in _tag_record
    id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/ir/ir_model.py", line 724, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 706, in create
    self.update_user_groups_view(cr, uid, context)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 733, in update_user_groups_view
    for app, kind, gs in self.get_groups_by_application(cr, uid, context):
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 777, in get_groups_by_application
    gids = self.search(cr, uid, self.groups_by_application_domain)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 76, in search
    return super(groups, self).search(cr, uid, args, offset, limit, order, context, count)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2206, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4510, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4359, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 358, in __init__
    self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 454, in parse
    raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'share' in domain expression [('share', '=', False)]

/home/gass/OpenERP/trunk/openobject-client/bin/common/common.py:230: GtkWarning: No object called: textbuffer1
  ui.add_objects_from_file(terp_path(openerp_file), objects)

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

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/904628

Title:
  error installing app account_accountant in new db

Status in OpenERP Addons (modules):
  New

Bug description:
  System : Linux-2.6.37.6-0.9-desktop-x86_64-with-SuSE-11.4-x86_64
  OS Name : posix
  LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
  Distributor ID: SUSE LINUX
  Description:    openSUSE 11.4 (x86_64)
  Release:        11.4
  Codename:       Celadon
  Operating System Release : 2.6.37.6-0.9-desktop
  Operating System Version : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.7.0
  OpenERP-Client Version : 6.1beta
  Last revision No. & ID :2020 openerp@xxxxxxxxxxxxxxxxxxxxx-20111215085254-kul4zgnwpt1wnc0i
  Traceback (most recent call last):
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
      result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 160, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 339, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 254, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 193, in load_module_graph
      load_update_xml(module_name, idref, mode)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 92, in <lambda>
      load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/loading.py", line 140, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 999, in convert_xml_import
      obj.parse(doc.getroot())
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 889, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/tools/convert.py", line 856, in _tag_record
      id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/ir/ir_model.py", line 724, in _update
      res_id = model_obj.create(cr, uid, values, context=context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 706, in create
      self.update_user_groups_view(cr, uid, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 733, in update_user_groups_view
      for app, kind, gs in self.get_groups_by_application(cr, uid, context):
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 777, in get_groups_by_application
      gids = self.search(cr, uid, self.groups_by_application_domain)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/res/res_users.py", line 76, in search
      return super(groups, self).search(cr, uid, args, offset, limit, order, context, count)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2206, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4510, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4359, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 454, in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'share' in domain expression [('share', '=', False)]

  /home/gass/OpenERP/trunk/openobject-client/bin/common/common.py:230: GtkWarning: No object called: textbuffer1
    ui.add_objects_from_file(terp_path(openerp_file), objects)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/904628/+subscriptions


Follow ups

References