c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10525
[Bug 695997] Re: Regression on trunk : Client passes None when connected through XMLRPC
*** This bug is a duplicate of bug 693474 ***
https://bugs.launchpad.net/bugs/693474
hi,
This is not a regression the above fix was for the issue #693474, but
it's due to the password field has been changed recently on the server
from a char to an osv_memory wizard without the gtk knowing about the
change.
So after the discussion with the experts we have planned to change the way it is currently implemented
I would mark it as a duplicate of #693474 which is the same as this.
Thanks,
** This bug has been marked a duplicate of bug 693474
access denied when change password in preference
* You can subscribe to bug 693474 by following this link: https://bugs.launchpad.net/openobject-client/+bug/693474/+subscribe
--
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:
Regression on trunk : Client passes None when connected through XMLRPC
Status in OpenObject GTK Client:
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