Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th February 2009, 03:06 PM
xtcsin Offline
Registered User
 
Join Date: Aug 2008
Posts: 16
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 12th February 2009, 06:25 PM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,722
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 14th November 2009, 02:28 PM
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 1st December 2009, 12:09 PM
deathspeeder Offline
Registered User
 
Join Date: Nov 2009
Posts: 32
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 Using Fedora 5 1st September 2006 10:52 PM
Cannot find rpm for Kernel 2.6.8-1.610 Source Ipsissimus Using Fedora 2 16th November 2004 03:50 PM
Can't find source rpm for kernel 2.6.8-1.521 pazzport Using Fedora 4 13th October 2004 08:19 AM


Current GMT-time: 19:48 (Wednesday, 19-06-2013)

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 Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat