← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 873295] [NEW] Found Traceback When Open a Project from the Menu

 

Public bug reported:

Problem : Found Traceback When Open a Project from the Menu

When you click on menu Project OR click on project on menu page
Find out traceback
==================================================================
Client Traceback (most recent call last):
  File "/home/amb/source/client-web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/amb/source/client-web/trunk/addons/web/controllers/main.py", line 595, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/home/amb/source/client-web/trunk/addons/web/controllers/main.py", line 620, in do_search_read
    ids = Model.search(domain, 0, False, sort or False, context)
  File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
    *args)
  File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 130, in send
    return getattr(service, method)(*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 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])


Server Traceback (most recent call last):
  File "/home/amb/source/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
    result = openerp.netsvc.dispatch_rpc(service, method, params)
  File "/home/amb/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/amb/source/server/trunk/openerp/service/web_services.py", line 573, in dispatch
    res = fn(db, uid, *params)
  File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 2207, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 4424, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 4273, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/home/amb/source/server/trunk/openerp/osv/expression.py", line 358, in __init__
    self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
  File "/home/amb/source/server/trunk/openerp/osv/expression.py", line 454, in parse
    raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'uid' in domain expression ['&', ('uid', '=', 1), ['state', '=', 'open']]

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/873295

Title:
  Found Traceback When Open a Project from the Menu

Status in OpenERP Web:
  New

Bug description:
  Problem : Found Traceback When Open a Project from the Menu

  When you click on menu Project OR click on project on menu page
  Find out traceback
  ==================================================================
  Client Traceback (most recent call last):
    File "/home/amb/source/client-web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/amb/source/client-web/trunk/addons/web/controllers/main.py", line 595, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/home/amb/source/client-web/trunk/addons/web/controllers/main.py", line 620, in do_search_read
      ids = Model.search(domain, 0, False, sort or False, context)
    File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/amb/source/client-web/trunk/addons/web/common/openerplib/main.py", line 130, in send
      return getattr(service, method)(*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 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/home/amb/source/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
      result = openerp.netsvc.dispatch_rpc(service, method, params)
    File "/home/amb/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/amb/source/server/trunk/openerp/service/web_services.py", line 573, in dispatch
      res = fn(db, uid, *params)
    File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 2207, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 4424, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 4273, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/amb/source/server/trunk/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/amb/source/server/trunk/openerp/osv/expression.py", line 454, in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'uid' in domain expression ['&', ('uid', '=', 1), ['state', '=', 'open']]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/873295/+subscriptions


Follow ups

References