Function declared as capable of handling request of type 'json' but called with a request of type 'http'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-mobile |
Invalid
|
Medium
|
Dharmang Soni (OpenERP) |
Bug Description
Looks like the app is not working with current trunk with website module enabled. I got unable to connect to server error when trying to configure new server/account and in the error log on server side is following:
2014-02-05 00:14:40,091 30539 INFO None werkzeug: 192.168.47.251 - - [05/Feb/2014 00:14:40] "POST /web/webclient/
2014-02-05 00:14:40,098 30539 ERROR None werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/
execute(
File "/usr/local/
application
File "/usr/share/
return self.app(e,s)
File "/usr/share/
return application_
File "/usr/share/
result = handler(environ, start_response)
File "/usr/share/
return self.dispatch(
File "/usr/share/
return self.app(environ, start_wrapped)
File "/usr/local/
return self.app(environ, start_response)
File "/usr/share/
result = _dispatch_nodb()
File "/usr/share/
result = request.dispatch()
File "/usr/share/
r = self._call_
File "/usr/share/
% (self.func, self.httpreques
Exception: <openerp.
Changed in openerp-mobile: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Dharmang Soni (OpenERP) (dpr-openerp) |
Hello Ondra Knezour,
I have tested application with latest trunk and its working fine at my side. Please upgrade your trunk with latest revisions will solved your issue.
Thanks,
Dharmang Soni (dpr)