WhatBreach icon indicating copy to clipboard operation
WhatBreach copied to clipboard

For windows platform i get json.decoder.JSONDecodeError

Open N0l2n opened this issue 4 years ago • 4 comments

Hello, please add type for windows platform. I get json.decoder.JSONDecodeError

N0l2n avatar Jan 31 '20 08:01 N0l2n

This is full report:

Traceback (most recent call last): File "whatbreach.py", line 5, in <module> main() File "C:\Users\me\.whatbreach_home\whatbreach\main.py", line 45, in main api_tokens = grab_api_tokens() File "C:\Users\me\.whatbreach_home\lib\settings.py", line 248, in grab_api_tokens tokens[token_identifier] = json.load(data) File "C:\Python\Python38\lib\json\__init__.py", line 293, in load return loads(fp.read(), File "C:\Python\Python38\lib\json\__init__.py", line 357, in loads return _default_decoder.decode(s) File "C:\Python\Python38\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python\Python38\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

N0l2n avatar Jan 31 '20 10:01 N0l2n

same here

Klairm avatar Oct 26 '21 11:10 Klairm

wsl aswell, windows is not the issue

Stef16Robbe avatar Nov 10 '21 12:11 Stef16Robbe

is there a certain token you arent adding?

Ekultek avatar Dec 22 '21 22:12 Ekultek