Thread: [Cheetahtemplate-discuss] Re: import problems
Brought to you by:
rtyler,
tavis_rudd
From: Tavis R. <ta...@ca...> - 2001-08-23 19:15:49
|
---------- Forwarded Message ---------- Subject: Re: import problems Date: Thu, 23 Aug 2001 13:35:16 -0500 From: Ian Bicking <ia...@co...> To: ta...@ca... Bah, I figured it out. After I looked at what Cheetah.__file__, I realized I had made a context named Cheetah, and the contexts are all somehow in the path (and not under their directory name, but under their context name). I knew it had to be something dumb. Well, thanks. Now I know, if in doubt, check the __file__. Tavis Rudd <ta...@ca...> wrote: > Ian, > puzzling problem ... the module's there ... you can > import it ... I don't get it either. I tested with a > relatively current copy of the Webware CVS before > releasing a3. > > I'm assuming that if you got to this point you've > realized that you have to add .tmpl and .py_bak to the > lists of exts that WebKit should ignore. > > Did you notice that it said: > ImportError: No module named Templates.SkeletonPage > rather than: > ImportError: No module named > Cheetah.Templates.SkeletonPage That doesn't sound right > to me. Try importing something else with a compound > package structure like that from another servlet and see > what happens. > > Tavis ------------------------------------------------------- |