| TypeError |
Python 3.13.5: /usr/bin/python3 Fri Dec 19 14:48:31 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/bug-blockers.cgi in <module> |
| 237 else: |
| 238 render_form() |
| 239 |
| 240 if __name__ == '__main__': |
| => 241 main() |
| main = <function main> |
| /srv/udd.debian.org/udd/web/cgi-bin/bug-blockers.cgi in main() |
| 234 form = cgi.FieldStorage() |
| 235 if 'bug' in form: |
| => 236 render_blockers(int(form.getfirst('bug', ''))) |
| 237 else: |
| 238 render_form() |
| global render_blockers = <function render_blockers>, builtin int = <class 'int'>, form = FieldStorage(None, None, [MiniFieldStorage('bug', '641975')]), form.getfirst = <bound method FieldStorage.getfirst of FieldStor...None, None, [MiniFieldStorage('bug', '641975')])> |
| /srv/udd.debian.org/udd/web/cgi-bin/bug-blockers.cgi in render_blockers(bug=641975) |
| 217 subst = { |
| 218 'bug': bug, |
| => 219 'bug_title': bug_title(cursor, bug), |
| 220 'table': ''.join(table), |
| 221 'updated': last_updated(cursor).strftime('%Y-%m-%d %H:%M'), |
| global bug_title = <function bug_title>, cursor = <cursor object at 0x7f496ec9e980; closed: 0>, bug = 641975 |
| /srv/udd.debian.org/udd/web/cgi-bin/bug-blockers.cgi in bug_title(cur=<cursor object at 0x7f496ec9e980; closed: 0>, bug=641975) |
| 110 def bug_title(cur, bug): |
| 111 cur.execute(QUERY_BUG_TITLE, (bug,)) |
| => 112 return cur.fetchone()[0] |
| 113 |
| 114 |
| cur = <cursor object at 0x7f496ec9e980; closed: 0>, cur.fetchone = <built-in method fetchone of psycopg2.extensions.cursor object> |
TypeError: 'NoneType' object is not subscriptable
add_note =
<built-in method add_note of TypeError object>
args =
("'NoneType' object is not subscriptable",)
with_traceback =
<built-in method with_traceback of TypeError object>