Loading ...
Sorry, an error occurred while loading the content.

1916Re: [Cheetahtemplate-discuss] still getting errors under IIS

Expand Messages
  • Rodrigo B. de Oliveira
    Jan 2, 2003
    • 0 Attachment
      Everything is working fine now. The problem was with the environment
      variable TEMP that was pointing to c:\WINNT\TEMP when the actual directory
      name was c:\WINNT\Temp (capital T only).

      thanks again for the help!
      Rodrigo

      ----- Original Message -----
      From: "Rodrigo B. de Oliveira" <rodrigobamboo@...>
      To: "Cheetah Template List" <cheetahtemplate-discuss@...>
      Sent: Thursday, December 19, 2002 1:01 AM
      Subject: [Cheetahtemplate-discuss] still getting errors under IIS


      > <traceback>
      > File "C:\Python22\Lib\site-packages\nih\web\presentation\cheetah.py", line
      > 9, in _getTemplateFactory
      > m = t._importAsDummyModule(t._generatedModuleCode)
      >
      > File "C:\Python22\Lib\site-packages\Cheetah\Template.py", line 453, in
      > _importAsDummyModule
      > packageName = self._makeDummyPackageForDir(moduleDir)
      >
      > File "C:\Python22\Lib\site-packages\Cheetah\Template.py", line 475, in
      > _makeDummyPackageForDir
      > isPackageDir=1,forceReload=1)
      >
      > File "C:\Python22\Lib\site-packages\Cheetah\Template.py", line 523, in
      > _importModuleFromDirectory
      > fp, pathname, stuff = imp.find_module(moduleName, [directory])
      >
      > ImportError: No module named TEMP
      > </traceback>
      >
      > The first line shows what my code is trying to do. Any ideas? Is there any
      > other approach that might allow me to use the template class in
      > _generatedModuleCode?
      >
      > Thanks again,
      > Rodrigo
      >
      >
      > -------------------------------------------------------
      > This SF.NET email is sponsored by: Geek Gift Procrastinating?
      > Get the perfect geek gift now! Before the Holidays pass you by.
      > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
      > _______________________________________________
      > Cheetahtemplate-discuss mailing list
      > Cheetahtemplate-discuss@...
      > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
      >


      -------------------------------------------------------
      This sf.net email is sponsored by:ThinkGeek
      Welcome to geek heaven.
      http://thinkgeek.com/sf
      _______________________________________________
      Cheetahtemplate-discuss mailing list
      Cheetahtemplate-discuss@...
      https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
    • Show all 3 messages in this topic