Package | Bug | Title |
---|
CardinalityViolation | Python 3.9.2: /usr/bin/python3 Sat Feb 8 00:10:18 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/srv/udd.debian.org/udd/web/cgi-bin/wnpp_packaged.cgi in <module> |
64 conn = connect(DATABASE) |
65 cur = conn.cursor() |
=> 66 cur.execute(query) |
67 rows = cur.fetchall() |
68 cur.close() |
cur = <cursor object at 0x7ff9cb53a130; closed: 0>, cur.execute = <built-in method execute of psycopg2.extensions.cursor object>, query = 'WITH qabugs AS (\n SELECT substring(t... FROM upload_history)\n ORDER BY id' |
CardinalityViolation: more than one row returned by a subquery used as an expression
args =
('more than one row returned by a subquery used as an expression\n',)
cursor =
<cursor object at 0x7ff9cb53a130; closed: 0>
diag =
<psycopg2.extensions.Diagnostics object>
pgcode =
'21000'
pgerror =
'ERROR: more than one row returned by a subquery used as an expression\n'
with_traceback =
<built-in method with_traceback of CardinalityViolation object>