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

i get this while logging in #2

Closed
DARKgod2 opened this issue Dec 21, 2020 · 2 comments
Closed

i get this while logging in #2

DARKgod2 opened this issue Dec 21, 2020 · 2 comments

Comments

@DARKgod2
Copy link

Traceback (most recent call last):
File "main.py", line 530, in
login_logout()
File "main.py", line 59, in login_logout
client = CustomClient(email, password, max_tries=1)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\fbchat_client.py", line 103, in init
self.login(email, password, max_tries, user_agent=user_agent)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\fbchat_state.py", line 188, in from_session
revision = int(r.text.split('"client_revision":', 1)[1].split(",", 1)[0])
IndexError: list index out of range

@MS-Jahan
Copy link
Owner

It's an issue related with fbchat module, not my script. See the issue here.

@MS-Jahan MS-Jahan reopened this Jan 22, 2021
@MS-Jahan
Copy link
Owner

Issue is solved here: fbchat-dev/fbchat#615 (comment)

@MS-Jahan MS-Jahan closed this as completed Mar 2, 2021
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