← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 733387] Re: UnpicklingError: Global and instance pickles are not supported

 

Got this error with a web addon I'm writting, adding more complete
traceback. It seem to be triggered when trying to raise an exception

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/olivier/openerp/web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/olivier/openerp/web/openobject/controllers/_root.py", line 87, in default
    return request.handler()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/olivier/openerp/web/addons/openerp/controllers/utils.py", line 178, in wrapper
    return fn(*args, **kw)
  File "/home/olivier/openerp/web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/olivier/openerp/web/addons/view_test/controllers/_popup.py", line 67, in get_new
    ids = proxy.search(['write_date', '>', fromdate], 0, 10, 0, ctx)
  File "/home/olivier/openerp/web/addons/openerp/utils/rpc.py", line 421, in search
    return self('search', criteria, offset, limit, order, context)
  File "/home/olivier/openerp/web/addons/openerp/utils/rpc.py", line 405, in __call__
    self._resource, *args)
  File "/home/olivier/openerp/web/addons/openerp/utils/rpc.py", line 357, in execute
    return self.gateway.execute(obj, method, *args)
  File "/home/olivier/openerp/web/addons/openerp/utils/rpc.py", line 147, in execute
    return self.__execute(obj, method, args)
  File "/home/olivier/openerp/web/addons/openerp/utils/rpc.py", line 133, in __execute
    common.error(_('Application Error'), err.backtrace)
  File "/home/olivier/openerp/web/addons/openerp/utils/common.py", line 24, in error
    raise openobject.errors.TinyError(message=msg, title=title or _("Error"))
TinyError: Traceback (most recent call last):
  File "/home/olivier/openerp/server/bin/service/netrpc_server.py", line 69, in run
    msg = ts.myreceive()
  File "/home/olivier/openerp/server/bin/tiny_socket.py", line 88, in myreceive
    res = unpickler.load()
UnpicklingError: Global and instance pickles are not supported.

-- 
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/733387

Title:
  UnpicklingError: Global and instance pickles are not supported

Status in OpenERP Web Client:
  Confirmed

Bug description:
  in object account.voucher, every time onchange_price() is called, this
  traceback pops up several times per call:

  Traceback (most recent call last):
    File "/home/mpattaro/openerp/openerp-server-6.0.1-rev3341/bin/service/netrpc_server.py", line 69, in run
      msg = ts.myreceive()
    File "/home/mpattaro/openerp/openerp-server-6.0.1-rev3341/bin/tiny_socket.py", line 88, in myreceive
      res = unpickler.load()
  UnpicklingError: Global and instance pickles are not supported.

  This is not happening with GTK.
  I'm using version 6.0.1

  Regards
  Marco

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/733387/+subscriptions


References