My laptop was on repair service at HP, when I got it back after some weeks I updated my system again and enountered this issue: when I try to start amsn I get the following error message, I already tried to rebuild dev-lang/tcl dev-lang/tk dev-tcltk/tclx and amsn, but I still get this issue, also revdep-rebuild says my system is consistent. here's the error: $ amsn Application initialization failed: Can't find a usable tk.tcl in the following directories: /usr/lib64/tcl8.4/tk8.4 /usr/lib64/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library /usr/lib64/tk8.4/tk.tcl: no event type or button # or keysym no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D)}] uni..." (file "/usr/lib64/tk8.4/listbox.tcl" line 181) invoked from within "source /usr/lib64/tk8.4/listbox.tcl" (in namespace eval "::" script line 1) invoked from within "namespace eval :: [list source [file join $::tk_library $file.tcl]]" (procedure "SourceLibFile" line 2) invoked from within "SourceLibFile listbox" (in namespace eval "::tk" script line 4) invoked from within "namespace eval ::tk { SourceLibFile button SourceLibFile entry SourceLibFile listbox SourceLibFile menu SourceLibFile panedwindow SourceLibFile ..." invoked from within "if {$::tk_library ne ""} { if {$tcl_platform(platform) eq "macintosh"} { proc ::tk::SourceLibFile {file} { if {[catch { namespace eval :: ..." (file "/usr/lib64/tk8.4/tk.tcl" line 407) invoked from within "source /usr/lib64/tk8.4/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" /usr/lib/tk8.4/tk.tcl: no event type or button # or keysym no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D)}] uni..." (file "/usr/lib/tk8.4/listbox.tcl" line 181) invoked from within "source /usr/lib/tk8.4/listbox.tcl" (in namespace eval "::" script line 1) invoked from within "namespace eval :: [list source [file join $::tk_library $file.tcl]]" (procedure "SourceLibFile" line 2) invoked from within "SourceLibFile listbox" (in namespace eval "::tk" script line 4) invoked from within "namespace eval ::tk { SourceLibFile button SourceLibFile entry SourceLibFile listbox SourceLibFile menu SourceLibFile panedwindow SourceLibFile ..." invoked from within "if {$::tk_library ne ""} { if {$tcl_platform(platform) eq "macintosh"} { proc ::tk::SourceLibFile {file} { if {[catch { namespace eval :: ..." (file "/usr/lib/tk8.4/tk.tcl" line 407) invoked from within "source /usr/lib/tk8.4/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" This probably means that tk wasn't installed properly. Error in startup script: no event type or button # or keysym while executing "bind Pixmapscroll <MouseWheel> { tk::ScrollByUnits %W v [expr {- (%D)}] }" invoked from within "if {![catch {tk windowingsystem} wsystem] && $wsystem == "x11"} { bind Pixmapscroll <MouseWheel> { tk::ScrollByUnits %W v [expr {- (%D)}] ..." (file "pixmapscroll.tcl" line 717) invoked from within "source [file join pixmapscroll.tcl]" ("package ifneeded" script) invoked from within "package require pixmapscroll" invoked from within "if { $initialize_amsn == 1 } { if {![::picture::Loaded]} { if { [OnDarwin] } { tk_messageBox -default ok -message "There's a problem loading a..." (file "gui.tcl" line 4) invoked from within "source gui.tcl " ("uplevel" body line 23) invoked from within "uplevel \#0 { # amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files source amsncore.tcl source audio.tc..." (procedure "reload_files" line 2) invoked from within "reload_files" (file "/usr/bin/amsn" line 272) # emerge info *** Deprecated use of action 'info', use '--info' instead WARNING: repository at /usr/local/portage is missing a repo_name entry Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Sun, 20 Jul 2008 21:17:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -msse -msse2 -O2 -pipe -fomit-frame-pointer -mmmx" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -msse -msse2 -O2 -pipe -fomit-frame-pointer -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LDFLAGS="" MAKEOPTS="-j1" PKGDIR="/usr/portage/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.de.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa amd64 audiofile avi bash-completion cairo cdr cli cpdflib cracklib crypt dba dbus divx4linux dri dvd dvdr dvdread eds emboss encode evo fam fortran gd-external gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 ipvs isdnlog javascript jpeg kde kerberos lirc mad madwifi midi mikmod mmx mmx2 mmxext moznomail mp3 mpeg mudflap music mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl openmp openntpd pam pcre pdf pdflib perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl svg tcpd tiff truetype unicode usb v4l v4l2 vcd vorbis wifi xine xinerama xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS the versions of the above mentioned packages: Calculating dependencies... done! [ebuild R ] dev-lang/tcl-8.4.18 USE="-debug -threads" 0 kB [ebuild R ] dev-lang/tk-8.4.18 USE="-debug -threads" 0 kB [ebuild R ] dev-tcltk/tclx-8.4-r1 USE="-threads -tk" 0 kB [ebuild R ] net-im/amsn-0.97.1 USE="-debug -static" 0 kB If you need any other information, please ask me. I am using ~amd64 on intention, I know it is unstable and there can be issues, but hopefully this will help you guys to fix issues faster :) Reproducible: Always Steps to Reproduce: 1. use the above mentioned versions 2. start amsn from a console to get the error message
Assuming dupe. *** This bug has been marked as a duplicate of bug 225999 ***