Page 1 of 1

Linux Pysnip server Error, looking for tips

Posted: Tue Nov 04, 2014 5:34 am
by studcase
So when I try
Code: Select all
sh run_server.sh
as outlined on the PySnips wiki (here: https://code.google.com/p/pysnip/wiki/SetupUbuntu)
I get the following error:
Code: Select all
Traceback (most recent call last):
  File "run.py", line 33, in <module>
    config = json.load(open(name, 'rb'))
  File "/usr/lib/python2.7/json/__init__.py", line 278, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Looking for any help or info to point me in the right direction.

Re: Linux Pysnip server Error, looking for tips

Posted: Wed Nov 05, 2014 2:09 pm
by studcase
Bumping...really trying to find a solution for this.

Re: Linux Pysnip server Error, looking for tips

Posted: Wed Nov 05, 2014 6:35 pm
by LeCom
Check your config.txt
The error above clearly shows that you made a mistake while editing it.

Re: Linux Pysnip server Error, looking for tips

Posted: Wed Nov 05, 2014 11:42 pm
by learn_more
yeah well, if he can't edit a config file he shouldnt be running a server anyway.

Re: Linux Pysnip server Error, looking for tips

Posted: Fri Nov 07, 2014 6:38 am
by studcase
Ok I managed to fix the problem by replacing the config.txt with the default one in the pysnip package. Thanks.