Community mailing list archives

community@mail.odoo.com

Re: "Discuss"-module generating tons of errors in browser console

by Olivier Dony <odo@openerp.com> - 10/15/2015 04:37:33
On 10/14/2015 09:52 PM, Arjan Duijs wrote:
> after installing the CRM module the "Discuss"-module is automatically installed.
>
> however the latter is generating tons of errors similar like the one below.
> Since it says "bus unavailable" i am asuming it has to do with "gevent".
>
> searching on google i found somehting about starting the server in gevent modus.
> but how would you do that with WSGI?

Have a look at the doc for WSGI mode + livechat/bus:
 
https://www.odoo.com/documentation/9.0/setup/deploy.html#odoo-as-a-wsgi-application




>
> hope anyone can shed some light on this
>
> Server application error{
>      "message":  "Odoo Server Error",
>      "code":  200,
>      "data":  {
>          "debug":  "Traceback (most recent call last):\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 599, in _handle_exception\nreturn super(JsonRequest,
> self)._handle_exception(exception)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 636, in dispatch\nresult = self._call_function(**self.params)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 315, in _call_function\nreturn checked_call(self.db, *args,
> **kwargs)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/service/model.py\",
> line 113, in wrapper\nreturn f(dbname, *args, **kwargs)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 308, in checked_call\nresult = self.endpoint(*a, **kw)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 887, in __call__\nreturn self.method(*args, **kw)\nFile
> \"/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py\",
> line 465, in response_wrap\nresponse = f(*args, **kw)\nFile
> \"/home/josesapelli/webapps/odoo/odoo/addons/bus/controllers/main.py\", line
> 34, in poll\nraise Exception(\"bus.Bus unavailable\")\nException: bus.Bus
> unavailable\n",
>          "exception_type":  "internal_error",
>          "message":  "bus.Bus unavailable",
>          "name":  "exceptions.Exception",
>          "arguments":  ["bus.Bus unavailable"]
>      }
>
> }