Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

6

Exception during JSON request handling

By
ubik
on 11/17/15, 7:14 AM 2,514 views

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.

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

Adnier Rosello
on 1/23/16, 8:26 PM
0

Grover Menacho

--Grover Menacho--
2523
| 5 7 8
La Paz, Bolivia
--Grover Menacho--

Systems Engineer + MBA

Grover Menacho
On 4/6/16, 12:21 PM

Try it with:

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

or

openerp-gevent


0
Marius Stedjan
On 1/6/16, 1:16 PM

I'm having the same issue.

Anyone who knows what causes this?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/17/15, 7:14 AM
Seen: 2514 times
Last updated: 6/24/16, 8:52 AM