Hello,
I coudn't create database, with the gtk client, then I have used the web client.
I can create database, choose mu profile company name, next, then I have a 
crash in python script :see follow :
 
<type>  Python 2.5.4: C:\Program Files\OpenERP AllInOne\Web\python25\python.exe
Mon Feb 09 11:12:11 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.
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py
 in _run(self=<cherrypy>)
  119                             applyFilters('before_main')
  120                             if self.execute_main:
  121                                 self.main()
  122                             break
  123                         except cherrypy.InternalRedirect, ir:
self = <cherrypy>, self.main = <bound method Request.main of <cherrypy>>
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py
 in main(self=<cherrypy>, path='/wizard/action')
  262         self.object_path = '/' + '/'.join(object_path[1:])
  263         try:
  264             body = page_handler(*virtual_path, **self.params)
  265         except Exception, x:
  266             if hasattr(x, "args"):
body undefined, page_handler = <function>, virtual_path = [], self = 
<cherrypy>, self.params = {'_terp_context': u'{}', '_terp_count': u'', 
'_terp_datas': u"{'form': {'profile': 31, 'city': False, 'street2...y_id': 
False, 'state_id': False, 'email': False}}", '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...}
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\openerp_web-5.0.0-py2.5.egg\openerp\tinyres.py
 in wrapper(*args=(), **kw={'_terp_context': u'{}', '_terp_count': u'', 
'_terp_datas': u"{'form': {'profile': 31, 'city': False, 'street2...y_id': 
False, 'state_id': False, 'email': False}}", '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
   87             # User is logged in; allow access
   88             clear_login_fields(kw)
   89             return fn(*args, **kw)
   90         else:
   91             # User isn't logged in yet.
