Garrett
unread,Aug 1, 2009, 1:15:25 PM8/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to South Users
this is my first attempt at using south and i am still fairly new to
django. i am working through the south tutorial and have received the
trace back below. it ends with: "Table
'django_south.south_migrationhistory' doesn't exist". i am currently
on step 2 of the tutorial and i am trying to run migrate for the first
time. i have checked the db and there are no tables in the django db
table. i am using Django version 1.2 pre-alpha SVN-11375. i see that
south is listed to be compatible with django 1.0. could this be the
problem? i hope this helps troubleshoot the issue. thanks for any help
that can be given.
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/Library/Python/2.5/site-packages/django/core/management/
__init__.py", line 362, in execute_manager
utility.execute()
File "/Library/Python/2.5/site-packages/django/core/management/
__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Python/2.5/site-packages/django/core/management/
base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Library/Python/2.5/site-packages/django/core/management/
base.py", line 222, in execute
output = self.handle(*args, **options)
File "/Library/Python/2.5/site-packages/South-0.5-py2.5.egg/south/
management/commands/migrate.py", line 81, in handle
skip = skip,
File "/Library/Python/2.5/site-packages/South-0.5-py2.5.egg/south/
migration.py", line 388, in migrate_app
if longuns:
File "/Library/Python/2.5/site-packages/django/db/models/query.py",
line 112, in __nonzero__
iter(self).next()
File "/Library/Python/2.5/site-packages/django/db/models/query.py",
line 106, in _result_iter
self._fill_cache()
File "/Library/Python/2.5/site-packages/django/db/models/query.py",
line 692, in _fill_cache
self._result_cache.append(self._iter.next())
File "/Library/Python/2.5/site-packages/django/db/models/query.py",
line 238, in iterator
for row in self.query.results_iter():
File "/Library/Python/2.5/site-packages/django/db/models/sql/
query.py", line 287, in results_iter
for rows in self.execute_sql(MULTI):
File "/Library/Python/2.5/site-packages/django/db/models/sql/
query.py", line 2369, in execute_sql
cursor.execute(sql, params)
File "/Library/Python/2.5/site-packages/django/db/backends/util.py",
line 19, in execute
return self.cursor.execute(sql, params)
File "/Library/Python/2.5/site-packages/django/db/backends/mysql/
base.py", line 84, in execute
return self.cursor.execute(query, args)
File "build/bdist.macosx-10.5-i386/egg/MySQLdb/cursors.py", line
166, in execute
File "build/bdist.macosx-10.5-i386/egg/MySQLdb/connections.py", line
35, in defaulterrorhandler
_mysql_exceptions.ProgrammingError: (1146, "Table
'django_south.south_migrationhistory' doesn't exist")