linuxmint / mintsources

53 stars 72 forks source link

Exception in CountryInformation.py when using Python 3.9 #220

Closed 51CGO closed 3 years ago

51CGO commented 3 years ago

mintSources uses deprecated methods that were completely removed from the lastest Python releases:

./mintSources.py

Traceback (most recent call last): File "/usr/lib/linuxmint/mintSources/./mintSources.py", line 1930, in Application().run() File "/usr/lib/linuxmint/mintSources/./mintSources.py", line 985, in init self.mirror_selection_dialog = MirrorSelectionDialog(self, self.builder) File "/usr/lib/linuxmint/mintSources/./mintSources.py", line 548, in init self.country_info = CountryInformation() File "/usr/lib/linuxmint/mintSources/CountryInformation.py", line 34, in init it = et.getiterator('iso_3166_entry') AttributeError: 'ElementTree' object has no attribute 'getiterator'