Comment 8 for bug 1101881

Revision history for this message
Brian Murray (brian-murray) wrote :

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
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