You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
big fan of the project but recently
i had a small issue described below 'NoneType' object has no attribute 'name' error in function _get_session_cookies in file session.py
can you please fix this and thanks in advance
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 297, in get
return self.crack(self.request('GET', url, **kwargs))
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 270, in crack
self._apply_cookies(org.url)
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 228, in _apply_cookies
self._set_incap_cookie(test(), self.cookie_domain or host)
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 189, in _set_incap_cookie
cookies = self._get_session_cookies()
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 146, in _get_session_cookies
return [cookie.value for cookie in self.cookies if cookie.name.startswith('incap_ses_')]
File "/usr/local/lib/python3.10/dist-packages/incapsula/session.py", line 146, in <listcomp>
return [cookie.value for cookie in self.cookies if cookie.name.startswith('incap_ses_')]
AttributeError: 'NoneType' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
hello
big fan of the project but recently
i had a small issue described below
'NoneType' object has no attribute 'name' error in function _get_session_cookies in file session.py
can you please fix this and thanks in advance
The text was updated successfully, but these errors were encountered: