Add/Remove programs crashed on Feisty
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Python |
Unknown
|
Unknown
|
||
| | gnome-app-install (Ubuntu) |
Undecided
|
Michael Vogt | ||
| | python2.5 (Ubuntu) |
High
|
Matthias Klose | ||
Bug Description
Binary package hint: gnome-app-install
Installed Feisty (etch 2) into a virtual machine (QEMU) without problems. Updated the packages as suggested.
While trying to Add/Remove programs from the Applications menu, the Add/Remove Apps dialog crashed.
The crash dump file is attached.
| Julius (j-willem) wrote : | #3 |
| Michael Vogt (mvo) wrote : | #4 |
Thanks for your bugreport.
This should be fixed with the latest python-dbus package. Could you please install it and see if that fixes the issue?
Thanks,
Michael
| Changed in gnome-app-install: | |
| assignee: | nobody → mvo |
| status: | Unconfirmed → Fix Committed |
| Michael Vogt (mvo) wrote : | #5 |
I have spoken too early, this bug is not related to the python-dbus problem (a speperate bug).
| Changed in gnome-app-install: | |
| status: | Fix Committed → Confirmed |
| Michael Vogt (mvo) wrote : | #6 |
Added a python2.5 task as it seems like python2.4 generated pickle files can't be read by python2.5 anymore.
| Changed in python2.5: | |
| importance: | Undecided → High |
| Michael Vogt (mvo) wrote : | #7 |
Ok, I can reproduce the problem here just fine with the following command:
$ sudo python2.4 /usr/sbin/
and it crashes reliable
$ sudo python2.5 /usr/sbin/
and it works fine.
The code builds a medium complex pickle.
| Michael Vogt (mvo) wrote : | #8 |
Please note that this is a different bug than #74773. This one is a pickle problem, the other one is a python-dbus error.
| dloewi (dloewi) wrote : | #9 |
more or less same experience for me. I installed Feisty in a virtual machine under vmware server 1.0.1, ran updates successfully, then attempted add/remove for other programs. it crashes after a few seconds, just long enough to show splash screen...
file attached below
| BrettLee (brett-brown) wrote : | #10 |
Ok. I think I'm fixed. I ran:
$ sudo python2.5 /usr/sbin/
and it works fine.
I'm posting on the python-dbus bug error page. I'm new to this so sorry for my confusion.
| Christof Krüger (christofkr) wrote : | #11 |
I had the same problem. I don't know if this happenede because I upgraded to a dev version of ubuntu and if this problem would not occur for updates to the release version of feisty.
Nevertheless, if the pickle-file is corrupt for whatever reason, it would be nice if gnome-app-install would recover from that error. The attached patch should do the job.
| Jonah (jonah) wrote : | #12 |
add remove also wont open for me on feisty. i'm on amd64 and here's my crash report attached
| ville palo (vi64pa) wrote : | #13 |
Same here
Same here,
I have a fresh install of feisty herd 2 (downloaded 30min. ago) and also "add/remove ..." didn't work.
| Jorge Azevedo (jmmazevedo) wrote : | #15 |
Same mistake
when I run
$ sudo python2.5 /usr/sbin/
I get the following messageCaching application data...
Generating mime/codec maps...
Traceback (most recent call last):
File "/usr/bin/
from AppInstall.
File "/usr/lib/
from UpdateManager.
ImportError: No module named UpdateManager.
| Jonh Wendell (wendell) wrote : | #16 |
Problem solved with last update (version 0.3.6).
I guess we can close this one, right, Michael?
| Christof Krüger (christofkr) wrote : | #17 |
Unfortunately, I failed to backup the "menu.p" pickle file that triggered this bug so I can't tell if the new release fixed the bug. Forcing update-app-install as root seems to recreate the menu.p file so that it works again, so maybe the actual bug was that this has not been forced after transition from edgy to feisty.
Nevertheless, if the menu.p is corrupt for some reason, gnome-app-install does not handle it and crashes. This is never good. See my patch above for a fix.
| Denis Fuenzalida (denis-fuenzalida) wrote : The latest update to gnome-app-install fixes the problem | #18 |
Hi,
Just a quick note: the lastest update to gnome-app-install version 0.3.6 fixed the problem.
$ sudo apt-get install gnome-app-install
| Changed in gnome-app-install: | |
| status: | Confirmed → Fix Released |
| Constantine Evans (cevans) wrote : | #19 |
Denis, Jonh just said that two comments ago, and the status is Fix Released. Also, I think it is safe to assume that people here know how to use apt.
As for the patch, I agree with Christof here - even if the problem isn't occurring any more, the patch should still be applied, since it would prevent a whole class of possible bugs where the pickle file was corrupted.
Is there some reason for not applying the patch, besides the obvious reason that it would be a change to the code?
| Denis Fuenzalida (denis-fuenzalida) wrote : Re: [Bug 79619] Re: Add/Remove programs crashed on Feisty | #20 |
No, there's no reason for not applying the patch, IMHO it's clear and
safe enough to me (without being a developer/packager of that
package).
Regards,
Denis
2007/1/21, Constantine Evans <email address hidden>:
> Denis, Jonh just said that two comments ago, and the status is Fix
> Released. Also, I think it is safe to assume that people here know how
> to use apt.
>
> As for the patch, I agree with Christof here - even if the problem isn't
> occurring any more, the patch should still be applied, since it would
> prevent a whole class of possible bugs where the pickle file was
> corrupted.
>
> Is there some reason for not applying the patch, besides the obvious
> reason that it would be a change to the code?
>
> --
> Add/Remove programs crashed on Feisty
> https:/
>
--
"And in the end, the love you take is equal to the love you make"
-- The Beatles, "The End"
| Michael Vogt (mvo) wrote : | #21 |
I might add that I applied the patch as well. Its nice and simple and protects against other potential problems too. Thanks for it!
| UBfusion (ubfusion) wrote : | #22 |
This bug has been declared as fixed, however I did not manage to see any improvement when testing all this week's (up to Jan 26) builds of amd64 desktop, which has built-in gnome-app-install version 0.3.6
Might be a particularity of amd64 and/or my testing in vmware.
| M Lucius (marcel-lucius) wrote : | #23 |
| M Lucius (marcel-lucius) wrote : | #24 |
caused by the new python-dbus package
here a short output
PythonArgs: ['/usr/
Traceback:
Traceback (most recent call last):
File "/usr/bin/
sys.argv, as, transient_for)
File "/usr/lib/
self.
File "/usr/lib/
proxy_obj = bus.get_
File "/var/lib/
follow_
File "/var/lib/
_dbus_
File "/var/lib/
reply_message = self._connectio
DBusException: org.freedesktop
| Changed in python2.5: | |
| status: | Unconfirmed → Confirmed |
| assignee: | nobody → mvo |
| Christof Krüger (christofkr) wrote : | #25 |
Hi MLucius,
the crash caused by dbus is not related to the original bug reported here.
The dbus-python-problem has been reported in bug #81727 and bug #81835
| UBfusion (ubfusion) wrote : | #26 |
Crash also happens with 20070129 & 30 amd64 desktop live (in vmware) for a bit different reason, see attached log.
| Michael Vogt (mvo) wrote : | #27 |
| Matthias Klose (doko) wrote : | #28 |
fixed in python2.5.1 in feisty
| Changed in python2.5: | |
| assignee: | mvo → doko |
| status: | Confirmed → Fix Released |
| kushykush (kushykush) wrote : | #29 |
Installer keeps crashing. will not let me install third party hardware drivers. will not let me install Nvidia X-org


