← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 615932] Re: Error in Tasks by User report

 

I have the same problem and all my projects has category_id not null
5.0.12, running tasks by user

Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[02]: Environment Information : 
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[03]: System : Linux-2.6.9-89.0.15.ELsmp-x86_64-with-redhat-4.8-Final
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[04]: OS Name : posix
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[05]: Distributor ID:	CentOS
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[06]: Description:	CentOS release 4.8 (Final)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[07]: Release:	4.8
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[08]: Codename:	Final
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[09]: Operating System Release : 2.6.9-89.0.15.ELsmp
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[10]: Operating System Version : #1 SMP Sat Oct 10 05:55:45 EDT 2009
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[11]: Operating System Architecture : 64bit
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[12]: Operating System Locale : en_US.UTF8
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[13]: Python Version : 2.7.0
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[14]: OpenERP-Server Version : 5.0.12
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[15]: Last revision No. & ID : 
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[16]: Traceback (most recent call last):
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[17]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/osv/osv.py", line 58, in wrapper
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[18]:     return f(self, dbname, *args, **kwargs)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[19]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/osv/osv.py", line 119, in execute
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[20]:     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[21]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[22]:     return getattr(object, method)(cr, uid, *args, **kw)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[23]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 2228, in read
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[24]:     result = self._read_flat(cr, user, select, fields, context, load)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[25]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 2301, in _read_flat
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[26]:     cr.execute(query, (tuple(sub_ids),))
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[27]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/sql_db.py", line 77, in wrapper
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[28]:     return f(self, *args, **kwargs)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[29]:   File "/opt/python-2.7/lib/python2.7/site-packages/openerp-server/sql_db.py", line 122, in execute
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[30]:     res = self._obj.execute(query, params)
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[31]:   File "/opt/python-2.7/lib/python2.7/site-packages/psycopg2/extensions.py", line 124, in getquoted
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[32]:     qobjs = [str(o.getquoted()) for o in pobjs]
Oct 12 14:43:42  <11>OpenERP Server 5.0.12:ERROR:web-services:[33]: AttributeError: 'str' object has no attribute 'getquoted'

-- 
Error in Tasks by User report
https://bugs.launchpad.net/bugs/615932
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Invalid

Bug description:
The following error occurred when running the 'Tasks by User' report in the Projects section.

Version 5.0.12
Bzr addons revision: 2807

Environment Information : 
System : Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-24-generic
Operating System Version : #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_GB.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.12
Last revision No. & ID :19 fp@xxxxxxxxxxx-20091011133045-bf6vo0upwlmlotxi
Traceback (most recent call last):
  File "/home/jjesudason/Documents/Development/openerp/server/bin/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/osv/orm.py", line 2228, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/osv/orm.py", line 2301, in _read_flat
    cr.execute(query, (tuple(sub_ids),))
  File "/home/jjesudason/Documents/Development/openerp/server/bin/sql_db.py", line 77, in wrapper
    return f(self, *args, **kwargs)
  File "/home/jjesudason/Documents/Development/openerp/server/bin/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 100, in getquoted
    qobjs = [str(o.getquoted()) for o in pobjs]
AttributeError: 'str' object has no attribute 'getquoted'