Number: 598
Title: Web Dot Errors
Submitter: Mark Harrington
Date: 30 Dec 2004
Subsys: tcl/tk
Version: 2.0
System: linux-*-*
Severity: major
Problem:
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:


webdot-2.0-1.noarch.rpm
graphviz-2.0-1.fc1.i386.rpm
graphviz-tcl-2.0-1.fc1.i386.rpm
The dot executable seems to work OK. The following command produces a *.png

dot -Tpng /var/www/html/webdot/basic.dot -o graph1.png
But calls to webdot give errors: http://xxx.xxx.xxx/cgi-bin/webdot/webdot/basic.dot.neato.png, produces:

WebDot Error:

Could not find/open font

http://xxx.xxx.xxx/cgi-bin/webdot/webdot/webdot_op.dot.dot.map?11,12, produces an internal server error with the following in the error log:

can't read "x1": no such variable, referer: http://xxx.xxx.xxx/webdot/

while executing, referer: http://xxx.xxx.xxx/webdot/

"if {(($x >= $x1 && $x <= $x2) || ($x <= $x1 && $x >= $x2)), referer: http://xxx.xxx.xxx/webdot/

!! && (($y >= $y1 && $y <= $y2) || ($y <= $y1 && $y >= $y2))} {, referer: http://xxx.xxx.xxx/webdot/

puts "Locat...", referer: http://xxx.xxx.xxx/webdot/

("foreach" body line 3), referer: http://xxx.xxx.xxx/webdot/

invoked from within, referer: http://xxx.xxx.xxx/webdot/

"foreach l [split [read $f] n] {, referer: http://xxx.xxx.xxx/webdot/

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

if {(($x >= $x1 &&...", referer: http://xxx.xxx.xxx/webdot/

invoked from within, referer: http://xxx.xxx.xxx/webdot/

"if {[string equal $type map] && [string length $x]} {, referer: http://xxx.xxx.xxx/webdot/

# deal with server-side mapping (ismap), referer: http://xxx.xxx.xxx/webdot/

set defaulturl {}, referer: http://xxx.xxx.xxx/webdot/

foreach l [split [read $f]...", referer: http://xxx.xxx.xxx/webdot/

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

Premature end of script headers: webdot, referer: http://xxx.xxx.xxx/webdot/
Owner: *
Status: *