At 02:47 PM 11/28/01 +0000, david harris wrote:
>finally getting round to messing with Webware about (18 months after first
>dowmloading it!) and I am getting the following error, after installing
>under SuSE 7.2 usiung apache 1.3.19, and when trying to access the test
>page at 'http://localhost/cgi-bin/WebKit.cgi' I get:
>
>"ERROR
>
>Traceback (most recent call last):
> File "/usr/local/httpd/cgi-bin/WebKit.cgi", line 24, in ?
> import WebKit.CGIAdapter
>ImportError: No module named WebKit.CGIAdapter"
>
>I installed Webware in a non root home directory and ran
>install.py, so permissions should be right & I edited WebKit.cgi thus;
>WebwareDir ='/home/davidbh/apps/Webware'
>
>CGIAdapter is in the Webkit directory.
>suggestions?
This usually means that the permissions aren't set up right, so that
WebKit.cgi can't access the Webware directory. Try adding the following
line into WebKit.cgi before the failing import:
foobar =
open('/home/davidbh/apps/Webware/WebKit/CGIAdapter.py').read()
And see if that gives you a permissions-related exception. I'll bet it does.
--
- Geoff Talvola
[EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss