Advertisement
Guest User

Untitled

a guest
Jul 10th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. Applying invoices.0005_invoice_gratuity... OK
  2. Applying kombu_transport_django.0001_initial...Traceback (most recent call last):
  3. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
  4. return self.cursor.execute(sql)
  5. psycopg2.ProgrammingError: relation "djkombu_message" already exists
  6.  
  7.  
  8. The above exception was the direct cause of the following exception:
  9.  
  10. Traceback (most recent call last):
  11. File "manage.py", line 19, in <module>
  12. execute_from_command_line(sys.argv)
  13. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
  14. utility.execute()
  15. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
  16. self.fetch_command(subcommand).run_from_argv(self.argv)
  17. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
  18. self.execute(*args, **cmd_options)
  19. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
  20. output = self.handle(*args, **options)
  21. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
  22. fake_initial=fake_initial,
  23. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
  24. state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  25. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
  26. state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  27. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
  28. state = migration.apply(state, schema_editor)
  29. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
  30. operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  31. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/migrations/operations/models.py", line 97, in database_forwards
  32. schema_editor.create_model(model)
  33. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 319, in create_model
  34. self.execute(sql, params or None)
  35. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 136, in execute
  36. cursor.execute(sql, params)
  37. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute
  38. return super(CursorDebugWrapper, self).execute(sql, params)
  39. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
  40. return self.cursor.execute(sql, params)
  41. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
  42. six.reraise(dj_exc_type, dj_exc_value, traceback)
  43. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
  44. raise value.with_traceback(tb)
  45. File "/srv/NEA4OR/venv3/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
  46. return self.cursor.execute(sql)
  47. django.db.utils.ProgrammingError: relation "djkombu_message" already exists
  48.  
  49. (venv3) zonny@tendenci7:/srv/NEA4OR/nea4or$ sudo -u postgres psql -c "DROP TABLE djkombu_message;"
  50. ERROR: table "djkombu_message" does not exist
  51. (venv3) zonny@tendenci7:/srv/NEA4OR/nea4or$ sudo -u postgres psql -c "DROP TABLE djkombu_queue;"
  52. ERROR: table "djkombu_queue" does not exist
  53. (venv3) zonny@tendenci7:/srv/NEA4OR/nea4or$ sudo -u postgres psql -c "DROP TABLE djkombu_message;"
  54. ERROR: table "djkombu_message" does not exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement