Odoo Help

6

Exception during JSON request handling

By
ubik
on 11/17/15, 7:14 AM 3,291 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

Ray Carnes

--Ray Carnes--
17170
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 5/16/17, 5:00 PM

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

0

Grover Menacho

--Grover Menacho--
2563
| 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?

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 11/17/15, 7:14 AM
Seen: 3291 times
Last updated: 5/16/17, 5:00 PM