Hi,
In the latest v8.0 repo, when I install im_chat, the server starts logging errors like this:
2014-09-18 17:52:01,152 32356 ERROR tierrafirme openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 499, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 516, in dispatch
result = self._call_function(**self.params)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 282, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 279, in checked_call
return self.endpoint(*a, **kw)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 732, in __call__
return self.method(*args, **kw)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/openerp/http.py", line 375, in response_wrap
response = f(*args, **kw)
File "/srv/odoo/8.0/instances/tierrafirme/odoo/addons/bus/bus.py", line 188, in poll
raise Exception("bus.Bus unavailable")
Exception: bus.Bus unavailable
Also the chat doesn't work properly, the messages do not arrive instantly, the chat windows do not close or minimize.
Is there something else I have to do to install or configure the bus or im_chat module?
Thanks
Hi Carlos, do you have the python-simplejson package installed on your machine? Please refer to the script here: https://github.com/lukebranch/openerp-install-scripts/blob/master/odoo-saas4/ubuntu-14-04/odoo_install.sh for a full list (to the best of my knowledge) of required packages for Odoo 8.0. I've used this script a number of times on a clean Ubuntu 14.04 install and have no problem running Odoo 8.0 in Gevent mode (for live chat). Please post back here with what you find to help any others encountering a similar issue.
Hi Luke, thank you. I found a while ago that the problem is that I wasn't running the server on gevent mode.