[PSF-Community] Unable to login | fbchat.Client

rami.chowdhury at gmail.com rami.chowdhury at gmail.com
Mon Jul 6 22:32:34 EDT 2020


Hi Shivam,

Please be aware this mailing list is for PSF community-focused 
discussions -- see the list's purpose described at 
https://mail.python.org/mailman/listinfo/psf-community.

I might suggest you participate in the discussion on on the `fbchat` 
project repository on GitHub -- the issue at 
https://github.com/carpedm20/fbchat/issues/598 seems to match the error 
you've pasted. Alternatively, you could try directing your question to 
the general Python list (python-list at python.org, CC'd here).

Regards,
Rami

On Tue, Jul 7, 2020 at 07:52, Shivam Dutt Sharma 
<shivamdutt606 at gmail.com> wrote:
> Dear All,
> 
> I am facing an error while trying to log-in to fbchat.Client. This is 
> obviously despite me entering absolutely correct ID & P/W. It could 
> be because of any latest update in the package, or a user_agent / 
> session (cookies) issue too.
> Prima-facie, if you think a few adjustments need to be made in the 
> client or state file/s, please let me know, else I shall share the 
> complete code link for your perusal.
> 
> Below's the error message. I will be highly grateful, if I can get an 
> idea of where am I going wrong?
> 
> Logging in xxxxxx.x.xxxxxx...
> Attempt #1 failed, retrying
> Traceback (most recent call last):
>   File "C:\Users\my\Anaconda3\lib\site-packages\fbchat\_client.py", 
> line 209, in login
>     user_agent=user_agent,
>   File "C:\Users\my\Anaconda3\lib\site-packages\fbchat\_state.py", 
> line 149, in login
>     return cls.from_session(session=session)
>   File "C:\Users\my\Anaconda3\lib\site-packages\fbchat\_state.py", 
> line 186, in from_session
>     fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
> AttributeError: 'NoneType' object has no attribute 'group'
> 
> Best,
> Shivam Dutt Sharma
> LinkedIn : shivam-dutt-sharma-020456149
> PGP in Machine Learning | NIT Warangal
> Fundraising Volunteer @ The AIM Foundation
> PCEP @ PythonInstitute
> 
> 
> 
> 




More information about the Python-list mailing list