← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 437994] Re: [5.0] XMLRPC on Debian Lenny doesn't work

 

This error should not be due to system incompatibility.
I guess this is an error due to bad _defaults set.

Reopen this is it still happens.

** Changed in: openobject-server
       Status: New => Invalid

-- 
[5.0] XMLRPC on Debian Lenny doesn't work 
https://bugs.launchpad.net/bugs/437994
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
Server, Addons, Client = 5.0.6

In Debian Lenny, use XMLRPC (not NETRPC) to create a product, click on save and this error message appear

The same OpenERP version on Ubuntu 8.04, 8.10, 9.04 works.

---------8<----------------8<-------------
[2009-09-27 19:53:23,101] ERROR:web-services:[01]: Environment_Information :
[2009-09-27 19:53:23,101] ERROR:web-services:[02]: PlatForm : linux2
[2009-09-27 19:53:23,101] ERROR:web-services:[03]: Operating System : posix
[2009-09-27 19:53:23,101] ERROR:web-services:[04]: Operating System Version : [GCC 4.3.2]
[2009-09-27 19:53:23,101] ERROR:web-services:[05]: Operating System Locale : en_US
[2009-09-27 19:53:23,102] ERROR:web-services:[06]: Python Version : 2.5.2
[2009-09-27 19:53:23,102] ERROR:web-services:[07]: OpenERP-Server Version : 5.0.1
[2009-09-27 19:53:23,102] ERROR:web-services:[08]: Last revision Details:
[2009-09-27 19:53:23,102] ERROR:web-services:[09]: Exception: invalid literal for int() with base 10: ''
[2009-09-27 19:53:23,102] ERROR:web-services:[10]: Traceback (most recent call last):
[2009-09-27 19:53:23,102] ERROR:web-services:[11]:   File "/home/oerp/openerp/5.0/server/bin/osv/osv.py", line 59, in wrapper
[2009-09-27 19:53:23,102] ERROR:web-services:[12]:     return f(self, dbname, *args, **kwargs)
[2009-09-27 19:53:23,102] ERROR:web-services:[13]:   File "/home/oerp/openerp/5.0/server/bin/osv/osv.py", line 119, in execute
[2009-09-27 19:53:23,103] ERROR:web-services:[14]:     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2009-09-27 19:53:23,103] ERROR:web-services:[15]:   File "/home/oerp/openerp/5.0/server/bin/osv/osv.py", line 111, in execute_cr
[2009-09-27 19:53:23,103] ERROR:web-services:[16]:     return getattr(object, method)(cr, uid, *args, **kw)
[2009-09-27 19:53:23,103] ERROR:web-services:[17]:   File "/home/oerp/openerp/5.0/server/bin/osv/orm.py", line 2565, in create
[2009-09-27 19:53:23,103] ERROR:web-services:[18]:     id = self.pool.get(table).create(cr, user, tocreate[table])
[2009-09-27 19:53:23,103] ERROR:web-services:[19]:   File "/home/oerp/openerp/5.0/server/bin/osv/orm.py", line 2641, in create
[2009-09-27 19:53:23,103] ERROR:web-services:[20]:     self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context)
[2009-09-27 19:53:23,103] ERROR:web-services:[21]:   File "/home/oerp/openerp/5.0/server/bin/osv/fields.py", line 523, in set
[2009-09-27 19:53:23,103] ERROR:web-services:[22]:     if act[0] == 0:
[2009-09-27 19:53:23,104] ERROR:web-services:[23]: TypeError: 'int' object is unsubscriptable
---------8<----------------8<-------------