fn = <bound method Wizard.action of <openerp>>, args = (), kw = 
{'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': u"{'form': 
{'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': False, 
'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in action(self=<openerp>, 
tg_errors=None, tg_exceptions=None, *_decorator__varargs=(), 
**kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': u"{'form': 
{'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': False, 
'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\controllers.py
 in expose(func=<function>, *args=(<openerp>,), **kw={'_terp_context': u'{}', 
'_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 
'street2...y_id': False, 'state_id': False, 'email': False}}", '_terp_domain': 
u'[]', '_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
  358                     output = database.run_with_transaction(
  359                             func._expose, func, accept, func._allow_json,
  360                             *args, **kw)
  361                 return output
  362             func.exposed = True
args = (<openerp>,), kw = {'_terp_context': u'{}', '_terp_count': u'', 
'_terp_datas': u"{'form': {'profile': 31, 'city': False, 'street2...y_id': 
False, 'state_id': False, 'email': False}}", '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in 
run_with_transaction(func=<function>, *args=(<function>, 'text/html', True, 
<openerp>), **kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\database.py
 in so_rwt(func=<function>, *args=(<function>, 'text/html', True, <openerp>), 
**kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': u"{'form': 
{'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': False, 
'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
  357     try:
  358         try:
  359             retval = func(*args, **kw)
  360             commit_all()
  361             return retval
retval undefined, func = <function>, args = (<function>, 'text/html', True, 
<openerp>), kw = {'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in _expose(func=<function>, 
accept='text/html', allow_json=True, *args=(<openerp>,), **kw={'_terp_context': 
u'{}', '_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': 
False, 'street2...y_id': False, 'state_id': False, 'email': False}}", 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'False', 
'_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\controllers.py
 in (_func=<function>, accept='text/html', allow_json=True, *args=(<openerp>,), 
**kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': u"{'form': 
{'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': False, 
'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
  371             rulefunc = lambda _func, accept, allow_json, *args, **kw:
  372                 _execute_func(_func, template, format, content_type,
  373                     mapping, fragment, args, kw)))
  374 
  375         if allow_json:
mapping = None, fragment = False, args = (<openerp>,), kw = {'_terp_context': 
u'{}', '_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': 
False, 'street2...y_id': False, 'state_id': False, 'email': False}}", 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'False', 
'_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\controllers.py
 in _execute_func(func=<function>, template='json', format=None, 
content_type=None, mapping=None, fragment=False, args=(<openerp>,), 
kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': u"{'form': 
{'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': False, 
'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
  408         # this means big memory usage, and we don't want that in 
production
  409         log.debug("Calling %s with *(%s), **(%s)", func, args, kw)
  410     output = errorhandling.try_call(func, *args, **kw)
  411     if isinstance(output, list):
  412         return output
output undefined, global errorhandling = <module>, errorhandling.try_call = 
<function>, func = <function>, args = (<openerp>,), kw = {'_terp_context': 
u'{}', '_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': 
False, 'street2...y_id': False, 'state_id': False, 'email': False}}", 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'False', 
'_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\errorhandling.py
 in try_call(func=<function>, self=<openerp>, *args=(), **kw={'_terp_context': 
u'{}', '_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': 
False, 'street2...y_id': False, 'state_id': False, 'email': False}}", 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'False', 
'_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
   90                 restart_transaction(1)
   91             try:
   92                 output = dispatch_error(self, func, None, e, *args, **kw)
   93             except NoApplicableMethods:
   94                 raise exc_type, exc_value, exc_trace
output undefined, global dispatch_error = <function>, self = <openerp>, func = 
<function>, builtin None = None, e = ValueError('need more than 1 value to 
unpack', <function>), args = (), kw = {'_terp_context': u'{}', '_terp_count': 
u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 'street2...y_id': 
False, 'state_id': False, 'email': False}}", '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in 
dispatch_error(controller=<openerp>, tg_source=<function>, tg_errors=None, 
tg_exceptions=ValueError('need more than 1 value to unpack', <function>), 
*args=(), **kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\errorhandling.py
 in _register_implicit_exch(controller=<openerp>, tg_source=<function>, 
tg_errors=None, tg_exceptions=ValueError('need more than 1 value to unpack', 
<function>), *args=(), **kw={'_terp_context': u'{}', '_terp_count': u'', 
'_terp_datas': u"{'form': {'profile': 31, 'city': False, 'street2...y_id': 
False, 'state_id': False, 'email': False}}", '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
   49     exception_handler(tg_source)(tg_source)
   50     return dispatch_error(controller, tg_source, tg_errors, tg_exceptions,
   51                           *args, **kw)
   52 
   53 def dispatch_error_adaptor(func):
args = (), kw = {'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in 
dispatch_error(controller=<openerp>, tg_source=<function>, tg_errors=None, 
tg_exceptions=ValueError('need more than 1 value to unpack', <function>), 
*args=(), **kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\errorhandling.py
 in adaptor(controller=<openerp>, tg_source=<function>, tg_errors=None, 
tg_exceptions=ValueError('need more than 1 value to unpack', <function>), 
*args=(), **kw={'_terp_context': u'{}', '_terp_count': u'', '_terp_datas': 
u"{'form': {'profile': 31, 'city': False, 'street2...y_id': False, 'state_id': 
False, 'email': False}}", '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'False', '_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...})
   67         if tg_format is not None:
   68             kw['tg_format'] = tg_format
   69         return func(controller, *args, **kw)
   70     return adaptor
   71 
func = <function>, controller = <openerp>, args = (), kw = {'_terp_context': 
u'{}', '_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': 
False, 'street2...y_id': False, 'state_id': False, 'email': False}}", 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'False', 
'_terp_ids': u'[]', '_terp_limit': u'', '_terp_model': 
u'wizard.base_setup.base_setup', '_terp_offset': u'', ...}
 C:\Program Files\OpenERP AllInOne\Web\<string> in action(self=<openerp>, 
tg_errors=None, tg_exceptions=ValueError('need more than 1 value to unpack', 
<function>), *_decorator__varargs=(), **kw={'_terp_context': u'{}', 
'_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 
'street2...y_id': False, 'state_id': False, 'email': False}}", '_terp_domain': 
u'[]', '_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\turbogears-1.0.8-py2.5.egg\turbogears\controllers.py
 in validate(func=<function>, *args=(<openerp>,), **kw={'_terp_context': u'{}', 
'_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 
'street2...y_id': False, 'state_id': False, 'email': False}}", '_terp_domain': 
u'[]', '_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
  150             # do not validate a second time if already validated
  151             if hasattr(request, 'validation_state'):
  152                 return func(*args, **kw)
  153 
  154             form = init_form(args and args[0] or kw["self"])
func = <function>, args = (<openerp>,), kw = {'_terp_context': u'{}', 
'_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 
'street2...y_id': False, 'state_id': False, 'email': False}}", '_terp_domain': 
u'[]', '_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...}
 C:\Program Files\OpenERP 
AllInOne\Web\python25\lib\site-packages\openerp_web-5.0.0-py2.5.egg\openerp\subcontrollers\wizard.py
 in action(self=<openerp>, tg_errors=None, tg_exceptions=ValueError('need more 
than 1 value to unpack', <function>), **kw={'_terp_context': u'{}', 
'_terp_count': u'', '_terp_datas': u"{'form': {'profile': 31, 'city': False, 
'street2...y_id': False, 'state_id': False, 'email': False}}", '_terp_domain': 
u'[]', '_terp_editable': u'True', '_terp_id': u'False', '_terp_ids': u'[]', 
'_terp_limit': u'', '_terp_model': u'wizard.base_setup.base_setup', 
'_terp_offset': u'', ...})
  221 
  222         if tg_exceptions:
  223             raise tg_exceptions
  224 
  225         params, datas = TinyDict.split(kw)
tg_exceptions = ValueError('need more than 1 value to unpack', <function>)

<type>: ('need more than 1 value to unpack', <function>)
      args = ('need more than 1 value to unpack', <function>)
      message = 'need more than 1 value to unpack' 
I hope that it is just a problem for me.
I will try to clean all and reinstall all.
A+ [Arrow]

------------------------
Sauvegardons la banquise, sinon les pingouins vont disparaitre !




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

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

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


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

Reply via email to