- changed status to wontfix
old mysql versions (< 4.1) still having issues
Issue #2567
resolved
get_isolation_level() needs to raise NotImplemented, also getting this stacktrace:
I get another traceback:
Traceback (most recent call last):
File "./t.py", line 9, in ?
con=engine.connect()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 2472, in connect
return self._connection_cls(self, **kwargs)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 878, in __init__
self.__connection = connection or engine.raw_connection()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 2558, in raw_connection
return self.pool.unique_connection()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/pool.py", line 183, in unique_connection
return _ConnectionFairy(self).checkout()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/pool.py", line 387, in __init__
rec = self._connection_record = pool._do_get()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/pool.py", line 741, in _do_get
con = self._create_connection()
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/pool.py", line 188, in _create_connection
return _ConnectionRecord(self)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/pool.py", line 273, in __init__
pool.dispatch.first_connect.exec_once(self.connection, self)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/event.py", line 282, in exec_once
self(*args, **kw)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/event.py", line 291, in __call__
fn(*args, **kw)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/engine/strategies.py", line 167, in first_connect
dialect.initialize(c)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/dialects/mysql/base.py", line 2005, in initialize
self._detect_ansiquotes(connection)
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/dialects/mysql/base.py", line 2246, in _detect_ansiquotes
mode = row[1](1) or ''
File "/opt/python-2.4/lib/python2.4/site-packages/sqlalchemy/dialects/mysql/base.py", line 2737, in __getitem__
item = self.rowproxy[index](index)
TypeError: unsubscriptable object
(major because of getting old mysql version running)
Comments (2)
-
reporter -
reporter - removed milestone
Removing milestone: 0.7.10 (automated comment)
- Log in to comment
we've established support levels at 4.1 and above. this is not worth trying to fix.