[Python-apps-team] Bug#976245: mugshot: Muhshot fails with AttributeError: 'ElementTree' object has no attribute 'getiterator' in console
Juozas Pocius
juozaspo at gmail.com
Wed Dec 2 04:08:43 GMT 2020
Package: mugshot
Version: 0.4.2-1
Severity: important
X-Debbugs-Cc: juozaspo at gmail.com
Dear Maintainer,
I'm unable to run mugshot, as it fails with error in console as shown below
It triggers a python3 error when trying to run it, with python 3.9 as default,
window does not open, so I'm unable to edit user information.
Terminal output:
$ mugshot
Traceback (most recent call last):
File "/usr/bin/mugshot", line 36, in <module>
mugshot.main()
File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 47, in main
window = MugshotWindow.MugshotWindow()
File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 51, in
__new__
builder = get_builder('MugshotWindow')
File "/usr/lib/python3/dist-packages/mugshot_lib/helpers.py", line 43, in
get_builder
builder.add_from_file(ui_filename)
File "/usr/lib/python3/dist-packages/mugshot_lib/Builder.py", line 92, in
add_from_file
ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-4-amd64 (SMP w/2 CPU threads)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mugshot depends on:
ii accountsservice 0.6.55-3
ii dconf-gsettings-backend [gsettings-backend] 0.38.0-1
ii gir1.2-gdkpixbuf-2.0 2.40.0+dfsg-8
ii gir1.2-glib-2.0 1.66.1-1+b1
ii gir1.2-gst-plugins-base-1.0 1.18.1-1
ii gir1.2-gstreamer-1.0 1.18.1-1
ii gir1.2-gtk-3.0 3.24.23-3
ii python3 3.9.0-3
ii python3-cairo 1.16.2-4+b1
ii python3-dbus 1.2.16-4
ii python3-gi 3.38.0-1+b1
ii python3-pexpect 4.6.0-4
Versions of packages mugshot recommends:
pn gir1.2-cheese-3.0 <none>
pn gir1.2-gtkclutter-1.0 <none>
pn gstreamer1.0-tools <none>
Versions of packages mugshot suggests:
pn gstreamer1.0-plugins-good <none>
-- no debconf information
More information about the Python-apps-team
mailing list