Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 6th, 2011  |  syntax: None  |  size: 1.27 KB  |  views: 94  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Problem installing fixture '../dumpdata.json': Traceback (most recent call last):
  2.   File "c:\Python26\lib\site-packages\django\core\management\commands\loaddata.py", line 174, in handle
  3.     obj.save(using=using)
  4.   File "c:\Python26\lib\site-packages\django\core\serializers\base.py", line 165, in save
  5.     models.Model.save_base(self.object, using=using, raw=True)
  6.   File "c:\Python26\lib\site-packages\django\db\models\base.py", line 526, in save_base
  7.     rows = manager.using(using).filter(pk=pk_val)._update(values)
  8.   File "c:\Python26\lib\site-packages\django\db\models\query.py", line 491, in _update
  9.     return query.get_compiler(self.db).execute_sql(None)
  10.   File "c:\Python26\lib\site-packages\django\db\models\sql\compiler.py", line 869, in execute_sql
  11.     cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  12.   File "c:\Python26\lib\site-packages\django\db\models\sql\compiler.py", line 735, in execute_sql
  13.     cursor.execute(sql, params)
  14.   File "c:\Python26\lib\site-packages\django\db\backends\util.py", line 34, in execute
  15.     return self.cursor.execute(sql, params)
  16.   File "c:\Python26\lib\site-packages\django\db\backends\sqlite3\base.py", line 234, in execute
  17.     return Database.Cursor.execute(self, query, params)
  18. IntegrityError: column name is not unique
clone this paste RAW Paste Data