Fedora Linux Support Community & Resources Center
  #1  
Old 2009-02-12, 07:06 AM CST
xtcsin Offline
Registered User
 
Join Date: Aug 2008
Posts: 13
can't find tk.tcl when I run source navigator

I installed source navigator on my systen FC10_x86_64. but there is some error as follows when i run command snavigator.

Quote:
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.
Reply With Quote
  #2  
Old 2009-02-12, 10:25 AM CST
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 2,877
I get the same error in F10 x86_64. Weird, because it works fine on my F7 system. I don't know if it has anything to do with the installed versions of Tcl/Tk (F10 comes with 8.5.3 while F7 has 8.4.13), since Source Navigator seems to use its own internal version (8.3.2).

Anyway, I got it working on my F10 system by doing the following:
  • comment out lines 182-184 in the file /opt/sourcenav/share/tk8.3/listbox.tcl
  • comment out lines 457-459 in the file /opt/sourcenav/share/tk8.3/text.tcl
The mousewheel binding syntax there seems to be the problem. The mousewheel will still work in Source Navigator (I just tested it to make sure).
Reply With Quote
  #3  
Old 2009-11-14, 06:28 AM CST
tibetjungle Offline
Registered User
 
Join Date: Apr 2008
Posts: 3
linuxfedorafirefox
Quote:
Originally Posted by RupertPupkin View Post
I get the same error in F10 x86_64. Weird, because it works fine on my F7 system. I don't know if it has anything to do with the installed versions of Tcl/Tk (F10 comes with 8.5.3 while F7 has 8.4.13), since Source Navigator seems to use its own internal version (8.3.2).

Anyway, I got it working on my F10 system by doing the following:
  • comment out lines 182-184 in the file /opt/sourcenav/share/tk8.3/listbox.tcl
  • comment out lines 457-459 in the file /opt/sourcenav/share/tk8.3/text.tcl
The mousewheel binding syntax there seems to be the problem. The mousewheel will still work in Source Navigator (I just tested it to make sure).
it works for me. thks.
Reply With Quote
  #4  
Old 2009-12-01, 04:09 AM CST
deathspeeder Offline
Registered User
 
Join Date: Nov 2009
Posts: 22
linuxfedorafirefox
Oh, it works!
__________________
I'm deathspeeder from ZJU.
Reply With Quote
Reply

Tags
navigator, run, source, tktcl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where can I find the kernel source Silverrocker Software 5 2006-09-01 02:52 PM CDT
FC5 64 bit kernel source - Where to find Stephen Liu gmane.linux.redhat.fedora.general 2 2006-04-20 04:50 AM CDT
cant find smp kernel source babar haq gmane.linux.redhat.fedora.general 2 2005-08-05 12:37 AM CDT
Cannot find rpm for Kernel 2.6.8-1.610 Source Ipsissimus Software 2 2004-11-16 07:50 AM CST
Can't find source rpm for kernel 2.6.8-1.521 pazzport Software 4 2004-10-13 12:19 AM CDT

Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 10:38 AM CDT.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Rules | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2010, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to NLP-er 2.3.10