SAME PROBLEM HERE, TOO - COPY OF MY MESSAGE TO LAUNCHPAD! NOBODY SEEMS TO HAVE 
ENCOUNTERED THE SAME DIFFICULTIES - STRANGE! HELP, PLEASE!


Dear All,

First of all, thanks a lot for this awesome piece of work!

I am running OpenERP Server and OpenERP Web version 5.0.1-0 each, with 
PostGreSQL 8.3 on a Debian Lenny box. Installation instructions followed by the 
book, with avoidance of .deb packages for OpenERP.
I get consistently two errors. The first one occurs when I edit (not: view) a 
partner, and click on the "Next" button to move from the first partner contact 
to the next. This yields the following error message:

QUOTE ------------- START
 
<type>  Python 2.5.2: /usr/bin/python
Mon Jul 13 21:42:01 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.5/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>>
 
/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cphttptools.py
 in main(self=<cherrypy>, path='/form/next')
  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_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/openerp/tinyres.py
 in wrapper(*args=(), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  114             # User is logged in; allow access
  115             clear_login_fields(kw)
  116             return fn(*args, **kw)
  117         else:
  118             # User isn't logged in yet.
fn = <bound method Form.next of <openerp>>, args = (), kw = 
{'_terp_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 /<string> in next(self=<openerp>, *_decorator__varargs=(), 
**kw={'_terp_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py
 in expose(func=<function>, *args=(<openerp>,), **kw={'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 /<string> in run_with_transaction(func=<function>, *args=(<function>, 
'text/html', True, <openerp>), **kw={'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...})
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 /<string> in _expose(func=<function>, accept='text/html', allow_json=True, 
*args=(<openerp>,), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/errorhandling.py
 in try_call(func=<function>, self=<openerp>, *args=(), 
**kw={'_terp_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
   75     from turbogears.database import restart_transaction
   76     try:
   77         return func(self, *args, **kw)
   78     except Exception, e:
   79         if isinstance(e, cherrypy.HTTPRedirect) or \
func = <function>, self = <openerp>, args = (), kw = {'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/openerp/subcontrollers/form.py
 in next(self=<openerp>, **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  705     def next(self, **kw):
  706         if '_terp_source' in kw:
  707             return self.next_o2m(**kw)
  708 
  709         kw['_terp_filter_action'] = 'NEXT'
self = <openerp>, self.next_o2m = <function>, kw = {'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/openerp/tinyres.py
 in wrapper(*args=(), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  114             # User is logged in; allow access
  115             clear_login_fields(kw)
  116             return fn(*args, **kw)
  117         else:
  118             # User isn't logged in yet.
fn = <bound method Form.next_o2m of <openerp>>, args = (), kw = 
{'_terp_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 /<string> in next_o2m(self=<openerp>, *_decorator__varargs=(), 
**kw={'_terp_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py
 in expose(func=<function>, *args=(<openerp>,), **kw={'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...})
  353                 if hasattr(request, "in_transaction"):
  354                     output = func._expose(func, accept, func._allow_json,
  355                                 *args, **kw)
  356                 else:
  357                     request.in_transaction = True
args = (<openerp>,), kw = {'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 /<string> in _expose(func=<function>, accept='text/html', allow_json=True, 
*args=(<openerp>,), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/errorhandling.py
 in try_call(func=<function>, self=<openerp>, *args=(), 
**kw={'_terp_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
   75     from turbogears.database import restart_transaction
   76     try:
   77         return func(self, *args, **kw)
   78     except Exception, e:
   79         if isinstance(e, cherrypy.HTTPRedirect) or \
func = <function>, self = <openerp>, args = (), kw = {'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/openerp/subcontrollers/form.py
 in next_o2m(self=<openerp>, **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  748             # save current record
  749             if params.editable:
  750                 self.save(terp_save_only=True, **kw)
  751 
  752             idx = current.ids.index(current.id)
self = <openerp>, self.save = <function>, terp_save_only undefined, builtin 
True = True, kw = {'_terp_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 
/usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/openerp/tinyres.py
 in wrapper(*args=(), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  114             # User is logged in; allow access
  115             clear_login_fields(kw)
  116             return fn(*args, **kw)
  117         else:
  118             # User isn't logged in yet.
fn = <bound method Form.save of <openerp>>, args = (), kw = 
{'_terp_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 /<string> in save(self=<openerp>, terp_save_only=True, 
*_decorator__varargs=(), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py
 in expose(func=<function>, *args=(<openerp>,), **kw={'_terp_concurrency_info': 
[('res.partner,1', '2009-07-13 20:57:38.72486'), ('res.partner.address,1', 
'2009-07-13 20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 
'active_ids': [84], '_terp_target': u'current', 'active_id': 84}", 
'_terp_count': u'1', '_terp_domain': u'[]', '_terp_editable': u'True', 
'_terp_id': u'1', '_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': 
u'res.partner', '_terp_offset': u'0', ...})
  353                 if hasattr(request, "in_transaction"):
  354                     output = func._expose(func, accept, func._allow_json,
  355                                 *args, **kw)
  356                 else:
  357                     request.in_transaction = True
args = (<openerp>,), kw = {'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...}
 /<string> in _expose(func=<function>, accept='text/html', allow_json=True, 
*args=(<openerp>,), **kw={'_terp_concurrency_info': [('res.partner,1', 
'2009-07-13 20:57:38.72486'), ('res.partner.address,1', '2009-07-13 
20:57:38.72486')], '_terp_context': u"{'_view_name': u'Partners', 'active_ids': 
[84], '_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 
20:57:38.72486'), ('res.partner.address,1', '2009-07-13 20:57:38.72486')], 
'_terp_context': u"{'_view_name': u'Partners', 'active_ids': [84], 
'_terp_target': u'current', 'active_id': 84}", '_terp_count': u'1', 
'_terp_domain': u'[]', '_terp_editable': u'True', '_terp_id': u'1', 
'_terp_ids': u'[1]', '_terp_limit': u'80', '_terp_model': u'res.partner', 
'_terp_offset': u'0', ...})
  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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...}
 
/usr/lib/python2.5/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_concurrency_info': [('res.partner,1', '2009-07-13 20:57:38.72486'), 
('res.partner.address,1', '2009-07-13 20:57:38.72486')], '_terp_context': 
u"{'_view_name': u'Partners', 'active_ids': [84], '_terp_target': u'current', 
'active_id': 84}", '_terp_count': u'1', '_terp_domain': u'[]', 
'_terp_editable': u'True', '_terp_id': u'1', '_terp_ids': u'[1]', 
'_terp_limit': u'80', '_terp_model': u'res.partner', '_terp_offset': u'0', ...})
  421     if template and template.startswith("."):
  422         template = func.__module__[:func.__module__.rfind('.')]+template
  423     return _process_output(output, template, format, content_type, 
mapping, fragment)
  424 
  425 
global _process_output = <function>, output = {'data': {'active': True, 
'address': [(1, 1, {'city': 'Kigali', 'country_id': 184, 'email': 
u'[email protected]', 'fax': False, 'function': False, 'mobile': False, 
'name': 'GTZ Programme Sant\xc3\xa9', 'phone': '+250-788-300573', 'state_id': 
False, 'street': '2 avenue Paul VI', ...})], 'bank_ids': {}, 'category_id': 
[(6, 0, [])], 'comment': False, 'credit_limit': 0, 'customer': True, 'date': 
False, 'events': {}, 'lang': False, ...}, 'params': {'_terp_offset': 0, 
'_terp_model': u'res.partner...rp_limit': 20, '_terp_view_ids': [False, 
False]}}, 'tg_flash': None}, template = 'json', format = None, content_type = 
None, mapping = None, fragment = False
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py
 in _process_output(output={'data': {'active': True, 'address': [(1, 1, 
{'city': 'Kigali', 'country_id': 184, 'email': u'[email protected]', 
'fax': False, 'function': False, 'mobile': False, 'name': 'GTZ Programme 
Sant\xc3\xa9', 'phone': '+250-788-300573', 'state_id': False, 'street': '2 
avenue Paul VI', ...})], 'bank_ids': {}, 'category_id': [(6, 0, [])], 
'comment': False, 'credit_limit': 0, 'customer': True, 'date': False, 'events': 
{}, 'lang': False, ...}, 'params': {'_terp_offset': 0, '_terp_model': 
u'res.partner...rp_limit': 20, '_terp_view_ids': [False, False]}}, 'tg_flash': 
None}, template='json', format=None, content_type=None, mapping=None, 
fragment=False)
   86         output = view.render(output, template=template, format=format,
   87                     mapping=mapping, headers=headers,
   88                     fragment=fragment)
   89         content_type = headers['Content-Type']
   90 
fragment = False
 
/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/view/base.py
 in render(info={'data': {'active': True, 'address': [(1, 1, {'city': 'Kigali', 
'country_id': 184, 'email': u'[email protected]', 'fax': False, 
'function': False, 'mobile': False, 'name': 'GTZ Programme Sant\xc3\xa9', 
'phone': '+250-788-300573', 'state_id': False, 'street': '2 avenue Paul VI', 
...})], 'bank_ids': {}, 'category_id': [(6, 0, [])], 'comment': False, 
'credit_limit': 0, 'customer': True, 'date': False, 'events': {}, 'lang': 
False, ...}, 'params': {'_terp_offset': 0, '_terp_model': 
u'res.partner...rp_limit': 20, '_terp_view_ids': [False, False]}}, 'tg_flash': 
None}, template=None, format='json', headers={'Content-Type': 
'application/json'}, mapping=None, fragment=False)
  157         template=template, mapping=mapping), start=1)
  158 
  159     return engine.render(**kw)
  160 
  161 
engine = <turbojson>, engine.render = <bound method JsonSupport.render of 
<turbojson>>, kw = {'format': 'json', 'fragment': False, 'info': {'data': 
{'active': True, 'address': [(1, 1, {'city': 'Kigali', 'country_id': 184, 
'email': u'[email protected]', 'fax': False, 'function': False, 'mobile': 
False, 'name': 'GTZ Programme Sant\xc3\xa9', 'phone': '+250-788-300573', 
'state_id': False, 'street': '2 avenue Paul VI', ...})], 'bank_ids': {}, 
'category_id': [(6, 0, [])], 'comment': False, 'credit_limit': 0, 'customer': 
True, 'date': False, 'events': {}, 'lang': False, ...}, 'params': 
{'_terp_offset': 0, '_terp_model': u'res.partner...rp_limit': 20, 
'_terp_view_ids': [False, False]}}, 'tg_flash': None}, 'template': None}
 
/usr/lib/python2.5/site-packages/TurboJson-1.1.4-py2.5.egg/turbojson/jsonsupport.py
 in render(self=<turbojson>, info={'data': {'active': True, 'address': [(1, 1, 
{'city': 'Kigali', 'country_id': 184, 'email': u'[email protected]', 
'fax': False, 'function': False, 'mobile': False, 'name': 'GTZ Programme 
Sant\xc3\xa9', 'phone': '+250-788-300573', 'state_id': False, 'street': '2 
avenue Paul VI', ...})], 'bank_ids': {}, 'category_id': [(6, 0, [])], 
'comment': False, 'credit_limit': 0, 'customer': True, 'date': False, 'events': 
{}, 'lang': False, ...}, 'params': {'_terp_offset': 0, '_terp_model': 
u'res.partner...rp_limit': 20, '_terp_view_ids': [False, False]}}, 'tg_flash': 
None}, format='json', fragment=False, template=None)
   36         """
   37         [info.pop(item) for item in info.copy() if 
(item.startswith("tg_") and item != "tg_flash")]
   38         output = self.encoder.encode(info)
   39         if isinstance(output, unicode):
   40             output = output.encode(self.encoding)
output undefined, self = <turbojson>, self.encoder = <turbojson>, 
self.encoder.encode = <bound method GenericJSON.encode of <turbojson>>, info = 
{'data': {'active': True, 'address': [(1, 1, {'city': 'Kigali', 'country_id': 
184, 'email': u'[email protected]', 'fax': False, 'function': False, 
'mobile': False, 'name': 'GTZ Programme Sant\xc3\xa9', 'phone': 
'+250-788-300573', 'state_id': False, 'street': '2 avenue Paul VI', ...})], 
'bank_ids': {}, 'category_id': [(6, 0, [])], 'comment': False, 'credit_limit': 
0, 'customer': True, 'date': False, 'events': {}, 'lang': False, ...}, 
'params': {'_terp_offset': 0, '_terp_model': u'res.partner...rp_limit': 20, 
'_terp_view_ids': [False, False]}}, 'tg_flash': None}
 /build/bdist.linux-i686/egg/simplejson/encoder.py in encode(self=<turbojson>, 
o={'data': {'active': True, 'address': [(1, 1, {'city': 'Kigali', 'country_id': 
184, 'email': u'[email protected]', 'fax': False, 'function': False, 
'mobile': False, 'name': 'GTZ Programme Sant\xc3\xa9', 'phone': 
'+250-788-300573', 'state_id': False, 'street': '2 avenue Paul VI', ...})], 
'bank_ids': {}, 'category_id': [(6, 0, [])], 'comment': False, 'credit_limit': 
0, 'customer': True, 'date': False, 'events': {}, 'lang': False, ...}, 
'params': {'_terp_offset': 0, '_terp_model': u'res.partner...rp_limit': 20, 
'_terp_view_ids': [False, False]}}, 'tg_flash': None})

<type>: 'ascii' codec can't decode byte 0xc3 in position 19: ordinal not in 
range(128)
      args = ('ascii', '"GTZ Programme Sant\xc3\xa9"', 19, 20, 'ordinal not in 
range(128)', <function>)
      encoding = 'ascii'
      end = 20
      message = ''
      object = '"GTZ Programme Sant\xc3\xa9"'
      reason = 'ordinal not in range(128)'
      start = 19 

QUOTE ------------- END

Interestingly enough, the code does not seem to like the object name "GTZ 
Programme Santé". However, as the setup is centered on francophone Rwanda, 
accents are a must - and are supported by PostgreSQL's unicode.

IN ADDITION, I cannot encode simple line entries on -> Financial Management -> 
Entries Encoding -> Entries Encoding by Line: As soon as I want to save, even 
with minimal (blue fields only) entries, the following error message appears:

QUOTE ------------- START

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 235, 
in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 74, in 
__call__
    return getattr(self, method)(*params)
  File 
"/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 
526, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, 
in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, 
in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, 
in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File 
"/usr/lib/python2.5/site-packages/openerp-server/addons/account/account_move_line.py",
 line 791, in create
    if ('account_id' in vals) and not account_obj.read(cr, uid, 
vals['account_id'], ['active'])['active']:
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 1897, 
in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 1951, 
in _read_flat
    self._order))
  File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 76, in 
wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 120, 
in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...ELECT "active",id FROM "account_account" WHERE id IN (False)...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need 
to add explicit type casts.

QUOTE ------------- END

These errors are, as you will understand, real killers. As an urgent solution 
is required (and these questions are not asked for the first time without any 
reply!), I would very much appreciate some helpful hints. 
Thanks a million -

Chris




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

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

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


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

Reply via email to