tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Brunner <>
Subject Re: Websh error: "no interp !" on Windows
Date Mon, 20 Aug 2007 09:09:11 GMT

> I had a look at Websh (latest release) today and compiled it on
> Windows XP, Apache 2.2 (latest release) with MSVC 8 express.
> During installation, configuration and startup of Apache including
> the Websh module, everything is fine... no errors in the log - also
> no statement whether it worked. But when I try to load a page, an
> internal server error comes up and the error.log states: 
> [Sun Aug 19 22:07:16 2007] [error] [client] mod_websh - no interp !\n
> [Sun Aug 19 22:07:16 2007] [error] [client] couldn't run websh script: C:/Programme/Apache2.2/htdocs/index.html
> What's up there? Is the module not correctly initialized or is there
> something missing - maybe an environment variable? The websh/bin
> directory is in the path, as well as Tcl/bin directory. I even set

Mhh. Seems not to be the environment, as Apache usually does not start
if it doesn't find Tcl (shuts down with something like "httpd.exe:
Syntax error on line 119 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:
Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/ into
server: The specified module could not be found."

This can happen if you have a corrupt websh.conf though: if your
interpreter map throws an error, you get exactly the error you describe.
The interperter map is a proc that returns the interpreter class for a
request and is configured as follows by default:

# Setup interpreter classes for mod_websh
proc web::interpmap {file} {
    return $file

If that doesn't help and you're interested, I can send you a more
verbose interpool.c to help track down the problem.

BTW: by "the latest version" you mean the latest release 3.6.0b4 or
the latest source from svn? Please try the latest from svn: it's very
likely better than the release.

Ronnie Brunner |
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Z├╝rich | Switzerland |

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message