Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/opt/noc/lib/python2.6/site-packages/django/core/handlers/base.py", line 188, in get_response
- response = middleware_method(request, response)
- File "/opt/noc/lib/python2.6/site-packages/django/middleware/transaction.py", line 25, in process_response
- transaction.commit()
- File "/opt/noc/lib/python2.6/site-packages/django/db/transaction.py", line 138, in commit
- connection.commit()
- File "/opt/noc/lib/python2.6/site-packages/django/db/backends/__init__.py", line 223, in commit
- self._commit()
- File "/opt/noc/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 235, in _commit
- return self.connection.commit()
- IntegrityError: update or delete on table "ip_prefix" violates foreign key constraint "prefix_id_refs_id_6d41feab" on table "ip_prefixbookmark"
- DETAIL: Key (id)=(21176) is still referenced from table "ip_prefixbookmark".
- <WSGIRequest
- path:/ip/ipam/1/4/176.213.100.0/22/delete/,
- GET:<QueryDict: {}>,
- POST:<QueryDict: {u'scope': [u'r']}>,
- META:{'CONTENT_LENGTH': '7',
- 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
- 'HTTP_ACCEPT_LANGUAGE': 'ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_HOST': 'noc-server',
- 'HTTP_REFERER': 'https://noc-server/ip/ipam/1/4/176.213.100.0/22/delete/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0',
- 'PATH_INFO': u'/ip/ipam/1/4/176.213.100.0/22/delete/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REQUEST_METHOD': 'POST',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': 'noc-server',
- 'SERVER_PORT': '80',
- 'SERVER_PROTOCOL': 'HTTP/1.0',
- 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x1dd0f60>,
- 'wsgi.input': <io.BytesIO object at 0x531ff50>,
- 'wsgi.multiprocess': True,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>
Advertisement
Add Comment
Please, Sign In to add comment