Advertisement
Guest User

Untitled

a guest
Jun 25th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "ignition.py", line 598, in <module>
  3. main()
  4. File "ignition.py", line 554, in main
  5. load_fixtures()
  6. File "ignition.py", line 67, in load_fixtures
  7. run_command('pg_restore -i -h localhost -p 5432 -U postgres -d db1 -v "/var/lib/project/backup/db1.backup" -c')
  8. File "/var/lib/project/popen_helper.py", line 30, in run_command
  9. raise Exception, mesg
  10. Exception: Error [-9]: pg_restore -i -h localhost -p 5432 -U postgres -d db1 -v "/var/lib/project/backup/db1.backup" -c
  11. Detail: pg_restore: connecting to database for restore
  12. pg_restore: dropping FK CONSTRAINT user_group_user_id_fkey
  13. pg_restore: [archiver (db)] Error while PROCESSING TOC:
  14. pg_restore: [archiver (db)] Error from TOC entry 1853; 2606 57664 FK CONSTRAINT user_group_user_id_fkey postgres
  15. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_group_user_id_fkey" of relation "user_group" does not exist
  16. Command was:
  17. ALTER TABLE ONLY public.user_group DROP CONSTRAINT user_group_user_id_fkey;
  18. pg_restore: dropping FK CONSTRAINT user_group_group_id_fkey
  19. pg_restore: [archiver (db)] Error from TOC entry 1854; 2606 57669 FK CONSTRAINT user_group_group_id_fkey postgres
  20. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_group_group_id_fkey" of relation "user_group" does not exist
  21. Command was: ALTER TABLE ONLY public.user_group DROP CONSTRAINT user_group_group_id_fkey;
  22. pg_restore: dropping FK CONSTRAINT group_permission_permission_id_fkey
  23. pg_restore: [archiver (db)] Error from TOC entry 1856; 2606 57682 FK CONSTRAINT group_permission_permission_id_fkey postgres
  24. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_permission_permission_id_fkey" of relation "group_permission" does not exist
  25. Command was: ALTER TABLE ONLY public.group_permission DROP CONSTRAINT group_permission_permission_id_fkey;
  26. pg_restore: dropping FK CONSTRAINT group_permission_group_id_fkey
  27. pg_restore: [archiver (db)] Error from TOC entry 1855; 2606 57677 FK CONSTRAINT group_permission_group_id_fkey postgres
  28. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_permission_group_id_fkey" of relation "group_permission" does not exist
  29. Command was: ALTER TABLE ONLY public.group_permission DROP CONSTRAINT group_permission_group_id_fkey;
  30. pg_restore: dropping FK CONSTRAINT code_tag_tag_id_fkey
  31. pg_restore: [archiver (db)] Error from TOC entry 1858; 2606 57698 FK CONSTRAINT code_tag_tag_id_fkey postgres
  32. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "code_tag_tag_id_fkey" of relation "code_tag" does not exist
  33. Command was: ALTER TABLE ONLY public.code_tag DROP CONSTRAINT code_tag_tag_id_fkey;
  34. pg_restore: dropping FK CONSTRAINT code_tag_code_id_fkey
  35. pg_restore: [archiver (db)] Error from TOC entry 1857; 2606 57693 FK CONSTRAINT code_tag_code_id_fkey postgres
  36. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "code_tag_code_id_fkey" of relation "code_tag" does not exist
  37. Command was: ALTER TABLE ONLY public.code_tag DROP CONSTRAINT code_tag_code_id_fkey;
  38. pg_restore: dropping CONSTRAINT user_user_name_key
  39. pg_restore: [archiver (db)] Error from TOC entry 1850; 2606 57650 CONSTRAINT user_user_name_key postgres
  40. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_user_name_key" of relation "user" does not exist
  41. Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_user_name_key;
  42. pg_restore: dropping CONSTRAINT user_pkey
  43. pg_restore: [archiver (db)] Error from TOC entry 1848; 2606 57648 CONSTRAINT user_pkey postgres
  44. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_pkey" of relation "user" does not exist
  45. Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_pkey;
  46. pg_restore: dropping CONSTRAINT user_email_address_key
  47. pg_restore: [archiver (db)] Error from TOC entry 1846; 2606 57652 CONSTRAINT user_email_address_key postgres
  48. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_email_address_key" of relation "user" does not exist
  49. Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_email_address_key;
  50. pg_restore: dropping CONSTRAINT tag_pkey
  51. pg_restore: [archiver (db)] Error from TOC entry 1828; 2606 57574 CONSTRAINT tag_pkey postgres
  52. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "tag_pkey" of relation "tag" does not exist
  53. Command was: ALTER TABLE ONLY public.tag DROP CONSTRAINT tag_pkey;
  54. pg_restore: dropping CONSTRAINT tag_name_key
  55. pg_restore: [archiver (db)] Error from TOC entry 1826; 2606 57576 CONSTRAINT tag_name_key postgres
  56. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "tag_name_key" of relation "tag" does not exist
  57. Command was: ALTER TABLE ONLY public.tag DROP CONSTRAINT tag_name_key;
  58. pg_restore: dropping CONSTRAINT runtable_pkey
  59. pg_restore: [archiver (db)] Error from TOC entry 1852; 2606 57660 CONSTRAINT runtable_pkey postgres
  60. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "runtable_pkey" of relation "runtable" does not exist
  61. Command was: ALTER TABLE ONLY public.runtable DROP CONSTRAINT runtable_pkey;
  62. pg_restore: dropping CONSTRAINT permission_pkey
  63. pg_restore: [archiver (db)] Error from TOC entry 1836; 2606 57603 CONSTRAINT permission_pkey postgres
  64. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "permission_pkey" of relation "permission" does not exist
  65. Command was: ALTER TABLE ONLY public.permission DROP CONSTRAINT permission_pkey;
  66. pg_restore: dropping CONSTRAINT permission_permission_name_key
  67. pg_restore: [archiver (db)] Error from TOC entry 1834; 2606 57605 CONSTRAINT permission_permission_name_key postgres
  68. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "permission_permission_name_key" of relation "permission" does not exist
  69. Command was: ALTER TABLE ONLY public.permission DROP CONSTRAINT permission_permission_name_key;
  70. pg_restore: dropping CONSTRAINT group_pkey
  71. pg_restore: [archiver (db)] Error from TOC entry 1844; 2606 57635 CONSTRAINT group_pkey postgres
  72. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_pkey" of relation "group" does not exist
  73. Command was: ALTER TABLE ONLY public."group" DROP CONSTRAINT group_pkey;
  74. pg_restore: dropping CONSTRAINT group_group_name_key
  75. pg_restore: [archiver (db)] Error from TOC entry 1842; 2606 57637 CONSTRAINT group_group_name_key postgres
  76. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_group_name_key" of relation "group" does not exist
  77. Command was: ALTER TABLE ONLY public."group" DROP CONSTRAINT group_group_name_key;
  78. pg_restore: dropping CONSTRAINT codes_pkey
  79. pg_restore: [archiver (db)] Error from TOC entry 1830; 2606 57584 CONSTRAINT codes_pkey postgres
  80. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "codes_pkey" of relation "codes" does not exist
  81. Command was: ALTER TABLE ONLY public.codes DROP CONSTRAINT codes_pkey;
  82. pg_restore: dropping CONSTRAINT buildtable_pkey
  83. pg_restore: [archiver (db)] Error from TOC entry 1840; 2606 57624 CONSTRAINT buildtable_pkey postgres
  84. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "buildtable_pkey" of relation "buildtable" does not exist
  85. Command was: ALTER TABLE ONLY public.buildtable DROP CONSTRAINT buildtable_pkey;
  86. pg_restore: dropping CONSTRAINT buildreftable_pkey
  87. pg_restore: [archiver (db)] Error from TOC entry 1832; 2606 57592 CONSTRAINT buildreftable_pkey postgres
  88. pg_restore: [archiver (db)] could not execute query: ERROR: constraint "buildreftable_pkey" of relation "buildreftable" does not exist
  89. Command was: ALTER TABLE ONLY public.buildreftable DROP CONSTRAINT buildreftable_pkey;
  90. pg_restore: dropping CONSTRAINT bbds_registry_pkey
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement