-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Unsuccessful request: duplicate key value violates unique constraint "catmaid_volume_pkey" DETAIL: Key (id)=(39) already exists.
Version: 2021.12.21.dev0+unknown
URL: /1/fork
Method: POST
Details: Traceback (most recent call last):
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "catmaid_volume_pkey"
DETAIL: Key (id)=(39) already exists.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/rest_framework/decorators.py", line 50, in handler
return func(*args, **kwargs)
File "/home/catmaid/catmaid-flywire-m783/django/applications/catmaid/control/authentication.py", line 237, in inner_decorator
return f(request, *args, **kwargs)
File "/home/catmaid/catmaid-flywire-m783/django/applications/catmaid/control/project.py", line 715, in fork
cursor.execute("""
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/catmaid/catmaid-flywire-m783/django/env/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "catmaid_volume_pkey"
DETAIL: Key (id)=(39) already exists.