spacepaste

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