Created
March 31, 2014 04:41
-
-
Save bsdlp/9885436 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
| >>> print(models.MCServer.query.all()) | |
| Traceback (most recent call last): | |
| File "<console>", line 1, in <module> | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2292, in all | |
| return list(self) | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in instances | |
| rows = [process[0](row, None) for row in fetch] | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in <listcomp> | |
| rows = [process[0](row, None) for row in fetch] | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 481, in _instance | |
| populate_state(state, dict_, row, isnew, attrs) | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 309, in populate_state | |
| populator(state, dict_, row) | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/strategies.py", line 155, in fetch_col | |
| dict_[key] = row[col] | |
| File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/sql/sqltypes.py", line 835, in process | |
| value = value.encode('utf-8') | |
| TypeError: string argument without an encoding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment