Skip to content

Instantly share code, notes, and snippets.

@moraes
Created April 24, 2013 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moraes/5454562 to your computer and use it in GitHub Desktop.
Save moraes/5454562 to your computer and use it in GitHub Desktop.
File "/[...]/webapp/admin.py", line 23, in get
db.metadata.create_all()
File "/[...]/webapp/sqlalchemy/schema.py", line 2784, in create_all
tables=tables)
File "/[...]/webapp/sqlalchemy/engine/base.py", line 1487, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/[...]/webapp/sqlalchemy/engine/base.py", line 1130, in _run_visitor
**kwargs).traverse_single(element)
File "/[...]/webapp/sqlalchemy/sql/visitors.py", line 111, in traverse_single
return meth(obj, **kw)
File "/[...]/webapp/sqlalchemy/engine/ddl.py", line 57, in visit_metadata
if self._can_create_table(t)]
File "/[...]/webapp/sqlalchemy/engine/ddl.py", line 35, in _can_create_table
table.name, schema=table.schema)
File "/[...]/webapp/sqlalchemy/dialects/mysql/base.py", line 2042, in has_table
rs = connection.execute(st)
File "/[...]/webapp/sqlalchemy/engine/base.py", line 664, in execute
params)
File "/[...]/webapp/sqlalchemy/engine/base.py", line 808, in _execute_text
statement, parameters
File "/[...]/webapp/sqlalchemy/engine/base.py", line 878, in _execute_context
context)
File "/[...]/webapp/sqlalchemy/engine/base.py", line 871, in _execute_context
context)
File "/[...]/webapp/sqlalchemy/engine/default.py", line 320, in do_execute
cursor.execute(statement, parameters)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
ProgrammingError: (ProgrammingError) (1146, "Table 'db1.tag' doesn't exist") 'DESCRIBE `tag`' ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment