Hello, I've got a problem running my application on PA. The app was previously working great on PA and still work perfectly using on desktop using the development server.
This model was introduce :
class Report(Base) __tablename__ = 'reports' identifier = Column(Integer, primary_key=True) title = Column(String(250), nullable=False, index=True) data = Column(PickleType)
This is the code (simplify) of the problematic view :
reports = session.query(Report).all() return render_template('reports.html', reports=reports)
When there is not any report records in the database it display fine, when there is a report it throw out a '500 : internal server error' and the log file show 'EOFError: Ran out of input'.
I've wonder if it was the size of the record that was causing this troubles (but each LargeBinary field is arround 150 kB only) and I've got only one record in the table but when I switched the view code as following it was working again :
So, that's great for the collection view, but accessing the ressource view (wich need to load the PickleType column) still throw an error and I've got no workaround... Could somebody help me please ?