Linux Pysnip server Error, looking for tips

Installation support, coding tips, and general tutorials.
5 posts Page 1 of 1 First unread post
studcase
Winter Celebration 2013
Winter Celebration 2013
Posts: 4
Joined: Thu Dec 13, 2012 5:47 pm


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.
studcase
Winter Celebration 2013
Winter Celebration 2013
Posts: 4
Joined: Thu Dec 13, 2012 5:47 pm


Bumping...really trying to find a solution for this.
LeCom


Check your config.txt
The error above clearly shows that you made a mistake while editing it.
learn_more
Coder
Coder
Posts: 891
Joined: Sun Mar 24, 2013 9:59 pm


yeah well, if he can't edit a config file he shouldnt be running a server anyway.
studcase
Winter Celebration 2013
Winter Celebration 2013
Posts: 4
Joined: Thu Dec 13, 2012 5:47 pm


Ok I managed to fix the problem by replacing the config.txt with the default one in the pysnip package. Thanks.
5 posts Page 1 of 1 First unread post
Return to “Help!”

Who is online

Users browsing this forum: No registered users and 9 guests