My bad run with OpenERP continues with this error when I try to create a new 
database.

I was getting this error earlier, so I attempted to reinstall OpenERP. I used 
bzr again and installed everything. Clients all run, sever is still dead.

I still cannot create a new database. This is what I get instead:


 
 
AttributeError   Python 2.4.3: /usr/bin/python
Fri Sep 25 12:45:50 2009

A problem occurred in a Python script. Here is the sequence of function calls 
leading up to the error, in the order they occurred.
 /usr/lib/python2.4/site-packages/CherryPy-3.1.2-py2.4.egg/cherrypy/_cprequest.py
 in respond&#40;self=<cherrypy>, path_info='/database/do_create'&#41;
&nbsp; 604&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;if self.handler&#58;
&nbsp; 605&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp;self.stage = 'handler'
&nbsp; 606&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp;cherrypy.response.body = self.handler&#40;&#41;
&nbsp; 607&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;
&nbsp; 608&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;self.stage = 'before_finalize'
global cherrypy = <module>, cherrypy.response = <cherrypy>, 
cherrypy.response.body = &#91;&#93;, self = <cherrypy>, self.handler = 
<cherrypy>
&nbsp;/usr/lib/python2.4/site-packages/CherryPy-3.1.2-py2.4.egg/cherrypy/_cpdispatch.py
 in __call__&#40;self=<cherrypy>&#41;
&nbsp; &nbsp;23&nbsp; &nbsp; &nbsp;def __call__&#40;self&#41;&#58;
&nbsp; &nbsp;24&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;try&#58;
&nbsp; &nbsp;25&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 
self.callable&#40;*self.args, **self.kwargs&#41;
&nbsp; &nbsp;26&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except TypeError, x&#58;
&nbsp; &nbsp;27&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;test_callable_spec&#40;self.callable, self.args, self.kwargs&#41;
self = <cherrypy>, self.callable = <bound method Database.do_create of 
<openerp>>, self.args = &#40;&#41;, self.kwargs = &#123;'admin_password'&#58; 
'openerp', 'confirm_password'&#58; 'openerp', 'dbname'&#58; 'velocite', 
'demo_data'&#58; '1', 'language'&#58; 'en_US', 'password'&#58; 'demo'&#125;
&nbsp;/usr/lib/python2.4/site-packages/openerp_web-5.0.6-py2.4.egg/openerp/tools/expose.py
 in func_wrapper&#40;*args=&#40;<openerp>,&#41;, 
**kw=&#123;'admin_password'&#58; 'openerp', 'confirm_password'&#58; 'openerp', 
'dbname'&#58; 'velocite', 'demo_data'&#58; '1', 'language'&#58; 'en_US', 
'password'&#58; 'demo'&#125;&#41;
&nbsp; 202&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;def func_wrapper&#40;*args, 
**kw&#41;&#58;
&nbsp; 203 
&nbsp; 204&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;res = func&#40;*args, 
**kw&#41;
&nbsp; 205&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; 206&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if format == 'json' 
or &#40;allow_json and 'allow_json' in cherrypy.request.params&#41;&#58;
global res = 
'/usr/lib/python2.4/site-packages/openerp_web-5.0...4.egg/openerp/controllers/templates/calpopup.mako',
 func = <function>, args = &#40;<openerp>,&#41;, kw = 
&#123;'admin_password'&#58; 'openerp', 'confirm_password'&#58; 'openerp', 
'dbname'&#58; 'velocite', 'demo_data'&#58; '1', 'language'&#58; 'en_US', 
'password'&#58; 'demo'&#125;
&nbsp;/usr/lib/python2.4/site-packages/openerp_web-5.0.6-py2.4.egg/openerp/tools/utils.py
 in func_wrapper&#40;*args=&#91;<openerp>&#93;, 
**kw=&#123;'admin_password'&#58; 'openerp', 'confirm_password'&#58; 'openerp', 
'dbname'&#58; 'velocite', 'demo_data'&#58; True, 'language'&#58; 'en_US', 
'password'&#58; 'demo'&#125;&#41;
&nbsp; 146 
&nbsp; 147&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;args, kw = 
from_kw&#40;func, args, kw&#41;
&nbsp; 148&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 
func&#40;*args, **kw&#41;
&nbsp; 149 
&nbsp; 150&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return decorated&#40;func_wrapper, 
func&#41;
func = <function>, args = &#91;<openerp>&#93;, kw = &#123;'admin_password'&#58; 
'openerp', 'confirm_password'&#58; 'openerp', 'dbname'&#58; 'velocite', 
'demo_data'&#58; True, 'language'&#58; 'en_US', 'password'&#58; 'demo'&#125;
&nbsp;/usr/lib/python2.4/site-packages/openerp_web-5.0.6-py2.4.egg/openerp/tools/utils.py
 in func_wrapper&#40;*args=&#40;<openerp>,&#41;, 
**kw=&#123;'admin_password'&#58; 'openerp', 'confirm_password'&#58; 'openerp', 
'dbname'&#58; 'velocite', 'demo_data'&#58; True, 'language'&#58; 'en_US', 
'password'&#58; 'demo'&#125;&#41;
&nbsp; 163&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 
handler&#40;*args, **kw&#41;
&nbsp; 164 
&nbsp; 165&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 
func&#40;*args, **kw&#41;
&nbsp; 166 
&nbsp; 167&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return decorated&#40;func_wrapper, 
func&#41;
func = <function>, args = &#40;<openerp>,&#41;, kw = 
&#123;'admin_password'&#58; 'openerp', 'confirm_password'&#58; 'openerp', 
'dbname'&#58; 'velocite', 'demo_data'&#58; True, 'language'&#58; 'en_US', 
'password'&#58; 'demo'&#125;
&nbsp;/usr/lib/python2.4/site-packages/openerp_web-5.0.6-py2.4.egg/openerp/controllers/database.py
 in do_create&#40;self=<openerp>, password='demo', dbname='velocite', 
admin_password='openerp', confirm_password='openerp', demo_data=True, 
language='en_US', **kw=&#123;&#125;&#41;
&nbsp; 171&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;raise Exception&#40;'DbFailed'&#41;
&nbsp; 172&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except Exception, e&#58;
&nbsp; 173&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if e.args == 
&#40;'DbExist',&#41;&#58;
&nbsp; 174&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raise 
common.warning&#40;_&#40;"Could not create database."&#41;, _&#40;'Database 
already exists!'&#41;&#41;
&nbsp; 175&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;elif e.args == 
&#40;'DbFailed'&#41;&#58;
e = <openerp>, e.args undefined

AttributeError&#58; TinyError instance has no attribute 'args'
&nbsp; &nbsp; &nbsp; args = &#40;"TinyError instance has no attribute 
'args'",&#41; 




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44272#44272

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to