Re: building Alacarte menu editor



Carlos,

Looks like you have a python path problem. Make sure that your
garnome-session file sets the PYTHON PATH environment variable

        [ignore line wrap]
        
        PYTHONPATH=$GARNOME/lib/python2.4/site-packages:$GARNOME/lib/python2.4/site-packages/gtk-2.0


Alacarte is a python application that installs its files under the
GARNOME python site-packages directory.

On my system

        /opt/garnome/lib/python2.4/site-packages
        
contains a directory named Alacarte, which contains

        ls -l  /opt/garnome/lib/python2.4/site-packages/Alacarte/
        total 220
        -rw-rw-r--  1 garnome garnome 64770 Oct 25 16:13 alacarte.glade
        -rw-rw-r--  1 garnome garnome  1070 Oct 25 16:13 config.py
        -rw-rw-r--  1 garnome garnome   499 Dec  1 16:32 config.pyc
        -rw-rw-r--  1 garnome garnome 11688 Oct 25 16:13 GnomeDialogHandler.py
        -rw-rw-r--  1 garnome garnome 11804 Dec  1 16:32 GnomeDialogHandler.pyc
        -rw-rw-r--  1 garnome garnome 27219 Oct 25 16:13 GnomeFront.py
        -rw-rw-r--  1 garnome garnome 26081 Dec  1 16:32 GnomeFront.pyc
        -rw-rw-r--  1 garnome garnome  1159 Oct 25 16:13 IconHandler.py
        -rw-rw-r--  1 garnome garnome   962 Dec  1 16:32 IconHandler.pyc
        drwxrwxr-x  2 garnome garnome  4096 Dec  1 16:32 images
        -rw-rw-r--  1 garnome garnome     0 Oct 25 16:13 __init__.py
        -rw-rw-r--  1 garnome garnome   171 Dec  1 16:32 __init__.pyc
        -rw-rw-r--  1 garnome garnome  1877 Oct 25 16:13 MenuHandler.py
        -rw-rw-r--  1 garnome garnome  2523 Dec  1 16:32 MenuHandler.pyc
        -rw-rw-r--  1 garnome garnome  2882 Oct 25 16:13 PyXDGIconHandler.py
        -rw-rw-r--  1 garnome garnome  2556 Dec  1 16:32 PyXDGIconHandler.pyc
        -rw-rw-r--  1 garnome garnome 15939 Oct 25 16:13 PyXDGMenuHandler.py
        -rw-rw-r--  1 garnome garnome 14843 Dec  1 16:32 PyXDGMenuHandler.pyc
        
which contains GnomeFront.py


-Joseph

=================================================================================
On Fri, 2005-12-02 at 12:21 -0300, Carlos Gabriel Drach wrote:
> On Fri, 2005-12-02 at 09:56 -0500, Joseph E. Sacco, PhD wrote:
> > >From the README:
> > 
> >         Alacarte is a simple freedesktop.org compliant menu editor for
> >         GNOME that lets you change your menus, simply and quickly.Just
> >         click and type to edit, add, and delete any menu entry.
> > 
> > Attached are two garballs required to build Alacarte:
> > 
> >         * alacarte.tar.gz [unpack under geektoys]
> >         * pyxdg.tar.gz    [unpack under freedesktop]
> >         
> > PyXDG is a python library to access freedesktop.org standards. See
> > 
> >         http://www.freedesktop.org/wiki/Software_2fpyxdg
> > 
> > 
> > BUILD INSTRUCTIONS
> > ------------------
> > * unpack the garballs in the locations specified above
> > 
> > * cd geektoys/alacarte
> > 
> > * make install > make_install.log 2>&1 &
> > 
> > 
> > -Joseph
> > 
> > 
> 
> i put:
> 
> define BLURB
> 
> in Makefile - line 11 (i copy it from evince/Makefile)
> 
> make install and goes well, but...
> 
> $ alacarte
> Traceback (most recent call last):
>   File "/home/cypenguin/garnome-2.13.2/bin/alacarte", line 20, in ?
>     from Alacarte.GnomeFront import GnomeFront
> ImportError: No module named Alacarte.GnomeFront
> 
> 
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]