← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697102] Re: The requested URL's length exceeds the capacity limit for this server.

 

When I returned files to the way they were before your patch the error
message was:


<type 'exceptions.IndexError'> Python 2.5.2: /usr/bin/python
Tue Jan 4 23:11:18 2011 

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-3.1.2-py2.5.egg/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object at 0x8fa4bec>, path_info='/openo2m/edit') 
  604                     if self.handler:
 
  605                         self.stage = 'handler'
 
  606                         cherrypy.response.body = self.handler()
 
  607                     
 
  608                     self.stage = 'before_finalize'
 
global cherrypy = <module 'cherrypy' from '/usr/lib/python2.5/site.../CherryPy-3.1.2-py2.5.egg/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object at 0xb78fbe4c>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object at 0x8fa4bec>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8fc972c> 
 /usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x8fc972c>) 
   23     def __call__(self):
 
   24         try:
 
   25             return self.callable(*self.args, **self.kwargs)
 
   26         except TypeError, x:
 
   27             test_callable_spec(self.callable, self.args, self.kwargs)
 
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8fc972c>, self.callable = <function edit at 0x8cf1fb4>, self.args = (), self.kwargs = {'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/controllers/base.py in wrapper(*args=(), **kw={'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...}) 
  128             # User is logged in; allow access
 
  129             clear_login_fields(kw)
 
  130             return fn(*args, **kw)
 
  131         else:
 
  132             # User isn't logged in yet.
 
fn = <bound method OpenO2M.edit of <openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>>, args = (), kw = {'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/tools/expose.py in func_wrapper(*args=(<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>,), **kw={'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...}) 
  202         def func_wrapper(*args, **kw):
 
  203 
 
  204             res = func(*args, **kw)
 
  205             
 
  206             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
 
global res = '/usr/lib/python2.5/site-packages/openerp_web-5.0...2.5.egg/openerp/controllers/templates/wizard.mako', func = <function edit at 0x88ebaac>, args = (<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>,), kw = {'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/controllers/openo2m.py in edit(self=<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, **kw={'_terp_view_params/_terp_context': "{'lang': u'hr_HR', 'tz': u'Europe/Zagreb', '_ter...'partner', 'active_ids': [263], 'active_id': 263}", '_terp_view_params/_terp_id': '700181', '_terp_view_params/_terp_ids': '[700167, 700173, 700175, 700177, 700181, 700206,..., 700443, 700445, 700447, 700449, 700451, 700455]', '_terp_view_params/_terp_model': 'stock.picking', '_terp_view_params/_terp_view_ids': '[278, 345, 277]', '_terp_view_params/_terp_view_mode': "[u'tree', u'form', u'calendar']", '_terp_view_params/_terp_view_type': 'form', '_terp_view_params/move_l': '', '_terp_view_params/move_lines/_terp_context': '{}', '_terp_view_params/move_lines/_terp_id': '720815', ...}) 
  176     def edit(self, **kw):
 
  177         params, data = TinyDict.split(kw)
 
  178         return self.create(params)
 
  179 
 
  180 # vim: ts=4 sts=4 sw=4 si et
 
self = <openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, self.create = <function create at 0x8af548c>, params = {'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/controllers/base.py in wrapper(*args=({'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []},), **kw={}) 
  128             # User is logged in; allow access
 
  129             clear_login_fields(kw)
 
  130             return fn(*args, **kw)
 
  131         else:
 
  132             # User isn't logged in yet.
 
fn = <bound method OpenO2M.create of <openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>>, args = ({'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []},), kw = {} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/tools/expose.py in func_wrapper(*args=(<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, {'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}), **kw={}) 
  202         def func_wrapper(*args, **kw):
 
  203 
 
  204             res = func(*args, **kw)
 
  205             
 
  206             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
 
global res = '/usr/lib/python2.5/site-packages/openerp_web-5.0...2.5.egg/openerp/controllers/templates/wizard.mako', func = <function create at 0x88f25a4>, args = (<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, {'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}), kw = {} 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/controllers/openo2m.py in create(self=<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, params={'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}, tg_errors=None) 
  120             form = cherrypy.request.terp_form
 
  121         else:
 
  122             form = self.create_form(params, tg_errors)
 
  123 
 
  124         return dict(form=form, params=params)
 
form undefined, self = <openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, self.create_form = <bound method OpenO2M.create_form of <openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>>, params = {'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}, tg_errors = None 
 /usr/lib/python2.5/site-packages/openerp_web-5.0.12-py2.5.egg/openerp/controllers/openo2m.py in create_form(self=<openerp.controllers.openo2m.OpenO2M object at 0x8a917ec>, params={'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}, tg_errors=None) 
   69         form = tw.form_view.ViewForm(vp, name="view_form", action="/openo2m/save")
 
   70         cherrypy.request.terp_validators = {}
 
   71         wid = form.screen.widget.get_widgets_by_name(params.o2m)[0]
 
   72 
 
   73         # save view_params for later phazes
 
wid undefined, form = ViewForm, form.screen = Screen, form.screen.widget = Form, form.screen.widget.get_widgets_by_name = <bound method Form.get_widgets_by_name of Form>, params = {'_terp_view_type': 'form', '_terp_model': None,...icking'}, '_terp_id': None, '_terp_view_ids': []}, params.o2m = None 

<type 'exceptions.IndexError'>: list index out of range 
      args = ('list index out of range',) 
      message = 'list index out of range'

-- 
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/697102

Title:
  The requested URL's length exceeds the capacity limit for this server.

Status in OpenObject Web Client:
  Confirmed

Bug description:
  Hello, i have a problem with web client which happens on creating internal stock moves. I have been getting an error "The requested URL's length exceeds the capacity limit for this server" when trying to raise a form for entering a new product in internal stock picking. I have raised the LimitRequestLine parameter on my apache server and the error isn't showing up anymore, but nothing works on the raised form: i can't select a product or anything else on that form becuase nothing gets validated...

I'm working with client 5.0.12 and server 5.0.14





References