Skip to content

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

Description

@mayuroks

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions