Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bipython error: ValueError: No JSON object could be decoded #22

Open
mayuroks opened this issue Apr 27, 2015 · 0 comments
Open

bipython error: ValueError: No JSON object could be decoded #22

mayuroks opened this issue Apr 27, 2015 · 0 comments

Comments

@mayuroks
Copy link

While starting bipython getting the below error.

Traceback (most recent call last):
  File "/Users/mrokade/.virtualenvs/cricket/bin/bipython", line 9, in <module>
    load_entry_point('bipython==0.1.2', 'console_scripts', 'bipython')()
  File "/Users/mrokade/.virtualenvs/cricket/lib/python2.7/site-packages/bipython/__init__.py", line 1769, in main
    myrepl = URWIDRepl(event_loop, palette, interpreter, config)
  File "/Users/mrokade/.virtualenvs/cricket/lib/python2.7/site-packages/bipython/__init__.py", line 651, in __init__
    self.ipython = self.connect_ipython_kernel()
  File "/Users/mrokade/.virtualenvs/cricket/lib/python2.7/site-packages/bipython/__init__.py", line 712, in connect_ipython_kernel
    km.load_connection_file()
  File "/Users/mrokade/.virtualenvs/cricket/lib/python2.7/site-packages/IPython/kernel/connect.py", line 504, in load_connection_file
    cfg = json.load(f)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Any ideas how this can be fixed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant