From: Ian Bicking <ianb@co...> - 2001-08-23 07:22:15
Hi y'all. Finally putting things together, and I was trying to get
Cheetah installed. I put in examples/cheetahSite as a context, and
compiled the pages. When I accessed one I got this error:
Traceback (most recent call last):
File "WebKit/Application.py", line 335, in dispatchRequest
File "WebKit/Application.py", line 473, in handleGoodURL
File "WebKit/Application.py", line 873, in createServletInTransaction
inst = self.getServlet(transaction,path,cache)
File "WebKit/Application.py", line 800, in getServlet
inst = factory.servletForTransaction(transaction)
File "WebKit/ServletFactory.py", line 178, in servletForTransaction
module = self.importAsPackage(transaction, path)
File "WebKit/ServletFactory.py", line 103, in importAsPackage
module = self._importModuleFromDirectory(fullname, name, moduleDir, forceReload=1)
File "WebKit/ServletFactory.py", line 134, in _importModuleFromDirectory
module = imp.load_module(fullModuleName, fp, pathname, stuff)
File "/home/httpd/Contexts/cheetahSite/index.py", line 84, in ?
from SiteTemplate import SiteTemplate
File "/home/httpd/Contexts/cheetahSite/SiteTemplate.py", line 429, in ?
from Cheetah.Templates.SkeletonPage import SkeletonPage
ImportError: No module named Templates.SkeletonPage
I don't get it. If I do that import from python by hand it works
fine. Cheetah is installed in /usr/local/lib/python2.1/site-packages,
per setup.py, which is in the path:
['', '/usr/local/lib/python2.1', '/usr/local/lib/python2.1/plat-linux2', '/usr/local/lib/python2.1/lib-tk', '/usr/local/lib/python2.1/lib-dynload', '/usr/local/lib/python2.1/site-packages', '/home/httpd/Webware', '/home/httpd/Webware/WebKit/Cache/PSP']
I figure there's something dumb I'm missing, but it's not popping out
Are there any Cheetah/Webware installation instructions?
Oh, name rank and serial number: 0.9.8a3, linux RedHat 6-ish server,
Python 2.1, CVS Webware.