Application Installer doesn't start

Bug #18152 reported by Alexander Dietz
28
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

The problem arised around a week ago. Application Installer window opens, the
cursor is still running, but the Application Installer doesnt show me the
applications. Waiting for quite long, but nothing happens. The only thing I can
do is to switch to "Advanced" (Synaptic PM) or Close the Application Installer.

If I start gnome-app-install from the Terminal Command Line, I get following
message:

alex@alex:~$ gnome-app-install
Got badly sized icon for gnome-settings-default-applications
Reading package lists... Done
Building dependency tree... Done
Traceback (most recent call last):
  File "/usr/lib/gnome-app-install/AppInstall.py", line 125, in idle
    self.updateCache()
  File "/usr/lib/gnome-app-install/AppInstall.py", line 144, in updateCache
    self.populate_menu()
  File "/usr/lib/gnome-app-install/AppInstall.py", line 242, in populate_menu
    import locale ; menu.setLocale(locale.getlocale(locale.LC_MESSAGES)[0])
AttributeError: Menu instance has no attribute 'setLocale'

Revision history for this message
terminatux (plandres) wrote :

the problem appeared after an upgrade so i think that if you tryied to downgrade
it it would ameliorate it.If you succeed tell me i'm interested...

Revision history for this message
Alexander Dietz (aledie) wrote :

(In reply to comment #1)
> the problem appeared after an upgrade so i think that if you tryied to downgrade
> it it would ameliorate it.If you succeed tell me i'm interested...

Which packages/how do I have to downgrade? I had backports added to
repositories, so my synaptic
was ver. 0.56. Gnome-app-install had a standard version. I disabled the
universe/multiverse/
security updates and backports repositories and reinstalled following applications:

gnome-menus
libgnome-menu0
update-manager
update-notifier
synaptic
gnome-app-install
gnome-icon-theme

I am not sure, which other packages could cause the problem. I also have Smeg 0.7.4
installed. Could it be the problem? Or is there any other packages to downgrade?

Revision history for this message
Ross Burton (ross) wrote :

*** Bug 18158 has been marked as a duplicate of this bug. ***

Revision history for this message
Ross Burton (ross) wrote :

It appears there has been an API change in PyXDG.

Revision history for this message
Alexander Dietz (aledie) wrote :

(In reply to comment #4)
> It appears there has been an API change in PyXDG.

Thank you. I had an older version of Smeg Menu editor installed. I think, a week
ago a new version of Smeg 0.7.4 was added to the Ubuntu backports, so Synaptic
updated this package and also upgraded Python-xdg from v.0.9.1 to
v.0.14-0ubuntu1-5.04ubp1. Now, I just downgraded Python-xdg, what also removed
Smeg. Now the problem doesnt persist anymore, I can open gnome-app-install again.

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

Thanks for your bugreport.

This is fixed with the upload of gnome-app-install_0+20050404a-3.

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

Ross, I commited the fix to cvs:
Checking in src/AppInstall.py;
/cvs/gnome/gnome-app-install/src/AppInstall.py,v <-- AppInstall.py
new revision: 1.3; previous revision: 1.2

I hope that's ok with you.

Cheers,
 Michael

Revision history for this message
Ross Burton (ross) wrote :

*** Bug 18224 has been marked as a duplicate of this bug. ***

Revision history for this message
n0tepad (josh-horne) wrote :

i downgraded (!) the said packages and now my system tells me i have 2 available
updates. will these 2 packages be fixed so as to not cause this issue in the
near future? how do i tell the system not to consider these packages for
upgrading (until newer ones which dont cause this issue are released)?

Revision history for this message
Mário Vrablanský (vrablansky) wrote :

(In reply to comment #9)
> i downgraded (!) the said packages and now my system tells me i have 2 available
> updates. will these 2 packages be fixed so as to not cause this issue in the
> near future? how do i tell the system not to consider these packages for
> upgrading (until newer ones which dont cause this issue are released)?
>
>

In Synaptic click on the package.
Then menu Package --> Lock version

Revision history for this message
bier444 (bier444) wrote :

Created an attachment (id=2836)
the patched and compiled version of gnome-app-install to solve the smeg-problem

smeg vs. 0.7.4 and python-xdg crash gnome-app-install in ubuntu hoary. this new
version solves the problem.
see the file install.txt for installation!

Revision history for this message
bier444 (bier444) wrote :

Created an attachment (id=2870)
updated version of the gnome-app-install tool vs. 3

Revision history for this message
bier444 (bier444) wrote :

(In reply to comment #12)
> Created an attachment (id=2870) [edit]
> updated version of the gnome-app-install tool vs. 3
>

(In reply to comment #12)
> Created an attachment (id=2870) [edit]
> updated version of the gnome-app-install tool vs. 3
>

Revision history for this message
bier444 (bier444) wrote :

updated install script:

/********************************************************/
#!/bin/sh
# install-gai.sh, vs. 02, beta state
# developed by <email address hidden>

install -m 755 ./src/gnome-app-install /usr/bin/gnome-app-install

mkdir /usr/lib/gnome-app-install 2>/dev/null
install -m 644 ./src/AppInstall.py /usr/lib/gnome-app-install/AppInstall.py

cp ./po/es.gmo /usr/share/locale/es/LC_MESSAGES/gnome-app-install.mo
cp ./po/de.gmo /usr/share/locale/de/LC_MESSAGES/gnome-app-install.mo
cp ./po/el.gmo /usr/share/locale/el/LC_MESSAGES/gnome-app-install.mo
cp ./po/da.gmo /usr/share/locale/da/LC_MESSAGES/gnome-app-install.mo
cp ./po/pl.gmo /usr/share/locale/pl/LC_MESSAGES/gnome-app-install.mo
cp ./po/fr.gmo /usr/share/locale/fr/LC_MESSAGES/gnome-app-install.mo

mkdir -p /usr/share/glib-2.0/gettext/po 2>/dev/null
cp ./po/Makefile.in.in /usr/share/glib-2.0/gettext/po/

mkdir /usr/share/applications 2>/dev/null
cp ./data/gnome-app-install.desktop /usr/share/applications/

mkdir /usr/share/gnome-app-install 2>/dev/null
cp ./data/gnome-app-install.glade /usr/share/gnome-app-install/

cp ./menu-data/*desktop /usr/share/gnome-app-install/
cp ./menu-data/*png /usr/share/gnome-app-install/
cp ./menu-data/*xpm /usr/share/gnome-app-install/
cp ./menu-data/applications.menu /usr/share/gnome-app-install/

/********************************************************/

Revision history for this message
markkanen (markus-markkanen-seamk) wrote :

Hi there!
I have same problem with gnome-app-install. I did fresh install of ubuntu 8.10 and after a few hour installing various packages with gnome-app-install and synaptics, gnome-app-install failed to work. However after removing nvidia restricted driver gnome-app-install was working again. Then after nvidia driver reinstall, gnome-app-install doesn't work.

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

Remote bug watches

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