Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to decode JSON on start. #309

Open
PierreLeGuen opened this issue Dec 16, 2021 · 3 comments
Open

Fails to decode JSON on start. #309

PierreLeGuen opened this issue Dec 16, 2021 · 3 comments

Comments

@PierreLeGuen
Copy link

Since this morning the script isn’t able to start. Please, find below the error I get:

~/doctoshotgun$ ./doctoshotgun.py fr brest [email protected]
Password: 

Traceback (most recent call last):
  File "/home/user/doctoshotgun/./doctoshotgun.py", line 949, in <module>
    sys.exit(Application().main())
  File "/home/user/doctoshotgun/./doctoshotgun.py", line 744, in main
    docto.load_state(self.load_state())
  File "/home/user/doctoshotgun/./doctoshotgun.py", line 662, in load_state
    state = json.load(fp)
  File "/usr/lib/python3.9/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.9/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)
@nicolaus-hee
Copy link
Contributor

I cannot replicate.

@PierreLeGuen
Copy link
Author

Did you try with 2FA account?

@nicolaus-hee
Copy link
Contributor

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants