Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95231 - denu-2.3.2 fails to generate menues when executing as root
Summary: denu-2.3.2 fails to generate menues when executing as root
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 08:52 UTC by Simon Stelling (RETIRED)
Modified: 2006-09-15 05:37 UTC (History)
1 user (show)

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


Attachments
Denu svn diff/patch. (denu-gtk-fix.patch,5.41 KB, patch)
2005-06-06 17:33 UTC, Scott Shawcroft (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2005-06-06 08:52:40 UTC
just hit a bug in denu:

1. click the generate button
2. click any of the wm buttons

$ denu
/usr/bin/denu:361: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  vbox = gtk.VBox(gtk.FALSE, 0)
Traceback (most recent call last):
  File "/usr/bin/denu", line 357, in menugen_prep
    self.menugen(tree, wm)
  File "/usr/bin/denu", line 381, in menugen
    structure = self.rec(structure, tree, iter)
  File "/usr/bin/denu", line 418, in rec
    value = [tree.get_value(iter, 0), tree.get_value(iter, 1), tree.get_value(iter, 2), tree.get_value(iter, 4), []]
TypeError: iter must be a GtkTreeIter
/usr/bin/denu:1204: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  gtk.main()

this is with pygtk-2.6.1 as well as with -2.4.1

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -ggdb -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-g -ggdb -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache cvs debug distlocks multilib-strict nostrip sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://buggy"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups curl debug dvd esd fam flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jp2 jpeg ldap libwww lzw lzw-tiff motif mozilla mp3 mpeg ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam perl png python qt readline ruby ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Scott Shawcroft (RETIRED) gentoo-dev 2005-06-06 17:33:29 UTC
Created attachment 60749 [details, diff]
Denu svn diff/patch.

Try the attached patched.  It should replace all of the GTK.False/True's.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-06-10 10:24:18 UTC
heh, that's strange: beeing root, i still get the error message, but as a normal
user, it even works with the old version :/
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-09-15 05:37:48 UTC
not reproducible