Number: 141
Title: Webdot failing with "unknown option -state"
Submitter: Dean Carpenter
Date: Mon Apr 29 17:53:02 2002
Subsys: Tcl/Tk utilities
Version: 1.8.5
System: x86-Linux-Debian woody
Severity: critical
Problem:
The system is a standard Debian Woody Linux install. Current versions are :

graphviz : 1.8.5 (also tried woody version 1.7.16 - no go) webdot : 1.8.4 tcl : 8.3

When executing this url : (internal only)

http://a1cricket01.pharma.com/cgi-bin/webdot/http://a1cricket01.pharma.com/dot/rtrall.dot.tcl

instead of the normal blue screen with the zoomable images, we get the following error msg. (Dang it - can't cut and paste - I have to type ...)

An error occured during execution of this Tclet: unknown option "-state" Stack trace: unknown option "-state" while executing "$c create text 307 218 -text {} -fill black -font {Times 2 normal} -state disabled -tags 0graph0" ("uplevel" body line 198) invoked from within "uplevel #0 #!/bin/shn# the next line is a comment in tcl, but executable by sh \nexec wish "$0" ${1+"$@"}nn#Zoomable..."

I can provide the .dot files and any other information you may need.

Thanks for your help !

Dean
Input:

It's kind of a large file that's auto-generated from a router-scanning perl script.  Included below ...
Input file: b141.dot
Fix:
I can't find where -state is being applied :(

[ellson] The lack of -state support in the tclplugin indicates that it is too old. -state was added fairly recently to wish. The fix is to upgrade tclplugin.
Owner: ellson
Status: Fixed