Created
November 14, 2011 04:40
-
-
Save jl2/1363251 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 675, in _do_get | |
return self._pool.get(wait, self._timeout) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/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 "testdb.py", line 41, in <module> | |
Base.metadata.drop_all(db_engine) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/schema.py", line 2464, in drop_all | |
tables=tables) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/engine/base.py", line 2226, in _run_visitor | |
conn = self.contextual_connect(close_with_result=False) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/engine/base.py", line 2336, in contextual_connect | |
self.pool.connect(), | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 210, in connect | |
return _ConnectionFairy(self).checkout() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 371, in __init__ | |
rec = self._connection_record = pool._do_get() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 697, in _do_get | |
con = self._create_connection() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 174, in _create_connection | |
return _ConnectionRecord(self) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/pool.py", line 259, in __init__ | |
pool.dispatch.first_connect.exec_once(self.connection, self) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/event.py", line 262, in exec_once | |
self(*args, **kw) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/event.py", line 271, in __call__ | |
fn(*args, **kw) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/engine/strategies.py", line 167, in first_connect | |
dialect.initialize(c) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/dialects/mysql/base.py", line 1893, in initialize | |
self._connection_charset = self._detect_charset(connection) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/dialects/mysql/mysqlconnector.py", line 116, in _detect_charset | |
return connection.connection.get_characterset_info() | |
AttributeError: 'MySQLConnection' object has no attribute 'get_characterset_info' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment