← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 605033] Re: Module Installation Fails: TypeError

 

Try to install 5.0.16 (Last one), it will solve your problem,

When you make public a bug you need to explain what is the source of
your package and the client you will nee to update it too!....

IOH, I recommend to you seriouslly migrate to 6 a lot of new features
and bugs are alreadey done,

On Debian you just need to install from sources..

More info doc.openerp.com/v6.0

Regards.

** Changed in: magentoerpconnect
       Status: Confirmed => Invalid

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

Title:
  Module Installation Fails: TypeError

Status in Magento OpenERP Connector:
  Invalid

Bug description:
  Module fails to install with the following traceback:

  Environment Information : 
  System : Linux-2.6.34-ARCH-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5
  OS Name : posix
  Operating System Release : 2.6.34-ARCH
  Operating System Version : #1 SMP PREEMPT Mon Jul 5 22:12:11 CEST 2010
  Operating System Architecture : 64bit
  Operating System Locale : en_GB.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 5.0.11
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 247, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 76, in __call__
      return getattr(self, method)(*params)
    File "/usr/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 633, in execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 613, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/lib/python2.6/site-packages/openerp-server/wizard/__init__.py", line 178, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/lib/python2.6/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/lib/python2.6/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
      db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/lib/python2.6/site-packages/openerp-server/pooler.py", line 62, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/usr/lib/python2.6/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/usr/lib/python2.6/site-packages/openerp-server/addons/__init__.py", line 741, in load_modules
      r = load_module_graph(cr, graph, status, report=report)
    File "/usr/lib/python2.6/site-packages/openerp-server/addons/__init__.py", line 631, in load_module_graph
      tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
    File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 874, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 771, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 743, 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 )
    File "/usr/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_model.py", line 488, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
  TypeError: write() got an unexpected keyword argument 'context'

  This error also surfaces when trying to install the module on a debian
  64bit virtual machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/605033/+subscriptions