please use at least version 0.7.9:

http://docs.sqlalchemy.org/en/rel_0_8/changelog/changelog_07.html#change-5e04bb001a3d1f81860ab0a3eb880c8c



On Jan 21, 2013, at 5:53 AM, Jürg Hofmann wrote:

> Hy
> 
> I am using sqlalchemy 0.7.8 with python 3.2 on a debian wheezy system.
> When i try to connect to a mysql database version 5.1.66 using the 
> mysqlconnector version 1.0.8 i get the following error:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 719, in 
> _do_get
>     return self._pool.get(wait, self._timeout)
>   File "/usr/lib/python3/dist-packages/sqlalchemy/util/queue.py", line 137, 
> in get
>     raise Empty
> sqlalchemy.util.queue.Empty
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/bottle.py", line 745, in _handle
>     return route.call(**args)
>   File "/usr/lib/python3/dist-packages/bottle.py", line 1480, in wrapper
>     rv = callback(*a, **ka)
>   File "bp.py", line 7473, in au_suchen
>     shop_connection = shop_engine.connect()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2474, 
> in connect
>     return self._connection_cls(self, **kwargs)
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 878, 
> in __init__
>     self.__connection = connection or engine.raw_connection()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2560, 
> in raw_connection
>     return self.pool.unique_connection()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 183, in 
> unique_connection
>     return _ConnectionFairy(self).checkout()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 387, in 
> __init__
>     rec = self._connection_record = pool._do_get()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 741, in 
> _do_get
>     con = self._create_connection()
>   File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 188, in 
> _create_connection
>     return _ConnectionRecord(self)
> AttributeError: 'MySQLConnection' object has no attribute 'set_client_flag'
> 
> Direct connecting (without using sqlalchemy) is working well.
> 
> Any ideas what i am doing wrong?
> 
> Many thanks
> 
> Jürg Hofmann
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/sqlalchemy/-/qnwKv109AmAJ.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to