Created
March 27, 2011 00:27
-
-
Save natea/888788 to your computer and use it in GitHub Desktop.
Error when running manage.py syncdb on FeinCMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/thisbundle.py", line 52, in <module> | |
run_managepy() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/thisbundle.py", line 37, in run_managepy | |
management.execute_from_command_line() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line | |
utility.execute() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/base.py", line 219, in execute | |
self.validate() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/base.py", line 249, in validate | |
num_errors = get_validation_errors(s, app) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/core/management/validation.py", line 35, in get_validation_errors | |
for (app_name, error) in get_app_errors().items(): | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/loading.py", line 146, in get_app_errors | |
self._populate() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/loading.py", line 61, in _populate | |
self.load_app(app_name, True) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/loading.py", line 78, in load_app | |
models = import_module('.models', app_name) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module | |
__import__(name) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/user-src/example/models.py", line 27, in <module> | |
Page.create_content_type(RawContent) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/feincms/models.py", line 342, in create_content_type | |
cls._create_content_base() | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/feincms/models.py", line 303, in _create_content_base | |
ct = ContentType.objects.get_for_model(cls) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/contrib/contenttypes/models.py", line 38, in get_for_model | |
defaults = {'name': smart_unicode(opts.verbose_name_raw)}, | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/manager.py", line 135, in get_or_create | |
return self.get_query_set().get_or_create(**kwargs) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/query.py", line 376, in get_or_create | |
return self.get(**lookup), False | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/query.py", line 342, in get | |
num = len(clone) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/query.py", line 80, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/query.py", line 271, in iterator | |
for row in compiler.results_iter(): | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 677, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 732, in execute_sql | |
cursor.execute(sql, params) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/backends/util.py", line 15, in execute | |
return self.cursor.execute(sql, params) | |
File "/cust/p00000013/bundle_p00000013_2011-03-26-23.09.07/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute | |
return self.cursor.execute(query, args) | |
django.db.utils.DatabaseError: relation "django_content_type" does not exist | |
LINE 1: ..."."app_label", "django_content_type"."model" FROM "django_co... | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment