[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

UDD python3 transition



Hi,

This page broke recently.

Is it also possible to get this info in raw json or xml  or something ?
(it's not that hard to parse anyway)

https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=cruft-ng@packages.debian.org&tag=cruft

AttributeErrorPython 3.9.2: /usr/bin/python3
Sun Oct 30 17:28:34 2022

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/bts-usertags.cgi in <module>
    314         index()
    315
    316
    317 if __name__ == '__main__':
=>  318     main()
main = <function main>
 /srv/udd.debian.org/udd/web/cgi-bin/bts-usertags.cgi in main()
    306             by_user(user)
    307         elif '%' not in user and '%' not in tag:
=>  308             tagged_bugs(user, tag)
    309         else:
    310             search_result(user, tag)
global tagged_bugs = <function tagged_bugs>, user =
'cruft-ng@packages.debian.org', tag = 'cruft'
 /srv/udd.debian.org/udd/web/cgi-bin/bts-usertags.cgi in
tagged_bugs(user='cruft-ng@packages.debian.org', tag='cruft')
    212                          + result.package,
    213               },
=>  214            cgi.escape(result.title),
    215            '<a href="?bug=%s">list usertags</a>' % result.id,
    216            attrs=attrs)
global cgi = <module 'cgi' from '/usr/lib/python3.9/cgi.py'>,
cgi.escape undefined, result = {'id': 769895, 'package':
'init-system-helpers',...e timestamps on timer unit purge', 'done':
False}, result.title = 'init-system-helpers: deb-systemd-helper should
remove timestamps on timer unit purge'

AttributeError: module 'cgi' has no attribute 'escape'
      args = ("module 'cgi' has no attribute 'escape'",)
      with_traceback = <built-in method with_traceback of AttributeError object>


Reply to: