py",
> line 220, in _get_session
> self._session_cache = self.load()
> File
> "/usr/local/lib/python3.8/site-packages/django/contrib/sessions/backends/db.py",
> line 44, in load
> return self.decode(s.session_data) if s else {}
> File
> "/u
"/usr/local/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py",
line 126, in _legacy_decode
encoded_data = base64.b64decode(session_data.encode('ascii'))
File "/usr/local/lib/python3.8/base64.py", line 87, in b64decode
return binascii.a2b_base64(s)
b
s else {}
File
"/home/ignisda/.cache/pypoetry/virtualenvs/backend-3DENPaHW-py3.8/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py"
, line 122, in decode
return self._legacy_decode(session_data)
File
"/home/ignisda/.cache/pypoetry/virtualenvs/backend-3DENPaHW-
Using python 3.55 and django 1.10 in my Oauth2 flow (with
django_openid_auth in my installed apps),
my code executes without any errors. But in a python 3.55 and django >=2.0
environment, I get the following error:
Error at /openid/login/
Incorrect padding
I've spent two days searc
Hi,
try removing the \\n at the end it seems to be a bug or maybe while you
exported it new lines were added and now you have these new lines in your
password base64 strings.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
Hello Everyone.
I am trying to decode previously encoded and stored in mysql but ending up
with binascii.Error: Incorrect padding error. I have been using sqllite for
a while with same functionality used to work . When I changed to mysql it
broke things . Any help with it is much appreciated
TypeError at /waybill/deserialize/
Incorrect padding
Request Method: POST
Request URL:http://127.0.0.1:8000/waybill/deserialize/
Django Version: 1.3
Exception Type: TypeError
Exception Value:
Incorrect padding
Exception Location: /Library/Frameworks
7 matches
Mail list logo