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

Open
opened 2019-01-30 20:40:49 +01:00 by decentral1se · 1 comment
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"} ```
Author
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/xppl#8
No description provided.