UNIQUE constraint failed: books_instances.book_id, books_instances.instance_id #8

Open
opened 6 years ago by decentral1se · 1 comments
Owner
[2019-01-30 20:34:17,596] ERROR in app: Exception on /uploads/21_Spektrum_Community_Report_Oct2018_CCBY30DE.pdf [GET]
Traceback (most recent call last):
  File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
    context)
  File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 509, in do_execute
    cursor.execute(statement, parameters)
  File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/pyrqlite/cursors.py", line 178, in execute
    raise Error(json.dumps(item))
sqlite3.Error: {"error": "UNIQUE constraint failed: books_instances.book_id, books_instances.instance_id"}
``` [2019-01-30 20:34:17,596] ERROR in app: Exception on /uploads/21_Spektrum_Community_Report_Oct2018_CCBY30DE.pdf [GET] Traceback (most recent call last): File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context context) File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 509, in do_execute cursor.execute(statement, parameters) File "/home/xppl/.local/share/virtualenvs/xppl-UCsE39NU/lib/python3.5/site-packages/pyrqlite/cursors.py", line 178, in execute raise Error(json.dumps(item)) sqlite3.Error: {"error": "UNIQUE constraint failed: books_instances.book_id, books_instances.instance_id"} ```
Poster
Owner

Also saw:

sqlalchemy.exc.DBAPIError: (sqlite3.Error) {"error": "UNIQUE constraint failed: books_instances.book_id, books_instances.instance_id"} [SQL: 'INSERT INTO books_instances (book_id, instance_id) VALUES (?, ?)'] [parameters: (22, 296)] (Background on this error at: http://sqlalche.me/e/dbapi)
[2019-01-30 20:35:56,093] ERROR in app: Exception on /updates [GET]
Also saw: ``` sqlalchemy.exc.DBAPIError: (sqlite3.Error) {"error": "UNIQUE constraint failed: books_instances.book_id, books_instances.instance_id"} [SQL: 'INSERT INTO books_instances (book_id, instance_id) VALUES (?, ?)'] [parameters: (22, 296)] (Background on this error at: http://sqlalche.me/e/dbapi) [2019-01-30 20:35:56,093] ERROR in app: Exception on /updates [GET] ``` ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.