Created
November 14, 2011 04:18
-
-
Save jl2/1363219 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 "/Users/jl2/src/SkiTracker/tests/test_db.py", line 31, in setUp | |
Database.create_db(True) | |
File "db.py", line 98, in create_db | |
Base.metadata.drop_all(cls.getEngine()) | |
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 1890, in initialize | |
default.DefaultDialect.initialize(self, connection) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/engine/default.py", line 176, in initialize | |
self._get_default_schema_name(connection) | |
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 1856, in _get_default_schema_name | |
return connection.execute('SELECT DATABASE()').scalar() | |
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 1399, in execute | |
params) | |
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 1576, in _execute_text | |
statement, parameters | |
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 1659, in _execute_context | |
result = context.get_result_proxy() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/SQLAlchemy-0.7.3-py3.2.egg/sqlalchemy/engine/default.py", line 634, in get_result_proxy | |
return base.ResultProxy(self) | |
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 2716, in __init__ | |
self._init_metadata() | |
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 2723, in _init_metadata | |
self._metadata = ResultMetaData(self, metadata) | |
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 2601, in __init__ | |
if keymap.setdefault(name.lower(), rec) is not rec: | |
TypeError: unhashable type: 'bytearray' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment