← Back to team overview

openerp-india team mailing list archive

[Bug 1070015] Re: Ecommerce install KeyError: 'price_accuracy'

 

Réal Carbonneau,

The fix is going to land very soon.

Setting it as high severity because this makes module uninstallable.

Thanks.

** Changed in: openobject-addons
       Status: Won't Fix => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => Serpent Consulting Services (serpent-consulting-services)

** Changed in: openobject-addons
   Importance: Undecided => High

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

Title:
  Ecommerce install KeyError: 'price_accuracy'

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  When installing the ECommerce module, the error KeyError:
  'price_accuracy' occurs.

  Steps to reproduce:
  OpenERP 6.1-20120925-233125
  1) New Database with Demo data
  2) Download the latest (trunk) ecommerce module from http://apps.openerp.com/addon/get_module_as_zip/1924/ecommerce.zip
  3) Set module to be installed and Apply Scheduled Upgrades

  The following error occurs:
  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1052, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 996, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1010, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 608, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 593, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args)
    File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/opt/openerp/server/openerp/modules/registry.py", line 202, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/opt/openerp/server/openerp/modules/loading.py", line 338, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/opt/openerp/server/openerp/modules/loading.py", line 253, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/opt/openerp/server/openerp/modules/loading.py", line 165, in load_module_graph
      load_openerp_module(package.name)
    File "/opt/openerp/server/openerp/modules/module.py", line 412, in load_openerp_module
      zimp.load_module(module_name)
    File "/opt/openerp/server/openerp/addons/ecommerce.zip/ecommerce/__init__.py", line 26, in <module>
    File "/usr/lib/python2.6/dist-packages/uno.py", line 262, in _uno_import
      return _g_delegatee( name, *optargs, **kwargs )
    File "/opt/openerp/server/openerp/addons/ecommerce.zip/ecommerce/sale_order/__init__.py", line 22, in <module>
    File "/usr/lib/python2.6/dist-packages/uno.py", line 262, in _uno_import
      return _g_delegatee( name, *optargs, **kwargs )
    File "/opt/openerp/server/openerp/addons/ecommerce.zip/ecommerce/sale_order/sale_order.py", line 246, in <module>
    File "/opt/openerp/server/openerp/addons/ecommerce.zip/ecommerce/sale_order/sale_order.py", line 255, in ecommerce_order_line
    File "/opt/openerp/server/openerp/tools/config.py", line 632, in __getitem__
      return self.options[key]
  KeyError: 'price_accuracy'

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


References