Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252700 - dev-util/sourcenav-5.2_beta2 - /opt/sourcenav/share/tk8.3/tk.tcl: no event type or button # or keysym
Summary: dev-util/sourcenav-5.2_beta2 - /opt/sourcenav/share/tk8.3/tk.tcl: no event ty...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 14:59 UTC by liujie
Modified: 2008-12-29 23:30 UTC (History)
1 user (show)

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 liujie 2008-12-27 14:59:15 UTC
/opt/sourcenav/bin/snavigator 
Can't find a usable tk.tcl in the following directories: 
    /opt/sourcenav/share/tk8.3

/opt/sourcenav/share/tk8.3/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
}"
    (file "/opt/sourcenav/share/tk8.3/listbox.tcl" line 182)
    invoked from within
"source [file join $tk_library listbox.tcl]"
    invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
	[string compare {} $tk_library]} {
    source [file join $tk_library button.tcl]
    so..."
    (file "/opt/sourcenav/share/tk8.3/tk.tcl" line 308)
    invoked from within
"source /opt/sourcenav/share/tk8.3/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 [list source $file]"


This probably means that tk wasn't installed properly.


Reproducible: Always

Steps to Reproduce:
1./opt/sourcenav/bin/snavigator
2.
3.



Expected Results:  
/opt/sourcenav/bin/snavigator 
Can't find a usable tk.tcl in the following directories: 
    /opt/sourcenav/share/tk8.3

/opt/sourcenav/share/tk8.3/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
}"
    (file "/opt/sourcenav/share/tk8.3/listbox.tcl" line 182)
    invoked from within
"source [file join $tk_library listbox.tcl]"
    invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
	[string compare {} $tk_library]} {
    source [file join $tk_library button.tcl]
    so..."
    (file "/opt/sourcenav/share/tk8.3/tk.tcl" line 308)
    invoked from within
"source /opt/sourcenav/share/tk8.3/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 [list source $file]"


This probably means that tk wasn't installed properly.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-27 16:38:08 UTC
Please post your `emerge --info' too.
Also, specify what package `snavigator' belongs to.
Comment 2 liujie 2008-12-27 16:48:40 UTC
(In reply to comment #1)
> Please post your `emerge --info' too.
> Also, specify what package `snavigator' belongs to.
> 

emerge --info
Portage 2.1.6.3 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Sat, 27 Dec 2008 15:30:02 +0000
distcc 3.1 x86_64-pc-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
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer "
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O2"
LINGUAS="zh_CN zh"
MAKEOPTS="-j4"
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/layman/gentoo-china /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X Xaw3d aac aalib acl acpi alsa amd64 amrnb amrwb avahi avi bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli colordiff cracklib crypt cups custom-cflags custom-cpuopts custom-optimization dbus directfb dri dv dvb dvd dvdr dvdread encode ffmpeg flac fortran freetype fuse gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal iconv id3tag ipv6 isdnlog jpeg jpeg2k md5sum midi mmap mmx mmx2 mmxext mp3 mp4 mpeg mudflap multilib ncurses newspr nls nptl nptlonly nvidia ogg oggvorbis opengl openmp openssh openssl opensslcrypt pam pcre pdf perl png posix pppd pulseaudio python quicktime raw readline reflection samba sdl session speex spl sse sse2 ssl svg sysfs tcpd tiff tracker truetype truetype-fonts type1-fonts udev unicode utf8 wma wxwindows x264 xine xml xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 liujie 2008-12-27 16:50:01 UTC
(In reply to comment #1)
> Please post your `emerge --info' too.
> Also, specify what package `snavigator' belongs to.
> 

eix sourcenav
[I] dev-util/sourcenav
     Available versions:  5.1.4 (~)5.2_beta2 {debug}
     Installed versions:  5.2_beta2(22时15分16秒 2008年12月27日)(-debug)
     Homepage:            http://sourcenav.sourceforge.net
     Description:         Source-Navigator is a source code analysis and software development tool
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-27 17:04:59 UTC
Thanks.
Comment 5 Steve Arnold archtester gentoo-dev 2008-12-29 23:30:23 UTC
This is actually a duplicate of bug #225999 but still exists due to sourcenav providing its own "validated" version of Tcl/Tk (whatever that means) which I've patched as discussed in the related bug threads.  The same is true for the Insight debugger (which I'm about to patch).

There's finally been some upstream activity on Source Navigator:

http://sourcenav.berlios.de/

so I'm hopeful the ties to the old internal Tcl/Tk code may finally be severed soon...