You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
using the latest code from the repo (will be testing with release 10)
while initialising the Pushbullet class with my api key decode crashes trying to decode the response from the device list
this is the traceback from the console
File "/Users/oranshuster/PyCharmProjects/naipi/naipi/runner.py", line 150, in main
pb = Pushbullet(API_KEY)
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 29, in init
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 298, in refresh
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 42, in _load_devices
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 37, in _get_data
File "/Library/Python/2.7/site-packages/requests/models.py", line 819, in json
return json.loads(self.text, **kwargs)
File "/Library/Python/2.7/site-packages/simplejson/init.py", line 516, in loads
return _default_decoder.decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
That's strange. I won't ask you for API_KEY since it's secret, but are you
sure that it's a string containing the proper API key without any redundant
spaces?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #77 (comment)
using the latest code from the repo (will be testing with release 10)
while initialising the Pushbullet class with my api key decode crashes trying to decode the response from the device list
this is the traceback from the console
File "/Users/oranshuster/PyCharmProjects/naipi/naipi/runner.py", line 150, in main
pb = Pushbullet(API_KEY)
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 29, in init
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 298, in refresh
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 42, in _load_devices
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 37, in _get_data
File "/Library/Python/2.7/site-packages/requests/models.py", line 819, in json
return json.loads(self.text, **kwargs)
File "/Library/Python/2.7/site-packages/simplejson/init.py", line 516, in loads
return _default_decoder.decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: