Number: 598
Title: Web Dot Errors
Submitter: Mark Harrington
Date: 30 Dec 2004
Subsys: tcl/tk
Version: 2.0
System: linux-*-*
Severity: major
I am having trouble using webdot on Red Hat Enterprise Linux 3.0 ES with Apache/2.0.46 (Red Hat). I installed the following RPMS:

The dot executable seems to work OK. The following command produces a *.png

dot -Tpng /var/www/html/webdot/ -o graph1.png
But calls to webdot give errors:, produces:

WebDot Error:

Could not find/open font,12, produces an internal server error with the following in the error log:

can't read "x1": no such variable, referer:

while executing, referer:

"if {(($x >= $x1 && $x <= $x2) || ($x <= $x1 && $x >= $x2)), referer:

!! && (($y >= $y1 && $y <= $y2) || ($y <= $y1 && $y >= $y2))} {, referer:

puts "Locat...", referer:

("foreach" body line 3), referer:

invoked from within, referer:

"foreach l [split [read $f] n] {, referer:

if {[scan $l {rectangle (%d,%d) (%d,%d) %s %s} x1 y1 x2 y2 xy_url xy_label]} {, referer:

if {(($x >= $x1 &&...", referer:

invoked from within, referer:

"if {[string equal $type map] && [string length $x]} {, referer:

# deal with server-side mapping (ismap), referer:

set defaulturl {}, referer:

foreach l [split [read $f]...", referer:

(file "/var/www/cgi-bin/webdot" line 1283), referer:

Premature end of script headers: webdot, referer:
Owner: *
Status: *