and that did not cause a crash but raised an error message saying to check your Internet connection. Then after closing the mirror selection dialog box I received the following Traceback.
WARNING: Failed to read mirror file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 543, in on_combobox_server_changed
res = dialog.run()
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py", line 272, in run
iter = model.get_iter(row)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 823, in get_iter
path = self._coerce_path(path)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 798, in _coerce_path
return TreePath(path)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1146, in __new__
path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable
I tried recreating this by moving my Ubuntu.mirrors file aside e.g.:
sudo mv /usr/share/ python- apt/templates/ Ubuntu. mirrors /tmp/
and that did not cause a crash but raised an error message saying to check your Internet connection. Then after closing the mirror selection dialog box I received the following Traceback.
WARNING: Failed to read mirror file python3/ dist-packages/ softwarepropert ies/gtk/ SoftwarePropert iesGtk. py", line 543, in on_combobox_ server_ changed python3/ dist-packages/ softwarepropert ies/gtk/ DialogMirror. py", line 272, in run python3/ dist-packages/ gi/overrides/ Gtk.py" , line 823, in get_iter path(path) python3/ dist-packages/ gi/overrides/ Gtk.py" , line 798, in _coerce_path python3/ dist-packages/ gi/overrides/ Gtk.py" , line 1146, in __new__
Traceback (most recent call last):
File "/usr/lib/
res = dialog.run()
File "/usr/lib/
iter = model.get_iter(row)
File "/usr/lib/
path = self._coerce_
File "/usr/lib/
return TreePath(path)
File "/usr/lib/
path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable