Troubleshooting TychoOther sources of information:
Below is a list of common problems that people have with Tycho.
error while autoloading "tk_setPalette": bad option "join": should be
atime, dirname, executable, exists, extension, isdirectory,
isfile, lstat, mtime, owned, readable, readlink, root, size,
stat, tail, type, or writable
invoked from within
"tk_setPalette activeBackground #e6ceb1 activeForeground black \
background #ffe4c4 disabledForeground #b0b0b0 foreground black \
highlightBackground ..."
then you are probably running Itcl2.0, but the tclIndex
files were prepared with Itcl2.1 or later. Tycho0.1.1 will not work
with Itcl2.0, you must upgrade to Itcl2.1 or later. See the Installation guide for more information.
bad option "join": should be atime, dirname, executable,
exists, extension, isdirectory, isfile, lstat, mtime, owned, readable,
readlink, root, size, stat, tail, type, or writable
while executing
"file join $tycho kernel"
invoked from within
then the problem is that you are running an
itcl2.0 itkwish, and Tycho0.1.1 requires itcl2.1, which
includes the tcl7.5 file join command. The way to tell
is to start itkwish by hand and type
set itcl::versionyou should get back
2.0 if you are running itcl2.0 and
2.1 if you are running itcl2.1.
cd $TYCHO make realclean make install
make realclean removes the tclIndex files and
doc/codeDoc/*.
make install creates the tclIndex files
and recreates the doc/codeDoc/*. The
doc/codeDoc/* files get created once by
tydoc, then $TYCHO/lib/idx/codeDoc.idx gets
created, then the tydoc files get recreated so that they can use
$TYCHO/lib/idx/codeDoc.idx.
tylndir
to create a new one. tylndir is documented in $TYCHO/doc/coding/directories.html
itkwish and then sourcing
$TYCHO/kernel/Tycho.tcl.
If the tcl variable tyDebug
is set to 1,
then Tycho.tcl will print out status messages as it
starts up. Also, if tyDebug is set to 1, then
tycho will not automatically exit if there is an error.
The example below shows how it is possible to start up tycho from itkwish
cxh@watson 357% setenv TYCHO ~/pt/tycho cxh@watson 358% cd $TYCHO/kernel cxh@watson 359% itkwish % set tyDebug 1 1 % source Tycho.tcl TYCHO=/users/cxh/pt/tycho Set auto_path About to source FontManager.itcl Sourced ErrorMessage.itcl Handled preferences Processed argv About to create a TclConsole % exit cxh@watson 360%
Up to: Tycho Introduction -
Previous: Installation -
Tycho Home Page