Web client creates segmentation error when viewing partner, and then clicking on "Edit" tab or any of the search pop-up icons (HTTP request too long)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
New
|
Undecided
|
Unassigned |
Bug Description
Dear All,
I am running openerp-server and openerp-web inside a FreeBSD jail (managed via FreeBSD ezjail's facility).
I have installed openerp-server version 5.0.11 from ports, and openerp-web version 5.0.11 via easy_install (as the ports version is 5.0.6 - and produces the same error!).
For diagnostic reasons, I started the openerp server as follows:
su openerp-web -c "/usr/local/
(I did create a non-privileged openerp-web user with home directory for temporary egg caching, etc.!)
The error is reproducible as follows:
I access openerp through the openerp-web client, go to partners, and view any of the partners on file. When I click on the edit button, the openerp-web instance crashed, saying:
-------
195.13.7.35 - - [01/Jul/
Segmentation fault
-------
The debug python message is:
-------
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/local/
604 if self.handler:
605 self.stage = 'handler'
606 cherrypy.
607
608 self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/local/
/usr/local/
23 def __call__(self):
24 try:
25 return self.callable(
26 except TypeError, x:
27 test_callable_
self = <cherrypy.
/usr/local/
168 # User is now logged in, so show the content
169 clear_login_
170 return fn(*args, **kw)
171
172 return tools.decorated
fn = <bound method Form.edit of <openerp.
/usr/local/
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.
global res = '/usr/local/
<type 'exceptions.
args = ('edit() takes at least 2 arguments (1 given)',)
message = 'edit() takes at least 2 arguments (1 given)'
-------
I can restart the openerp-web instance, have to log in again, and find myself in the respective partner editing mode. If I click on any of the list search icons in order to select partner functions or locations, either nothing happens, or, the openerp-web instance crashes again, giving the error messages above.
The above errors do *not* occur, if I use the openerp-client.
Any help would be highly appreciated, as this renders my installation entirely unworkable.
Thanks a lot, end best regards,
Chris
Dear All,
Let me reply to myself: OpenERP-web produces very long URLs. The standard settings for compilation of the python (version 2.5 or 2.6., does not matter!) port see the "larger thread stack" option disabled. Please do enable it! I have lost a lot of time due to crashed openerp-web instances, choking on long URLs. Got this to form Francisco, see above. It may be useful to add this hint to the source package, and certainly to the respective FreeBSD port.
Again, thanks a lot to everyone, and special thanks to the incredibly helpful FreeBSD openerp-web port maintainer Francisco!
Chris