Closed rpdelaney closed 8 years ago
Have you tried running it in a virtualenv?
virtualenv -p python3 .
source bin/activate
pip install -r requirements.txt
python app.py
(And that's assuming you already followed #21)
Hmm. Now it's this:
(tinder-detective) $ python3 app.py
Traceback (most recent call last):
File "app.py", line 9, in <module>
stalker = api.NSASimulator()
File "/tmp/tinder-detective/api.py", line 42, in __init__
self._load_fb_auth()
File "/tmp/tinder-detective/api.py", line 51, in _load_fb_auth
self.fb_auth = json.load(f)
File "/usr/lib64/python3.5/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib64/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)```
Is your SECRETS.json
file valid? I'd bet you're missing a ,
(or have an extra one).
Yup, there was an error. That did it. Thanks.
In archlinux.