tapetersen/aksite — Issue #2: syncdb fails with no such table: auth_permission 
Author: tapetersen
Created: 2011-12-08 14:31:48+00:00
State: open

No idea why, will check later.

Syncing...
Creating tables ...
Traceback (most recent call last):
File "./manage.py", line 9, in
execute_from_command_line(sys.argv)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/__init__.py", line 422, in execute_from_command_line
utility.execute()
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/__init__.py", line 361, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/base.py", line 355, in handle
return self.handle_noargs(**options)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 90, in handle_noargs
syncdb.Command().execute(**options)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/base.py", line 355, in handle
return self.handle_noargs(**options)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 109, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive, db)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/core/management/sql.py", line 189, in emit_post_sync_signal
interactive=interactive, db=db)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 172, in send
response = receiver(signal=self, sender=sender, **named)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 46, in create_permissions
"content_type", "codename"
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/models/query.py", line 117, in _result_iter
self._fill_cache()
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/models/query.py", line 1046, in iterator
for row in self.query.get_compiler(self.db).results_iter():
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 701, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 756, in execute_sql
cursor.execute(sql, params)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/backends/util.py", line 36, in execute
return self.cursor.execute(sql, params)
File "/home/tapetersen/envs/aksite/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 305, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.DatabaseError: no such table: auth_permission