Running from a terminal, prints the following:
Introspect error: The name org.freedesktop .AppInstall was not provided by any .service files .AppInstall was not provided by any .service files)
no listening object (The name org.freedesktop
** (gnome- app-install: 6500): WARNING **: return value of custom widget handler was not a GtkWidget python2. 5/site- packages/ AppInstall/ Menu.py: 94: DeprecationWarning: The sre module is deprecated, please import re. load(open( "%s/menu. p" % cachedir)) gnome-app- install" , line 141, in <module> python2. 5/site- packages/ AppInstall/ AppInstall. py", line 230, in __init__ updateCache( filter_ to_restore) python2. 5/site- packages/ AppInstall/ AppInstall. py", line 804, in updateCache python2. 5/site- packages/ AppInstall/ Menu.py" , line 94, in __init__ load(open( "%s/menu. p" % cachedir))
/usr/lib/
self.pickle = cPickle.
Traceback (most recent call last):
File "/usr/bin/
sys.argv, mime_search=msi)
File "/usr/lib/
self.
File "/usr/lib/
progress, filter)
File "/usr/lib/
self.pickle = cPickle.
AttributeError: 'module' object has no attribute '_compile'
----
Python version:
Python 2.5 (release25-maint, Jan 15 2007, 20:25:01)
[GCC 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)] on linux2