Skip to content

Token dispenser error #297

@AmirH32

Description

@AmirH32

I am currently getting the following error:

[ERROR] Cannot retrieve email address from token dispenser
Traceback (most recent call last):
  File "/home/user/Documents/project/.venv/bin/gplaycli", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/user/Documents/project/.venv/lib/python3.12/site-packages/gplaycli/gplaycli.py", line 651, in main
    cli.search(args.search, not args.paid)
  File "/home/user/Documents/projectl/.venv/lib/python3.12/site-packages/gplaycli/hooks.py", line 8, in check_connection
    ok, err = self.connect()
              ^^^^^^^^^^^^^^
  File "/home/user/Documents/projectl/.venv/lib/python3.12/site-packages/gplaycli/gplaycli.py", line 412, in connect
    self.retrieve_token()
  File "/home/user/Documents/project/.venv/lib/python3.12/site-packages/gplaycli/gplaycli.py", line 193, in retrieve_token
    raise ERRORS.TOKEN_DISPENSER_SERVER_ERROR
TypeError: exceptions must derive from BaseException

Here is the format of my config file:

token=False
gmail_address =
gmail_password =

[dir]
download_folder = 

[api]
locale =
timezone =

Apologies if the format of the config file is wrong, I am struggling to find any documentation on this library and I can't find any tool that does a similar job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions