← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695997] Re: User Preference throws the traceback at client

 

** Changed in: openobject-server
   Importance: Low => Medium

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

Title:
  User Preference throws the traceback at client

Status in OpenObject Server:
  Confirmed

Bug description:
  Steps to reproduce the bug:

1) Create a new db with the crm,purchase,sale installation and with the simple interface.

2) The go to user preference and change to the extended view.

Following traceback occurs:

ERROR:common.message:Message View details: 
Environment Information : 
System : Linux-2.6.32-22-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-22-generic
Operating System Version : #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1747 nch@xxxxxxxxxxx-20101230124417-dkvdjo5g5cadytu7
cannot marshal None unless allow_none is enabled
DEBUG_RPC:rpc.request:('execute', 'db_test3', 1, '*', ('maintenance.contract', 'status'))
Traceback (most recent call last):
  File "/home/tiny/workspace/openobject-client/bin/modules/gui/main.py", line 921, in sig_user_preferences
    win.run()
  File "/home/tiny/workspace/openobject-client/bin/modules/gui/window/win_preference.py", line 84, in run
    rpc.session.context_reload()
  File "/home/tiny/workspace/openobject-client/bin/rpc.py", line 309, in context_reload
    self.context = self.rpc_exec_auth('/object', 'execute', 'res.users', 'context_get') or {}
  File "/home/tiny/workspace/openobject-client/bin/rpc.py", line 185, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/home/tiny/workspace/openobject-client/bin/rpc.py", line 90, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/home/tiny/workspace/openobject-client/bin/rpc.py", line 108, in execute
    result = getattr(self._sock,method)(self._db, *args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1483, in __request
    allow_none=self.__allow_none)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1132, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.6/xmlrpclib.py", line 677, in dumps
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled





References