On Mon, May 7, 2018 at 1:45 PM, Anvith Shivakumara <[email protected]> wrote:
> Well this a weird question to be asking at this point.
>
> I have been working on a legacy web service and it's written in Python
> 2.6(maybe legacy is an underrated word here :D) and have been using SQL
> Alchemy 1.0.0 with PyMySQL 0.8.0.
> Every time I try to query, I get the following error:
>
> TypeError: recv_into() arg 1 must be pinned buffer, not byte array.
>
> Can anyone help me what is happening here? If anyone had used the same
> combination of packages back in the day, it would be great to hear how you
> overcame this.
>
> And, upgrading to even 2.7 is not really an option right now for me :(


you should downgrade to an older version of PyMySQL.  Current
requirements are documented
https://pypi.org/project/PyMySQL/#description at Python 2.7 or
greater.



>
> --
> SQLAlchemy -
> The Python SQL Toolkit and Object Relational Mapper
>
> http://www.sqlalchemy.org/
>
> To post example code, please provide an MCVE: Minimal, Complete, and
> Verifiable Example. See http://stackoverflow.com/help/mcve for a full
> description.
> ---
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to