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

Error on login #15

Closed
gegokess opened this issue Dec 2, 2021 · 2 comments
Closed

Error on login #15

gegokess opened this issue Dec 2, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@gegokess
Copy link

gegokess commented Dec 2, 2021

Description of the bug

Traceback (most recent call last):
  File "/opt/homebrew/bin/pytr", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/main.py", line 129, in main
    dl = DL(login(web=weblogin), args.output, args.format, since_timestamp=since_timestamp)
  File "/opt/homebrew/lib/python3.9/site-packages/pytr/account.py", line 77, in login
    for remaining in range(countdown):
TypeError: 'float' object cannot be interpreted as an integer

I receive the error message above while trying to log in. I am entering nothing as "code" since I didn't receive a notification on my mobile device. Older versions used to work.

pytr login

Environment

  • OS: MacOS 12.0.1
  • Version: 0.0.13
@gegokess gegokess added the bug Something isn't working label Dec 2, 2021
@C0D3D3V
Copy link

C0D3D3V commented Dec 6, 2021

If web login does not work for you, you can also use the old login that simulates the app, with the option --applogin.

@gegokess
Copy link
Author

gegokess commented Dec 6, 2021

Thanks for your reponse. The issue was solved by updating the app to the latest version. But maybe others encounter the same problem.

@gegokess gegokess closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants