pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
501 stars 239 forks source link

Having issues with loading session using sqlalchemy backend #26

Closed markosski closed 7 months ago

markosski commented 8 years ago

I noticed there was a fix added for Python 3 to the way session string is handled but I'm still having problems. data = self.serializer.loads(want_bytes(val)) When this line executes in open_session I'm still not getting my session back. I poked around I noticed pickle is raising exception of type _pickle.UnpicklingError with no message to it.

Python 3.4.0 SQLAlchemy 0.9.8 + MySQL 5.5 Flask 0.10.1

markosski commented 8 years ago

In order to make it work I had to do the following changes.

mcrowson commented 7 years ago

This issue was moved to mcrowson/flask-session#8

Lxstr commented 7 months ago

Fixed post 0.6.0