← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Attached you can find my database with the problem

** Attachment added: "openerp.sql.bz2"
   https://bugs.launchpad.net/openobject-addons/+bug/615932/+attachment/1736808/+files/openerp.sql.bz2

-- 
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 the OpenERP Project Group.

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'