A tool I use works well since long. But when I upgraded python to 2.5.4-r1, I got, at the init of the process : " File "//usr/lib/python2.5/site-packages/Pmw/Pmw_1_3/lib/PmwOptionMenu.py", line 67, in setitems self._menu.delete(0, 'end') File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2685, in delete self.deletecommand(c) File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 361, in deletecommand self.tk.deletecommand(name) _tkinter.TclError: can't delete Tcl command ". And then the gui become insensitive, I have to kill -9. Reemerging imaging and pmw after getting to 2.5.4-r1 brought nothing. Getting back to 2.5.2 gave OK. Googling around for "deletecommand Tkinter" I stroke on some really old (1999-2001) pages and wonder if some patches removed in the move to 2.5.4 are hints. Reproducible: Always Portage 2.1.6.7 (default/linux/powerpc/ppc32/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.26-gentoo-r1-l0 ppc) ================================================================= System uname: Linux-2.6.26-gentoo-r1-l0-ppc-7447A,_altivec_supported-with-glibc2.0 Timestamp of tree: Fri, 23 Jan 2009 18:00:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="ppc ~ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" DISTDIR="/in_n_outs/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ " LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/in_n_outs/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 acl alsa altivec apache2 berkdb branding bzip2 cdr cli cracklib crypt cscope cups dba dri dvd encode fbcon flac flash fortran gb gcj gd gdbm gnome gpm gtk2 iconv ipv6 isdnlog java jikes jpeg kde kdehiddenvisibility kdeprefix midi mng mozdevelop mozsvg mudflap ncurses nls nptl nptlonly nsplugin objc oggvorbis opengl openmp pam pcre pdf pdflib perl png povray ppc ppds pppd python qt qt4 readline reflection samba scanner session speex spell spl ssl svg sysfs tcpd tetex theora threads tiff tk udev unicode usb wmf xine xinerama xml2 xorg xosd xulrunner zlib" ALSA_CARDS="snd-aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hello Laurent, Thanks for your report. The patches removed from 2.5.4 were not needed because upstream code already had them. However, if you provide me with some of the links you mention and the name of the tool you are referring to, I could take a look and double check the error. It may be nto worth it, but could you also check this fails with 2.5.4-r2? Best regards,
Hi, I have similar bug when trying to run skencil with python-2.5.4-r2 and python-2.5.4-r3: shared memory images supported Traceback (most recent call last): File "/usr/bin/skencil", line 34, in <module> Sketch.main.main() File "/usr/lib64/skencil-0.6.17/Sketch/Base/main.py", line 148, in main run_script = options.run_script) File "/usr/lib64/skencil-0.6.17/Sketch/UI/skapp.py", line 183, in __init__ self.build_window() File "/usr/lib64/skencil-0.6.17/Sketch/UI/skapp.py", line 223, in build_window self.run_script) File "/usr/lib64/skencil-0.6.17/Sketch/UI/mainwindow.py", line 98, in __init__ self.build_menu() File "/usr/lib64/skencil-0.6.17/Sketch/UI/mainwindow.py", line 901, in build_menu self.update_mru_files() File "/usr/lib64/skencil-0.6.17/Sketch/UI/mainwindow.py", line 380, in update_mru_files self.file_menu.RebuildMenu() File "/usr/lib64/skencil-0.6.17/Sketch/UI/tkext.py", line 367, in RebuildMenu self.menu.delete(0, END) File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 2685, in delete self.deletecommand(c) File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 361, in deletecommand self.tk.deletecommand(name) TclError: can't delete Tcl command I can't say it was working fine before, because it's a new computer, but it seems that the problem is with Tkinter, rather than with skencil. It has not been resolved yet? Borys emerge --info: Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7450_@_2.13GHz-with-glibc2.2.5 Timestamp of tree: Mon, 06 Jul 2009 12:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl en pt pt_PT" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt dbus dri exif fortran gdbm gif gpm hal iconv isdnlog jpeg lm_sensors midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd tiff truetype unicode usb xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en pt pt_PT" USERLAND="GNU" VIDEO_CARDS="vesa vga nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS