Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102547 - SMEG does not run as normal user
Summary: SMEG does not run as normal user
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 14:59 UTC by Andrew Dorney
Modified: 2005-08-15 02:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Dorney 2005-08-14 14:59:33 UTC
I recently installed SMEG, but I can't get it to run as a normal user. It works
if I am root, but I'm not interested in editing the Gnome 2.10 root menu, I want
my user menu edited. Here's the traceback I get when trying to run SMEG as a user.


andrew@StubbornAesthetics ~ $ smeg
Traceback (most recent call last):
  File "/usr/bin/smeg", line 562, in ?
    main()
  File "/usr/bin/smeg", line 559, in main
    smeg.run()
  File "/usr/bin/smeg", line 550, in run
    self.setIcon()
  File "/usr/bin/smeg", line 65, in setIcon
    icon = self.getIcon('gnome-main-menu')
  File "/usr/bin/smeg", line 74, in getIcon
    path = self.handler.getIconPath(entry, size)
  File "/usr/lib/smeg/MenuHandler.py", line 119, in getIconPath
    path = xdg.IconTheme.getIconPath(icon, size, self.theme)
  File "/usr/lib64/python2.4/site-packages/xdg/IconTheme.py", line 260, in
getIconPath
    icon = LookupIcon(iconname, size, thme, extensions)
  File "/usr/lib64/python2.4/site-packages/xdg/IconTheme.py", line 332, in
LookupIcon
    cache[theme.name][2][dir] = [subdir, os.listdir(dir)]
OSError: [Errno 13] Permission denied: '/usr/share/icons/gnome/48x48/apps

Reproducible: Always
Steps to Reproduce:
1. Install SMEG
2. Run SMEG

Actual Results:  
Crashiness.

Expected Results:  
Should open up and run. And perhaps get me a cup of coffee.

emerge info:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com"
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aac aalib accessibility acpi aim alsa amd64 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdparanoia cdr cjk
crypt cups curl curlwrappers dbus ddbm dga dio dvd dvdr dvdread eds
emul-linux-x86 encode esd ethereal exif expat f77 faad fam fbcon ffmpeg flac
flash font-server foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls
gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib inifile
ipv6 jabber jack java javascript joystick jp2 jpeg kde ladcca ldap lesstif
libcaca libg++ libwww lm_sensors lmcs lzw lzw-tiff mad mbox mikmod mng motif
mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl
oss pam pdds pdflib perl png portaudio ppds python qt quicktime readline ruby
sambasasl scanner sdl slang sndfile snmp sockets sox speex spell ssl svg tcpd
theora threads tidy tiff truetype truetype-fonts type1-fonts usb userlocales vcd
videos vorbis wifi wmf xine xinerama xml xml-rpc xml2 xmms xosd xpm xprint
xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-08-15 02:57:27 UTC
please fix up your permissions, all icons must be readable by the user. if a 
package set the permission wrong, please fill a bug against this ebuild