> I see that a fix was releases, however I don't see any oficial documentation on the website, what is the revision number of the patch?
<email address hidden>
> where can I find documentation about this?
There isn't, I'll try to make a pre-built .wsgi launcher with 6.1 after some more internal cleanup.
Currently, we're just using the fact that a CherryPy application (as returned by cherrypy.tree.mount) is also technically a WSGI application, and we expose the root cherrypy application for the web client in `openobject.application`.
You'll have do configure the server yourself (by calling `openobject.configure` at the very least, check `openobject.commands.start` to see the kind of things the complete configuration takes).
Here is a demo session (with the PYTHONPATH correctly set to be able to import openobject) showing how to launch it using wsgiref's simple_server:
> I see that a fix was releases, however I don't see any oficial documentation on the website, what is the revision number of the patch?
<email address hidden>
> where can I find documentation about this?
There isn't, I'll try to make a pre-built .wsgi launcher with 6.1 after some more internal cleanup.
Currently, we're just using the fact that a CherryPy application (as returned by cherrypy. tree.mount) is also technically a WSGI application, and we expose the root cherrypy application for the web client in `openobject. application` .
You'll have do configure the server yourself (by calling `openobject. configure` at the very least, check `openobject. commands. start` to see the kind of things the complete configuration takes).
Here is a demo session (with the PYTHONPATH correctly set to be able to import openobject) showing how to launch it using wsgiref's simple_server:
>>> import openobject configure( as_dict( 'doc/openerp- web.cfg' )) enable_ static_ paths() server. make_server( '', 8000, openobject. application) forever( )
>>> from cherrypy._cpconfig import as_dict
>>> from wsgiref import simple_server
>>> openobject.
>>> openobject.
>>> httpd = simple_
>>> httpd.serve_
(the enable_static_paths is to serve static files via the cherrypy and thus the WSGI server)