Just to complete the circle,  this probably happens because the
UpdateManager module is now only installed in the Python 3 sys.path, so
when invoked with Python 2, the module isn't found.

Does it make sense to crash with a more useful message?  E.g. we could
put a sys.version test at the top of update-manager and complain loudly
if it wasn't invoked with Python 3.  OTOH, maybe this is good enough.

Yes, the bug is not in Update Manager, but in whatever is invoking u-m
with the Python 2 command line.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1013276

Title:
  update-manager crashed with ImportError in __main__: No module named
  UpdateManager.UpdateManager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1013276/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to