fbchat-dev/fbchat

Can't login in v2.0.0a3 but can in previous versions

Open

#582 geöffnet am 26. Mai 2020

Auf GitHub ansehen
 (16 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (406 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (1.210 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description of the problem

Attempting to login using fbchat v2.0.0a3 throws an error, see Traceback below. I can login as expected using 2.0.0a2 and 1.9.6..

Someone else has had the same problem, and could also solve by using v2.0.0a2, see https://github.com/carpedm20/fbchat/issues/581

Seems related to the solution to https://github.com/carpedm20/fbchat/issues/413, in particular commit https://github.com/carpedm20/fbchat/commit/079d4093c4f0febf004c6cf8f6972f157833a4f7

Code to reproduce

import fbchat

session = fbchat.Session.login("<username snipped>", "<password snipped>")

Traceback

Traceback (most recent call last):
  File "hello.py", line 4, in <module>
    session = fbchat.Session.login("<username snipped>", "<password snipped>")
  File "/Users/matt/programming/python/patrick2/venv/lib/python3.7/site-packages/fbchat/_session.py", line 290, in login
    raise _exception.NotLoggedIn(error)
fbchat.NotLoggedIn: Password Forgot account?

Environment information

  • Python version 3.7.7
  • fbchat version 2.0.0a3 (installed with pip install fbchat==2.0.0a3)

Contributor Guide