c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36066
[Bug 705312] Re: Sometimes, when you click on an item in a tree view, you get a Menu object
OK after trying everything for hours, here is my conclusion. Could you
please check if I'm right?
First here are some relevant links:
http://www.openerp.com/forum/topic12945.html
http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390
The real issue comes from this :
=========================
https://bitbucket.org/cherrypy/cherrypy/issue/853/consistent-time-out-of-the-wsgi-server
If you're using CherryPy 3.1, you have several workarounds:
- either add SetEnv proxy-nokeepalive 1 in your Apache virtualhosts
- better solution: add this in your web client config: server.socket_timeout = 60 (60 is arbitrary)
Changing ProxyTimeout did not change anything for me.
But since the real bug is in cherrypy, the best solution is to upgrade
at least to cherrypy 3.2.0, or 3.2.2.
For the OpenERP web client 6.0 branch maintainers, the best thing is to :
- change the doc in http://doc.openerp.com/v6.0/install/linux/web/index.html to tell CherryPy >= 3.2.0. I woul also require to use at least python>=2.6 (but I've checked the minimal python version required by cherrypy)
- change the requirements in the web client's setup.py to : "CherryPy >= 3.2.0" and not "CherryPy == 3.1.2". BTW it's a bad idea to pin egg versions in the setup.py because you prevent people from upgrading. Versions should rather be chosen either manually, or in a pip requirements file, or better in a buildout [versions] section.
For the buildout part, I'll update the recipe to take this into account.
http://pypi.python.org/pypi/anybox.recipe.openerp
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/705312
Title:
Sometimes, when you click on an item in a tree view, you get a Menu
object
Status in OpenERP Web Client:
Won't Fix
Bug description:
I used the French language when this happenned. I wouldn't reproduced
it with english language.
Administration -> Modules -> Modules
Then, click on a module. I got what is show on the screen after I
clicked on a module. Here the URL:
http://erp6test.we2bs.com/openerp/menu?active=3#url=%2Fopenerp%2Fform%2Fview%3Fmodel%3Dir.ui.menu%26id%3D133%26ids%3D%26view_ids%3D%255BFalse%252C%2520False%255D%26view_mode%3D%255Bu%2527tree%2527%252C%2520u%2527form%2527%255D%26view_type%3Dtree%26domain%3D%255B%28%2527parent_id%2527%252C%2520%2527%253D%2527%252C%252032%29%255D%26context%3D%257B%2527lang%2527%253A%2520u%2527fr_FR%2527%252C%2520%2527client%2527%253A%2520%2527web%2527%252C%2520%2527tz%2527%253A%2520False%252C%2520%2527section_id%2527%253A%2520False%257D%26offset%3D0%26limit%3D20%26count%3D169%26search_domain%3D%255B%255D%26filter_domain%3D%255B%255D%26notebook_tab%3D0
It happend since a moment, and I don't know why. Simetimes it works,
sometime it doesn't. If can't reproduce the bug, try to restart your
browser, and directly go the modules list.
Note: It happend will other tree views, not only modules.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/705312/+subscriptions
References