python - Django loaddata error doesn't show message -
i have mezzanine app , purpose move data sqlite3 prostgres. found solution solved erors. have wrong again , can't understand happend because got name of error django.db.utils.dataerror. here full traceback:
manage.py loaddata dump.json
traceback (most recent call last): file "d:\gitrepos\newbesturfu\manage.py", line 14, in <module> execute_from_command_line(sys.argv) file "c:\python27\lib\site-packages\django\core\management\__init__.py", line 338, in execute_from_command_line utility.execute() file "c:\python27\lib\site-packages\django\core\management\__init__.py", line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "c:\python27\lib\site-packages\django\core\management\base.py", line 393, in run_from_argv self.execute(*args, **cmd_options) file "c:\python27\lib\site-packages\django\core\management\base.py", line 444, in execute output = self.handle(*args, **options) file "c:\python27\lib\site-packages\django\core\management\commands\loaddata.py", line 60, in handle self.loaddata(fixture_labels) file "c:\python27\lib\site-packages\django\core\management\commands\loaddata.py", line 90, in loaddata self.load_label(fixture_label) file "c:\python27\lib\site-packages\django\core\management\commands\loaddata.py", line 147, in load_label obj.save(using=self.using) file "c:\python27\lib\site-packages\django\core\serializers\base.py", line 173, in save models.model.save_base(self.object, using=using, raw=true) file "c:\python27\lib\site-packages\django\db\models\base.py", line 738, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) file "c:\python27\lib\site-packages\django\db\models\base.py", line 803, in _save_table forced_update) file "c:\python27\lib\site-packages\django\db\models\base.py", line 853, in _do_update return filtered._update(values) > 0 file "c:\python27\lib\site-packages\django\db\models\query.py", line 580, in _update return query.get_compiler(self.db).execute_sql(cursor) file "c:\python27\lib\site-packages\django\db\models\sql\compiler.py", line 1062, in execute_sql cursor = super(sqlupdatecompiler, self).execute_sql(result_type) file "c:\python27\lib\site-packages\django\db\models\sql\compiler.py", line 840, in execute_sql cursor.execute(sql, params) file "c:\python27\lib\site-packages\django\db\backends\utils.py", line 79, in execute return super(cursordebugwrapper, self).execute(sql, params) file "c:\python27\lib\site-packages\django\db\backends\utils.py", line 64, in execute return self.cursor.execute(sql, params) file "c:\python27\lib\site-packages\django\db\utils.py", line 97, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) file "c:\python27\lib\site-packages\django\db\backends\utils.py", line 64, in execute return self.cursor.execute(sql, params) django.db.utils.dataerror
i use windows 10, django 1.8.3 , postgresql 9.4.
does know how show full error message or may know how rid of issue?
Comments
Post a Comment