Thanks Nick, (sorry I did't response this mail before in the proper way)
I copied your file and the IsWindowShowing error was fixed, but the second error persists:
ERROR: In /usr/pubsw/packages/KWWidgets
Gonzalo,
Attached is a file called fsgdfPlot.tcl, which was missing from
freesurfer v4.0.2. Copy it to your $FREESURFER_HOME/lib/tcl directory.
Nick
On Wed, 2008-03-05 at 12:42 +0100, Gonzalo Sanchez Benavides wrote:
> Hi all,
>
> I'm trying to run qdec on a SL 4.5:
>
> [gonzalo@neuro01 ~]$ uname -a
> Linux neuro01.pic.es 2.6.9-55.0.12.ELsmp #1 SMP Thu Nov 1 08:41:34 CST
> 2007 i686 i686 i386 GNU/Linux
>
> [gonzalo@neuro01 ~]$ /lib/libc.so.6
> GNU C Library stable release version 2.3.4, by Roland McGrath et al.
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 3.4.5 20051201 (Red Hat 3.4.5-2).
> Compiled on a Linux 2.4.20 system on 2007-06-05.
> Available extensions:
> GNU libio by Per Bothner
> crypt add-on version 2.1 by Michael Glad and others
> linuxthreads-0.10 by Xavier Leroy
> The C stubs add-on version 2.1.2.
> BIND-8.2.3-T5B
> NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Glibc-2.0 compatibility add-on by Cristian Gafton
> GNU Libidn by Simon Josefsson
> libthread_db work sponsored by Alpha Processor Inc
> Thread-local storage support included.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/libc/bugs.html>.
>
>
> I get these errors after run the design analyze:
>
> first:
> ERROR:
> In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWTkUtilities.cxx, line 221
> vtkKWQdecApp (0x8790db8):
> Script:
> FsgdfPlot_IsWindowShowing 0
> Returned Error on line 1:
> invalid command name "FsgdfPlot_IsWindowShowing"
> Stack trace:
> invalid command name "FsgdfPlot_IsWindowShowing"
> while executing
> "FsgdfPlot_IsWindowShowing 0"
>
> which I can ignore, and then:
>
> ERROR:
> In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWApplication.cxx, line 1182
> vtkKWQdecApp (0x87903e0): TclTk error: invalid command name
> "vtkTemp351"
> invalid command name "vtkTemp351"
> while executing
> "vtkTemp351 FocusInCallback"
> (command bound to event)
>
> ERROR:
> In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWApplication.cxx, line 1182
> vtkKWQdecApp (0x87903e0): TclTk error: invalid command name
> "vtkTemp349"
> invalid command name "vtkTemp349"
> while executing
> "vtkTemp349 FinishEditing"
> (command bound to event)
>
>
> Looking for the error in archive list, I've seen people experimenting
> so.
> Following what you have recommended in http://www.mail-
> archive.com/freesurfer@nmr.mgh.harvard.edu/msg06821.html, I get a
> clear ldd:
>
>
> [gonzalo@neuro01 ~]$ tcsh
> [gonzalo@neuro01 ~]$ source $FREESURFER_HOME/SetUpFreeSurfer.csh
> [gonzalo@neuro01 ~]$ source /usr/local/freesurfer/SetUpFreeSurfer.csh
> -------- freesurfer-Linux-rh9-stable-pub-v4.0.2 --------
> Setting up environment for FreeSurfer/FS-FAST (and FSL)
> FREESURFER_HOME /usr/local/freesurfer
> FSFAST_HOME /usr/local/freesurfer/fsfast
> FSF_OUTPUT_FORMAT nii
> SUBJECTS_DIR /usr/local/freesurfer/subjects
> MNI_DIR /usr/local/freesurfer/mni
> [gonzalo@neuro01 ~]$ source $FREESURFER_HOME/bin/tcl_setup
> FS_TCL_HOME =/usr/local/freesurfer/lib/tcltktixblt
> TCLLIBPATH= /usr/local/freesurfer/lib/tcltktixblt/lib
> [gonzalo@neuro01 ~]$ source $FREESURFER_HOME/bin/vtk_setup
> [gonzalo@neuro01 ~]$ source $FREESURFER_HOME/bin/kww_setup
>
>
> $ ldd $FREESURFER_HOME/bin/qdec.bin
> libtix8.1.8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtix8.1.8.4.so
> (0x0053c000)
> libtk8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtk8.4.so (0x00aa3000)
> libtcl8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtcl8.4.so (0x007c6000)
> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x00173000)
> libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x00d8a000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00b8e000)
> libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x0063e000)
> libverdict.so.1.2
> => /usr/local/freesurfer/lib/vtk/lib/libverdict.so.1.2 (0x005d8000)
> libvtkGraphics.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkGraphics.so.5.1
> (0x00df8000)
> libvtkfreetype.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkfreetype.so.5.1
> (0x001f1000)
> libvtkmetaio.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkmetaio.so.5.1 (0x00253000)
> libvtkpng.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkpng.so.5.1 (0x004c6000)
> libvtkzlib.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkzlib.so.5.1 (0x00112000)
> libvtkImaging.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkImaging.so.5.1 (0x06a09000)
> libvtkFiltering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkFiltering.so.5.1
> (0x05b29000)
> libvtkCommon.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkCommon.so.5.1 (0x002d9000)
> libvtksys.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtksys.so.5.1 (0x00123000)
> libvtkexoIIc.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkexoIIc.so.5.1 (0x004e6000)
> libvtkNetCDF.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkNetCDF.so.5.1 (0x00d15000)
> libvtkVolumeRendering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkVolumeRendering.so.5.1
> (0x02dd9000)
> libvtkRendering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkRendering.so.5.1
> (0x01edd000)
> libvtkftgl.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkftgl.so.5.1 (0x004a2000)
> libvtkWidgets.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkWidgets.so.5.1 (0x00653000)
> libvtkHybrid.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkHybrid.so.5.1 (0x01415000)
> libvtkIO.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkIO.so.5.1 (0x016bf000)
> libvtkDICOMParser.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkDICOMParser.so.5.1
> (0x008c9000)
> libvtkVolumeRenderingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkVolumeRenderingTCL.so.5.1
> (0x0057f000)
> libvtkRenderingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkRenderingTCL.so.5.1
> (0x008e8000)
> libvtkFilteringTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkFilteringTCL.so.5.1
> (0x01b2f000)
> libvtkWidgetsTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkWidgetsTCL.so.5.1
> (0x00c91000)
> libvtkHybridTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkHybridTCL.so.5.1
> (0x0085f000)
> libvtkGraphicsTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkGraphicsTCL.so.5.1
> (0x01c20000)
> libvtkImagingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkImagingTCL.so.5.1
> (0x009a4000)
> libvtkIOTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkIOTCL.so.5.1 (0x074fb000)
> libvtkCommonTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkCommonTCL.so.5.1
> (0x075fb000)
> libKWWidgets.so
> => /usr/local/freesurfer/lib/KWWidgets/lib/KWWidgets/libKWWidgets.so
> (0x021be000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00c7f000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x06365000)
> libdl.so.2 => /lib/libdl.so.2 (0x00b88000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00d76000)
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x041e2000)
> libm.so.6 => /lib/tls/libm.so.6 (0x00b63000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x004ad000)
> libc.so.6 => /lib/tls/libc.so.6 (0x04bf2000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00c6f000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0433b000)
> libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x001ea000)
> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x00a33000)
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00d6b000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00d51000)
> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x005ae000)
> libtiff.so.3 => /usr/lib/libtiff.so.3 (0x06480000)
> libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00607000)
> /lib/ld-linux.so.2 (0x00a1b000)
>
> But I still get the error after running the design analyze.
>
> So, could you please recomend us what other posibilities do we have in
> order to correct the error?¿
>
> TIA,
> Gonzalo
>
>
> --
> Gonzalo Sánchez Benavides
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer