** Description changed: on hirsute (21.04) software-properties-qt (software-properties- qt/hirsute 0.99.8) (also callable as software-properties-kde) throws a python exception when a package download source of "other" is selected. + the same error occurs when using software-properties-gtk. this python traceback appears in the console: Traceback (most recent call last): - File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 454, in on_combobox_server_changed - dialogue = DialogMirror(self.userinterface, self.datadir, self.distro, self.custom_mirrors) - File "/usr/lib/python3/dist-packages/softwareproperties/qt/DialogMirror.py", line 55, in __init__ - self.country_info = CountryInformation() - File "/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py", line 34, in __init__ - it = et.getiterator('iso_3166_entry') + File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 454, in on_combobox_server_changed + dialogue = DialogMirror(self.userinterface, self.datadir, self.distro, self.custom_mirrors) + File "/usr/lib/python3/dist-packages/softwareproperties/qt/DialogMirror.py", line 55, in __init__ + self.country_info = CountryInformation() + File "/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py", line 34, in __init__ + it = et.getiterator('iso_3166_entry') AttributeError: 'ElementTree' object has no attribute 'getiterator' i assume the underlying python code being called is using the long deprecated and now removed "getiterator" method in ElementTree to generate the list of "other" download sources.
** Summary changed: - software-properties-qt python exception on selecting "other" package source + software-properties python exception on selecting "other" package source ** Summary changed: - software-properties python exception on selecting "other" package source + software-properties gui python exception on selecting "other" package source ** Description changed: on hirsute (21.04) software-properties-qt (software-properties- qt/hirsute 0.99.8) (also callable as software-properties-kde) throws a python exception when a package download source of "other" is selected. - the same error occurs when using software-properties-gtk. + the same error occurs when using software-properties-gtk (software- + properties-gtk/hirsute 0.99.8). this python traceback appears in the console: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 454, in on_combobox_server_changed dialogue = DialogMirror(self.userinterface, self.datadir, self.distro, self.custom_mirrors) File "/usr/lib/python3/dist-packages/softwareproperties/qt/DialogMirror.py", line 55, in __init__ self.country_info = CountryInformation() File "/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py", line 34, in __init__ it = et.getiterator('iso_3166_entry') AttributeError: 'ElementTree' object has no attribute 'getiterator' i assume the underlying python code being called is using the long deprecated and now removed "getiterator" method in ElementTree to generate the list of "other" download sources. ** Description changed: on hirsute (21.04) software-properties-qt (software-properties- qt/hirsute 0.99.8) (also callable as software-properties-kde) throws a python exception when a package download source of "other" is selected. - the same error occurs when using software-properties-gtk (software- - properties-gtk/hirsute 0.99.8). + the same underlying error occurs when using software-properties-gtk + (software-properties-gtk/hirsute 0.99.8). - this python traceback appears in the console: + this python traceback appears in the console for the qt gui: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 454, in on_combobox_server_changed dialogue = DialogMirror(self.userinterface, self.datadir, self.distro, self.custom_mirrors) File "/usr/lib/python3/dist-packages/softwareproperties/qt/DialogMirror.py", line 55, in __init__ self.country_info = CountryInformation() File "/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py", line 34, in __init__ it = et.getiterator('iso_3166_entry') AttributeError: 'ElementTree' object has no attribute 'getiterator' - i assume the underlying python code being called is using the long - deprecated and now removed "getiterator" method in ElementTree to - generate the list of "other" download sources. + and this appears for the gtk gui: + + Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 661, in on_combobox_server_changed + dialog = DialogMirror(self.window_main, + File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py", line 85, in __init__ + self.country_info = CountryInformation() + File "/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py", line 34, in __init__ + it = et.getiterator('iso_3166_entry') + AttributeError: 'ElementTree' object has no attribute 'getiterator' + + + i assume the underlying python code being called is using the long deprecated and now removed "getiterator" method in ElementTree to generate the list of "other" download sources. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1923553 Title: software-properties gui python exception on selecting "other" package source To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1923553/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs