ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.52k stars 391 forks source link

[Bug]: No such file or directory: 'token.pickle' #1089

Closed cookies5219 closed 3 months ago

cookies5219 commented 5 months ago

Duplicate Issues

What happened?

trying to run gives me a error after signing in

Release version

2.17.1

Steps to reproduce

  1. get client_secrets.json
  2. run program
  3. sign in

What platform are you seeing this problem on?

Windows (.exe file)

Relevant log output

Loading YT Spammer Purge @ 2.17.1...

Please login using the browser window that opened just now.

Waiting for authorization. See message above.
[OK] Authorization Complete.

Traceback (most recent call last):
  File "Scripts\auth.py", line 82, in first_authentication
  File "Scripts\auth.py", line 73, in get_authenticated_service
FileNotFoundError: [Errno 2] No such file or directory: 'token.pickle'
----------------
[!!!] Error: [Errno 2] No such file or directory: 'token.pickle'
If you think this is a bug, you may report it on this project's GitHub page: https://github.com/ThioJoe/YT-Spammer-Purge/issues

Error Code A-1: Something went wrong during authentication. Try deleting the token.pickle file.
Press Enter to Exit...

Screenshots

No response

PacoBell commented 3 months ago

Did you make sure the file is renamed "client_secrets.json", verbatim, and not whatever Google names it by default? Is it in the same directory as the binary?

cookies5219 commented 3 months ago

i no longer use windows and forgot so im closing this