JSONWSPClient example not working
I'm trying to run the "Python JSON-WSP Client" example from http://
With Python 2.7 I get:
Traceback (most recent call last):
File "client.py", line 4, in <module>
cli = JSONWSPClient('http://
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
With Python 3.4 it is:
Traceback (most recent call last):
File "client.py", line 4, in <module>
cli = JSONWSPClient('http://
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError(
ValueError: Expecting value: line 2 column 1 (char 1)
I'm using ladon 0.9.38. Any idea, what's going wrong here?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: