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

Bug #579555 reported by Moisés López - http://www.vauxoo.com
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Undecided
Unassigned

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'",)

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello,

Can you describe that how can we generate this error ?
This is just error you sent, but which are the steps to reproduce the same ?

Thanks.

Navrang Oza (noz-tiny)
Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

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
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.