spacepaste

  1.  
  2. /usr/local/www/com$ ./manage.py schemamigration southBreaker --auto
  3. Traceback (most recent call last):
  4. File "./manage.py", line 12, in <module>
  5. execute_manager(settings)
  6. File "/usr/lib/pymodules/python2.7/django/core/management/__init__.py", line 438, in execute_manager
  7. utility.execute()
  8. File "/usr/lib/pymodules/python2.7/django/core/management/__init__.py", line 379, in execute
  9. self.fetch_command(subcommand).run_from_argv(self.argv)
  10. File "/usr/lib/pymodules/python2.7/django/core/management/base.py", line 191, in run_from_argv
  11. self.execute(*args, **options.__dict__)
  12. File "/usr/lib/pymodules/python2.7/django/core/management/base.py", line 220, in execute
  13. output = self.handle(*args, **options)
  14. File "/usr/lib/pymodules/python2.7/south/management/commands/schemamigration.py", line 91, in handle
  15. (k, v) for k, v in freezer.freeze_apps([migrations.app_label()]).items()
  16. File "/usr/lib/pymodules/python2.7/south/creator/freezer.py", line 34, in freeze_apps
  17. model_defs[model_key(model)] = prep_for_freeze(model)
  18. File "/usr/lib/pymodules/python2.7/south/creator/freezer.py", line 70, in prep_for_freeze
  19. fields = modelsinspector.get_model_fields(model, m2m=True)
  20. File "/usr/lib/pymodules/python2.7/south/modelsinspector.py", line 337, in get_model_fields
  21. args, kwargs = introspector(field)
  22. File "/usr/lib/pymodules/python2.7/south/modelsinspector.py", line 297, in introspector
  23. kwargs[kwd] = get_value(field, defn)
  24. File "/usr/lib/pymodules/python2.7/south/modelsinspector.py", line 255, in get_value
  25. value = value()
  26. File "/home/dvenable/src/com/../com/sayah/models.py", line 42, in default_address
  27. return USAddress.objects.all()[0]
  28. File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 190, in __getitem__
  29. return list(qs)[0]
  30. File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 84, in __len__
  31. self._result_cache.extend(self._iter)
  32. File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 273, in iterator
  33. for row in compiler.results_iter():
  34. File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 680, in results_iter
  35. for rows in self.execute_sql(MULTI):
  36. File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 735, in execute_sql
  37. cursor.execute(sql, params)
  38. File "/usr/lib/pymodules/python2.7/django/db/backends/util.py", line 34, in execute
  39. return self.cursor.execute(sql, params)
  40. File "/usr/lib/pymodules/python2.7/django/db/backends/mysql/base.py", line 86, in execute
  41. return self.cursor.execute(query, args)
  42. File "/usr/lib/pymodules/python2.7/MySQLdb/cursors.py", line 174, in execute
  43. self.errorhandler(self, exc, value)
  44. File "/usr/lib/pymodules/python2.7/MySQLdb/connections.py", line 36, in defaulterrorhandler
  45. raise errorclass, errorvalue
  46. _mysql_exceptions.OperationalError: (1054, "Unknown column 'sayah_usaddress.bogus' in 'field list'")
  47.