HOME
INTRO TO RST
ANALYSES
CONFERENCES & JOURNALS
RESEARCH TOPICS
RESEARCH PROJECTS
TEXT GENERATION
BIBLIOGRAPHIES
TOOLS
PAGES IN BASQUE
PAGES IN FRENCH
PAGES IN PORTUGUESE
PAGES IN SPANISH
E-MAIL LIST
SITE MAP & SEARCH
RSTTool Fixes
title image  


 

 

 

 

 

 

vertical line  

The following are some tricks to help run RSTTool, kindly sent in by Sebastian Golly, of the University of Potsdam.

Issues encountered with RSTTool 3.43 (for Windows) with Ubuntu 12.10 'Quantal Quetzal' and Tcl 8.5.

Issue #1: Tcl Version > 8.4

Issue

When trying to launch RSTTool, the following error message is displayed:

Error in startup script: can't read "gdidir": no such variable

Cause

RSTTool expects a Tcl version ranging from 8.1 to 8.4. If your version of Tcl is newer (8.5, for example), RSTTool runs into trouble.

Solution

File: /Source/Shared/Print-win-gdi.tcl

  1. Open this file with a text editor.
  2. At the beginning of the file, there's a section that switches between different Tcl versions. Scroll down to the highest version ("8.4" in line 43).
  3. Extend the last switch option to cover your Tcl version. For Tcl 8.5, it shall look like this:
"8.4" - "8.5" { set gdidir [file join $DLL_DIR GDI84] package ifneeded printer 0.9.6.8 " load \"[file join $gdidir printer.dll]\" source \"[file join $gdidir prntcanv.tcl]\" " }
  1. Restart RSTTool.

Issue #2: Invalid Command Name

Issue

When trying to launch RSTTool, the following error message is displayed:

Error in startup script: invalid command name "console"

Solution

File: /LoadRSTTool.tcl

  1. Open this file with a text editor.
  2. Go to line 2 (containing "console show").
  3. Comment the line by placing a hash mark ( # ) in front of it:
# console show
  1. Restart RSTTool.

Issue #3: Missing Buttons in Start Screen

Issue

After launching RSTTool, the start screen ("RST Interface") is displayed, but there are no buttons (cf. screenshot).

Cause

In some environments, the screen has the wrong dimensions. You can either resize it manually every time you start RSTTool, or change the height permanently.

Solution

File: /Source/Shared/Opener.tcl

  1. Open this file with a text editor.
  2. Go to line 39 (starting with "set ypos").
  3. Change the value "-100" to "-200":

set ypos [expr ([lindex $windim 1] - [image height $opener] -200) / 2]

  1. Restart RSTTool.

 
vertical line
arrowgo to top

©2005-2024 William C. Mann, Maite Taboada. All rights reserved.