Dear All, I ran into the following error of "IntegrityError: columns app_label, model are not unique" when I tried to Sync the data to the db with the command of "manage.py syncdb". I am using python2.5, Django-1.0.2-final, and Window XP. Could anyone be kindly to tell me how to solve this problem? Thank you so much !
The log is listed below: C:\harness>manage.py syncdb Creating table auth_permission Creating table auth_group Creating table auth_user Creating table auth_message Creating table django_content_type Creating table django_session Creating table django_admin_log Creating table pages_language Creating table pages_page Creating table pages_content Creating table hierarchical_hierarchicalnode Creating table hierarchical_hierarchicalobject You just installed Django's auth system, which means you don't have any superusers defined. Would you like to create one now? (yes/no): yes Username (Leave blank to use 'ucantblamem'): admin E-mail address: [email protected] Password: Password (again): Superuser created successfully. Installing index for auth.Permission model Installing index for auth.Message model Installing index for admin.LogEntry model Installing index for pages.Page model Installing index for pages.Content model Installing index for hierarchical.HierarchicalNode model Installing index for hierarchical.HierarchicalObject model Installing json fixture 'initial_data' from '/Users/ucantblamem/Sites/ django-page-cms/pages/fixtures'. Problem installing fixture '/Users/ucantblamem/Sites/django-page-cms/pages/ fixtures/initial_data.json': Traceback (most recent call last): File "/Library/Python/2.5/site-packages/django/core/management/commands/ loaddata.py", line 112, in handle obj.save() File "/Library/Python/2.5/site-packages/django/core/serializers/ base.py", line 170, in save models.Model.save_base(self.object, raw=True) File "/Library/Python/2.5/site-packages/django/db/models/base.py", line 320, in save_base manager.filter(pk=pk_val)._update(values) File "/Library/Python/2.5/site-packages/django/db/models/query.py", line 420, in _update query.execute_sql(None) File "/Library/Python/2.5/site-packages/django/db/models/sql/ subqueries.py", line 112, in execute_sql super(UpdateQuery, self).execute_sql(result_type) File "/Library/Python/2.5/site-packages/django/db/models/sql/query.py", line 1608, in execute_sql cursor.execute(sql, params) File "/Library/Python/2.5/site-packages/django/db/backends/util.py", line 18, in execute return self.cursor.execute(sql, params) File "/Library/Python/2.5/site-packages/django/db/backends/sqlite3/ base.py", line 144, in execute return Database.Cursor.execute(self, query, params) *IntegrityError: columns app_label, model are not unique* I also tried installing the very latest version of Django from the repository, but I had the same issues. He Jibo [email protected] [email protected] --------------------------- He Jibo Department of Psychology, Beckman Institute for Advanced Science and Technology University of Illinois, Urbana Champaign, 603 East Daniel St., Champaign, IL 61820 Tel: 217-244-4461(office) 217-244-6763(lab) Email: [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

