Skip to content

Instantly share code, notes, and snippets.

@zellyn
Created February 23, 2009 17:22
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 zellyn/69067 to your computer and use it in GitHub Desktop.
Save zellyn/69067 to your computer and use it in GitHub Desktop.
bash-3.2$ django-admin.py validate --settings=settings.com.ajc.projects.local
Traceback (most recent call last):
File "/Users/zhunter/Code/inpath/base/django/bin/django-admin.py", line 5, in ?
management.execute_from_command_line()
File "/Users/zhunter/Code/inpath/base/django/core/management/__init__.py", line 331, in execute_from_command_line
utility.execute()
File "/Users/zhunter/Code/inpath/base/django/core/management/__init__.py", line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/zhunter/Code/inpath/base/django/core/management/__init__.py", line 244, in fetch_command
app_name = get_commands()[subcommand]
File "/Users/zhunter/Code/inpath/base/django/core/management/__init__.py", line 100, in get_commands
apps = settings.INSTALLED_APPS
File "/Users/zhunter/Code/inpath/base/django/conf/__init__.py", line 28, in __getattr__
self._import_settings()
File "/Users/zhunter/Code/inpath/base/django/conf/__init__.py", line 59, in _import_settings
self._target = Settings(settings_module)
File "/Users/zhunter/Code/inpath/base/django/conf/__init__.py", line 92, in __init__
mod = __import__(self.SETTINGS_MODULE, {}, {}, [''])
File "/Users/zhunter/Code/inpath/base/settings/com/ajc/projects/local.py", line 180, in ?
ajcapps.ur.keymaster.Mockmaster.slurp()
File "/Users/zhunter/Code/inpath/base/ajcapps/ur/keymaster/mockmaster.py", line 33, in slurp
for profile in [p for p in Profile.objects.all() if p.gatekeeper_user not in [u.id for u in Mockmaster.get_store()]]:
File "/Users/zhunter/Code/inpath/base/django/db/models/query.py", line 185, in _result_iter
self._fill_cache()
File "/Users/zhunter/Code/inpath/base/django/db/models/query.py", line 618, in _fill_cache
self._result_cache.append(self._iter.next())
File "/Users/zhunter/Code/inpath/base/django/db/models/query.py", line 275, in iterator
for row in self.query.results_iter():
File "/Users/zhunter/Code/inpath/base/django/db/models/sql/query.py", line 206, in results_iter
for rows in self.execute_sql(MULTI):
File "/Users/zhunter/Code/inpath/base/django/db/models/sql/query.py", line 1734, in execute_sql
cursor.execute(sql, params)
File "/Users/zhunter/Code/inpath/base/django/db/backends/util.py", line 19, in execute
return self.cursor.execute(sql, params)
File "/Users/zhunter/Code/inpath/base/django/db/backends/mysql/base.py", line 83, in execute
return self.cursor.execute(query, args)
File "/opt/local/lib/python2.4/site-packages/MySQLdb/cursors.py", line 166, in execute
self.errorhandler(self, exc, value)
File "/opt/local/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1054, "Unknown column 'ur_profile.gatekeeper_user' in 'field list'")
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment