← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 579555] Re: Instance has no attribute 'args' - v5.0 revno2867

 

Hi,

This doesn't seem to happen here. Please reopen this one if it occurs at
your end.

Thanks.

** Changed in: openobject-client-web
       Status: Incomplete => Invalid

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

Title:
  Instance has no attribute 'args'  - v5.0 revno2867

Status in OpenObject Web Client:
  Invalid

Bug description:
  [12/May/2010:11:34:12] ENGINE Started monitor thread 'Monitor'.
***********************e AccessDenied
[12/May/2010:11:34:12] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/CherryPy-3.1.2-py2.4.egg/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/python2.4/site-packages/CherryPy-3.1.2-py2.4.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/moylop26/openerp/openerp-current/openerp-client-web/openerp/tools/expose.py", line 204, in func_wrapper
    res = func(*args, **kw)
  File "/home/moylop26/openerp/openerp-current/openerp-client-web/openerp/tools/utils.py", line 147, in func_wrapper
    return func(*args, **kw)
  File "/home/moylop26/openerp/openerp-current/openerp-client-web/openerp/tools/utils.py", line 164, in func_wrapper
    return func(*args, **kw)
  File "/home/moylop26/openerp/openerp-current/openerp-client-web/openerp/controllers/database.py", line 170, in do_create
    if e.args == ('DbExist',):
AttributeError: TinyError instance has no attribute 'args'


Out of explorer
/openerp-client-web/openerp/controllers/database.py in do_create(self=<openerp.controllers.database.Database object>, password='123456', dbname='borrar', admin_password='123456', confirm_password='123456', demo_data=False, language='en_US', **kw={})
  168         except Exception, e:
  169             print "***********************e",e
  170             if e.args == ('DbExist',):
  171                 raise common.warning(_("Could not create database."), _('Database already exists!'))
  172             elif e.args == ('DbFailed'):
e = <openerp.common.TinyError instance>, e.args undefined

AttributeError: TinyError instance has no attribute 'args'
      args = ("TinyError instance has no attribute 'args'",)