[python-win32] ASP import strangeness

Mark Hammond mhammond@skippinet.com.au
Fri, 24 Jan 2003 09:33:31 +1100


> And here is ASP:
> sys.path:
> -----------
> ['C:\\Python22\\lib\\site-packages\\Pythonwin',
> 'C:\\Python22\\lib\\site-
> packages\\win32',
> 'C:\\Python22\\lib\\site-packages\\win32\\lib', 'C:\\Python22
> \\lib\\site-packages', 'C:\\Python22\\Lib',
> 'C:\\Python22\\DLLs', 'C:\\Python22
> \\Lib\\lib-tk', 'C:\\WINDOWS\\system32', 'C:\\Python22', 'C:\\Python22
> \\PIL', 'C:\\InetPub\\wwwroot\\AssessNet\\vr\\modules', 'C:\\Python22
> \\lib\\site-
> packages\\Numeric',
> 'C:\\InetPub\\wwwroot\\NutraNet\\modules', 'c:\\Python22
> \\Lib\\site-
> packages\\PyUIGui', 'C:\\cygwin\\home\\brian\\RBFoundation',
> 'C:\\cygwin\\home\
> \brian\\RBRapier', 'C:\\cygwin\\home\\brian\\RBPrivate',
> 'c:\\cygwin\\home\\bri
> an\\boa', 'C:\\Python22\\lib\\site-packages\\piddle']
> -----------
> NutraNet.__path__:
> -----------
> ['C:\\InetPub\\wwwroot\\NutraNet\\modules\\NutraNet']
>
>
> ASP throws and exception when trying to import the
> NutraNet.Templates, so
> above is only up to printing NutraNet.__path__

Very strange!  Is it possible that the Templates directory has wierd
permissions, meaning the localsystem user (under which ASP runs) can not see
the directory?

Mark.