Precise to Quantal: update-manager UI crashes: can't load DistUpgradeViewGtk (No module named vte)

Bug #1009226 reported by Elvis Slavić
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Canonical Foundations Team
Quantal
Fix Released
High
Canonical Foundations Team

Bug Description

Upgrading from Wubi to Quantal causes following errors:

authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
extracting 'quantal.tar.gz'
can't load DistUpgradeViewGtk (No module named vte)
can't load DistUpgradeViewGtk3 (could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',)))
can't load DistUpgradeViewKDE (No module named PyQt4.QtCore)

GUI fails and upgrade can't continue.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1009226

tags: added: iso-testing
Revision history for this message
Elvis Slavić (liquidplay) wrote :

Upgrade from Precise to Quantal (Wubi)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
summary: - can't load DistUpgradeViewGtk (No module named vte)
+ Precise to Quantal: update-manager UI crashes: can't load
+ DistUpgradeViewGtk (No module named vte)
Changed in update-manager (Ubuntu):
importance: Undecided → High
tags: added: precise2quantal qa-manual-testing quantal rls-q-incoming
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Main log from a failed attempt

Revision history for this message
Tehnick (tehnick) wrote :

Let's look at this repository:
http://extras.ubuntu.com/ubuntu/dists/
Do you see Ubuntu Quantal here?
No.

So just use other mirrors. For example:
http://us.archive.ubuntu.com/ubuntu/dists/
http://de.archive.ubuntu.com/ubuntu/dists/
and etc...

Revision history for this message
Tehnick (tehnick) wrote :

Or you could use "precise" branch from "extras.ubuntu.com".
This will avoid errors during updating list of packages.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Missing repositories are not the problem, they are just ignored. The problem is that modules required by update-manager are missing in python3:

for example:
This works:
$ python2 -c "import vte"
but this doesn't
$ python3 -c "import vte"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named vte

Revision history for this message
Tehnick (tehnick) wrote :

Oh, I see now.

Changed in update-manager (Ubuntu Quantal):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: removed: rls-q-incoming
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

alex-mayorga@VPCCW1FFXL:~$ update-manager -d
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
extracting 'quantal.tar.gz'
can't load DistUpgradeViewGtk3 (Failed to open file '/tmp/update-manager-6L6Nxn/DistUpgrade.ui': No such file or directory)

alex-mayorga@VPCCW1FFXL:~$ sudo update-manager -d
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
extracting 'quantal.tar.gz'
can't load DistUpgradeViewGtk3 (Failed to open file '/tmp/update-manager-fMGYlx/DistUpgrade.ui': No such file or directory)
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
  from gtk import _gtk

Is this the same bug or another one?

Revision history for this message
Colin Watson (cjwatson) wrote :

That's a different bug.

Revision history for this message
Tylor Steinberger (xpandaxloverx167) wrote :

This is also affecting me.

Revision history for this message
jtlb (jt-lb) wrote :

As of today, ./dist-upgrade.py --frontend=DistUpgradeViewKDE works for me but the GTK one still fails

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm closing this report. It is fixed with version 0.173 or ubuntu-release-upgrader

Changed in update-manager (Ubuntu Quantal):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.