Guest User

Untitled

a guest
Sep 8th, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1.  
  2.  
  3. Traceback (most recent call last):
  4.  
  5. File "/opt/noc/lib/python2.6/site-packages/django/core/handlers/base.py", line 188, in get_response
  6. response = middleware_method(request, response)
  7.  
  8. File "/opt/noc/lib/python2.6/site-packages/django/middleware/transaction.py", line 25, in process_response
  9. transaction.commit()
  10.  
  11. File "/opt/noc/lib/python2.6/site-packages/django/db/transaction.py", line 138, in commit
  12. connection.commit()
  13.  
  14. File "/opt/noc/lib/python2.6/site-packages/django/db/backends/__init__.py", line 223, in commit
  15. self._commit()
  16.  
  17. File "/opt/noc/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 235, in _commit
  18. return self.connection.commit()
  19.  
  20. IntegrityError: update or delete on table "ip_prefix" violates foreign key constraint "prefix_id_refs_id_6d41feab" on table "ip_prefixbookmark"
  21. DETAIL: Key (id)=(21176) is still referenced from table "ip_prefixbookmark".
  22.  
  23.  
  24.  
  25. <WSGIRequest
  26. path:/ip/ipam/1/4/176.213.100.0/22/delete/,
  27. GET:<QueryDict: {}>,
  28. POST:<QueryDict: {u'scope': [u'r']}>,
  29. META:{'CONTENT_LENGTH': '7',
  30. 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
  31. 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  32. 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
  33. 'HTTP_ACCEPT_LANGUAGE': 'ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3',
  34. 'HTTP_CONNECTION': 'close',
  35. 'HTTP_HOST': 'noc-server',
  36. 'HTTP_REFERER': 'https://noc-server/ip/ipam/1/4/176.213.100.0/22/delete/',
  37. 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0',
  38. 'PATH_INFO': u'/ip/ipam/1/4/176.213.100.0/22/delete/',
  39. 'QUERY_STRING': '',
  40. 'REMOTE_ADDR': '127.0.0.1',
  41. 'REQUEST_METHOD': 'POST',
  42. 'SCRIPT_NAME': u'',
  43. 'SERVER_NAME': 'noc-server',
  44. 'SERVER_PORT': '80',
  45. 'SERVER_PROTOCOL': 'HTTP/1.0',
  46. 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x1dd0f60>,
  47. 'wsgi.input': <io.BytesIO object at 0x531ff50>,
  48. 'wsgi.multiprocess': True,
  49. 'wsgi.multithread': False,
  50. 'wsgi.run_once': False,
  51. 'wsgi.url_scheme': 'http',
  52. 'wsgi.version': (1, 0)}>
Advertisement
Add Comment
Please, Sign In to add comment