Enabling repo through dialog half-functional

Bug #20379 reported by Mikkel Kamstrup Erlandsen
8
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Without uni/multiverse enabled GAI pops up a dialog asking whether I'd like to
enable these repos, when I click a grayed out application. Really cool feature,
but unfortuneatly nothing happens when I click OK... (the dialog just disappears)

Revision history for this message
Michael Vogt (mvo) wrote :

Can you please run the application on a terminal and paste the output (if any)
when the problem appears (on a terminal: sudo gnome-app-install)

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

mikkel@bitsplitter:~$ sudo gnome-app-install
Password:

(gnome-app-install:8646): Gdk-WARNING **: locale not supported by Xlib

(gnome-app-install:8646): Gdk-WARNING **: cannot set locale modifiers
/usr/lib/gnome-app-install/AppInstall.py:195: GtkWarning:
gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure
(accel_closure) != NULL' failed
  LaunchpadIntegration.add_items (widget, -1, False, True);
plugin_get_value 1
plugin_get_value 2
#### Click OK in the dialog... NOW:
Traceback (most recent call last):
  File "/usr/lib/gnome-app-install/AppInstall.py", line 1031, in enableRepository
    new_mirror = parts[1].split("/")[2]
IndexError: list index out of range
mikkel@bitsplitter:~$

Revision history for this message
Niran Babalola (niran) wrote :

Can you attach your /etc/apt/sources.list file? Thanks.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Created an attachment (id=3385)
My /etc/apt/sources.list as requested

Revision history for this message
Niran Babalola (niran) wrote :

Fixed in the development version. Thanks for the report and the extra
information you provided.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

This seems to be working now. There's only one little thing... Assume in the
following that I don't have uni/multiverse enabled:

I click Acrobat Reader. Get the dialog asking me if I want to enable multiverse.
Click OK, and multiverse is anabled. All good, except that Acrobat Reader is not
selected for install and the info field on the left still tells me that I cannot
install Acrobat Reader. If I did not know what was going on I'd pobably be upset
by this. I find Acrobat Reader in the tree again and install it without problems.

It's really close to being a perfectly smooth ride now :-) Cheers

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for this additional information.

That's indeed a pretty anoying behaviour that needs to be fixed before final. It
will involve saving the last menu position and replaying the list of already
marked changes after a cache reload.

Revision history for this message
Niran Babalola (niran) wrote :

This is now fixed in my branch.

Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed with the upload of gnome-app-install_0+20050908_source. Please
reopen if you still see this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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