error during search

Bug #1031442 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Full Text Search
Fix Released
High
Holger Brunn (Therp)

Bug Description

Hello
in 6.1 I get an error

Server Traceback (most recent call last):
  File "/home/gass/OpenERP/6.1/server/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/gass/OpenERP/6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/gass/OpenERP/6.1/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/gass/OpenERP/6.1/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/gass/OpenERP/6.1/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/gass/OpenERP/6.1/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/gass/OpenERP/6.1/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
    return fct_src(cr, uid, model, method, *args)
  File "/home/gass/OpenERP/6.1/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/gass/OpenERP/6.1/server/openerp/osv/orm.py", line 2198, in search_count
    res = self.search(cr, user, args, context=context, count=True)
TypeError: lookup() got an unexpected keyword argument 'context'

Changed in openobject-fts:
assignee: nobody → Holger Brunn (Therp) (hbrunn)
Changed in openobject-fts:
importance: Undecided → High
Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Hello Ferdinand,

this problem is actually caused by lp:1031708.

For the time being, I added a workaround that enables you to use the search.

Regards,
Holger Brunn

Changed in openobject-fts:
status: New → Fix Committed
Changed in openobject-fts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.