Ask Your Question
0

[SOLVED] New to Fedora having problems getting Alacarte to run

asked 2012-01-20 16:35:39 -0500

Brad M gravatar image

updated 2012-02-02 03:36:03 -0500

FranciscoD_ gravatar image

Hi everyone,

I'm a long time Linux users (8+ years) but finally found my way to Fedora after many years as a SuSE users followed by a brief 2 year infatuation with Mandriva. I got Fedora 16 (32-bit) installed today and was trying to get Alacarte working to setup my launchers and menus but am having difficulty. I did some googling and tried creating a recommended symlink for gmenu.so but am still having difficulty. When I try to run Alacarte this is the error I receive

# alacarte
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 22, in <module>
    from Alacarte.MainWindow import MainWindow
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 19, in <module>
    import gtk, gmenu, gobject, gio
ImportError: dynamic module does not define init function (initgmenu)
[root@bnmlinux site-packages]# alacarte -h
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 22, in <module>
    from Alacarte.MainWindow import MainWindow
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 19, in <module>
    import gtk, gmenu, gobject, gio
ImportError: dynamic module does not define init function (initgmenu)

Also, this is in /var/log/messages

Jan 20 17:26:14 bnmlinux abrt: detected unhandled Python exception in '/usr/bin/alacarte'
Jan 20 17:26:14 bnmlinux abrtd: New client connected
Jan 20 17:26:14 bnmlinux abrtd: Directory 'pyhook-2012-01-20-17:26:14-1996' creation detected
Jan 20 17:26:14 bnmlinux abrt-server[1997]: Saved Python crash dump of pid 1996 to /var/spool/abrt/pyhook-2012-01-20-17:26:14-1996
Jan 20 17:26:14 bnmlinux abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2012-01-20-15:59:22-2568
Jan 20 17:26:14 bnmlinux abrtd: Problem directory is a duplicate of /var/spool/abrt/pyhook-2012-01-20-15:59:22-2568
Jan 20 17:26:14 bnmlinux abrtd: Deleting problem directory pyhook-2012-01-20-17:26:14-1996 (dup of pyhook-2012-01-20-15:59:22-2568)

I'm hoping someone can give me some guidance here. Any assistance is greatly appreciated.

edit retag flag offensive close merge delete

Comments

The underlying bug that was causing this issue is now resolved:

https://bugzilla.redhat.com/show_bug.cgi?id=734442

ryanlerch gravatar imageryanlerch ( 2012-07-24 10:42:08 -0500 )edit

3 Answers

Sort by » oldest newest most voted
3

answered 2012-01-20 22:21:19 -0500

Brad M gravatar image

Followed German's instructions with one modification. Add change cpio -iv to cpio -idmv to force creation of directories. Here are my steps for 32-bit. Many thanks to German.

wget http://download.fedora.redhat.com/pub/fedora/linux/releases/15/Fedora/i386/os/Packages/gnome-menus-3.0.1-1.fc15.i686.rpm

rpm2cpio gnome-menus-3.0.1-1.fc15.i686.rpm | cpio -idmv

cd usr/lib

cp libgnome-menu.so.2.4.13 /usr/lib

ln -s /usr/lib/libgnome-menu.so.2.4.13 /usr/lib/libgnome-menu.so.2

cp python2.7/site-packages/gmenu.so /usr/lib/python2.7/site-packages/

These commands were run as root so the rpm downloaded to the /root directory and the usr/lib directory was created off of there.

edit flag offensive delete link more
1

answered 2012-01-20 19:25:23 -0500

skytux gravatar image

I was the first to submit the bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=752238

and also I posted a workaround that I found somewhere in the web:

https://bugzilla.redhat.com/show_bug.cgi?id=752238#c153

If your system is 32-bits then replace /lib64 by /lib.

HTH,

Germán.

edit flag offensive delete link more

Comments

I lost the "d" at the end, sorry :(

skytux gravatar imageskytux ( 2012-01-21 17:27:39 -0500 )edit
0

answered 2012-07-24 10:43:08 -0500

ryanlerch gravatar image

The underlying bug that was causing this issue is now resolved:

https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-01-20 16:35:39 -0500

Seen: 5,020 times

Last updated: Jul 24 '12