Skip to Content
Menú
This question has been flagged
4 Respostes
16771 Vistes

Hi, I'm writing my first module for Odoo (v9.0). To do that I installed OS requirements using the package manager and odoo using git. Starting the server I get this output:

ERROR test_00 openerp.http: Exception during JSON request handling.
...
Exception: bus.Bus only string channels are allowed.


I'm not sure why this happens and how to fix, any idea?

The full traceback:

(odoo_test00)vagrant@trusty:~/devel/odoo_test00$ odoo.py --db-filter=test_00 --log-level warn
2015-11-17 11:07:58,610 17343 ERROR test_00 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 599, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 636, in dispatch
result = self._call_function(**self.params)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 315, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/vagrant/devel/repos/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 308, in checked_call
result = self.endpoint(*a, **kw)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 887, in __call__
return self.method(*args, **kw)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 465, in response_wrap
response = f(*args, **kw)
File "/home/vagrant/devel/repos/odoo/addons/bus/controllers/main.py", line 36, in poll
raise Exception("bus.Bus only string channels are allowed.")
Exception: bus.Bus only string channels are allowed.
2015-11-17 11:07:58,813 17343 ERROR test_00 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 599, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 636, in dispatch
result = self._call_function(**self.params)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 315, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/vagrant/devel/repos/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 308, in checked_call
result = self.endpoint(*a, **kw)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 887, in __call__
return self.method(*args, **kw)
File "/home/vagrant/devel/repos/odoo/openerp/http.py", line 465, in response_wrap
response = f(*args, **kw)
File "/home/vagrant/devel/repos/odoo/addons/bus/controllers/main.py", line 36, in poll
raise Exception("bus.Bus only string channels are allowed.")
Exception: bus.Bus only string channels are allowed.
Avatar
Descartar

I have the same problem in this version, do you found any solution?

Best Answer

Did you see [FIX] mail: avoid errors in /longpolling/poll requests at https://github.com/odoo/odoo/commit/d7b7b07f9e9ead98d6ecc3e5ce3dca4d4a4a2b6f ?

Avatar
Descartar

Done the above fix. but the Same error is coming when dealing with pos multi session. Is there any solution ?

Best Answer

Try it with:

openerp-server --db-filter=test_00 --log-level warn

or

openerp-gevent


Avatar
Descartar
Best Answer

I'm having the same issue.

Anyone who knows what causes this?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 23
1955
1
de nov. 21
6097
0
de jul. 24
4583
0
d’oct. 19
3245
1
de nov. 18
3064