Error at line 61 in util.py #2
Unanswered
emeryguendehou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run quickstar.py, I have in util.py this error : "Exception has occurred: Exception
Login Failed
File "C:\Users\emery\OneDrive\Bureau\ThreadsBot\MetaThreads-master\metathreads\util.py", line 59, in get_auth_token
token_data = token_data_regex.search(str(token_location)).group(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
During handling of the above exception, another exception occurred:
File "C:\Users\emery\OneDrive\Bureau\ThreadsBot\MetaThreads-master\metathreads\util.py", line 61, in get_auth_token
raise Exception('Login Failed')
File "C:\Users\emery\OneDrive\Bureau\ThreadsBot\MetaThreads-master\metathreads\metathreads.py", line 55, in login
token_data, self.logged_in_user = util.get_auth_token(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\emery\OneDrive\Bureau\ThreadsBot\MetaThreads-master\quickstart.py", line 14, in main
threads.login(username, password)
File "C:\Users\emery\OneDrive\Bureau\ThreadsBot\MetaThreads-master\quickstart.py", line 52, in
main()
Exception: Login Failed".
Does anyone know why ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions