Hello,
I just attempted to switch from MySQL-python to PyMySQL but I am seeing a lot of exceptions like the following:
Exception AttributeError: "'NoneType' object has no attribute 'pack'" in <bound method Connection.__del__ of <pymysql.connections.Connection object at 0xa81a9aec>> ignored
At first, I suspected it may have something to do with how I'm using the database, but I can't figure out the issue and if I switch back to MySQL-python, it goes away. Has anyone seen this before?
For the record, this is a WSGI application running under mod_wsgi (apache2) using Bottle and SQLAlchemy. My general approach is calling create_engine() in my database class init and then repeat calls to connect() and execute().
Thanks.