Your message dated Tue, 14 Nov 2006 01:01:59 +0100
with message-id <[EMAIL PROTECTED]>
and subject line cheetah: test failures when not in /tmp
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cheetah-common
Version: 0.9.15-5

If you run
    cheetah test

in a directory other than /tmp, you get 16 failures and 3 errors


in /tmp, you get 16 failures, but no errors.


The directory is writable, but the first error is:

**********************************************************************
ERROR Cheetah.Tests.SyntaxAndOutput.ExtendsDirective.test4 (#extends 
SampleBaseClass without #import)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Cheetah/Tests/SyntaxAndOutput.py", 
line 1986, in test4
    '<img src="spacer.gif" width="1" height="1" alt="" />\n')
  File "/usr/lib/python2.3/site-packages/Cheetah/Tests/SyntaxAndOutput.py", 
line 146, in verify
    self._gen(input)
  File "/usr/lib/python2.3/site-packages/Cheetah/Tests/SyntaxAndOutput.py", 
line 154, in _gen
    settings=self.settings(),
  File "/usr/lib/python2.3/site-packages/Cheetah/Template.py", line 156, in 
__init__
    self.compile(source, file)
  File "/usr/lib/python2.3/site-packages/Cheetah/Template.py", line 245, in 
compile
    compiler.compile()
  File "/usr/lib/python2.3/site-packages/Cheetah/Compiler.py", line 1086, in 
compile
    self.parse()
 File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1036, in parse 
   self.eatDirective()
  File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1150, in 
eatDirective
    self.directiveEaters[directiveKey]()
  File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1470, in 
eatExtends
    mod = 
self._templateObj._importAsDummyModule('\n'.join(self._importStatements))
  File "/usr/lib/python2.3/site-packages/Cheetah/Template.py", line 454, in 
_importAsDummyModule
    mod = self._impModFromDummyPackage(packageName, tmpFilename)
  File "/usr/lib/python2.3/site-packages/Cheetah/Template.py", line 496, in 
_impModFromDummyPackage
    moduleDir, forceReload=1)
  File "/usr/lib/python2.3/site-packages/Cheetah/Template.py", line 526, in 
_importModuleFromDirectory
    module = imp.load_module(fullModuleName, fp, pathname, stuff)
  File "/tmp/__CheetahTemp_2005021919454929608.py", line 13, in ?
    from SampleBaseClass import SampleBaseClass
ImportError: No module named SampleBaseClass

**********************************************************************





Chris


--- End Message ---
--- Begin Message ---
Hello,

I think  that this  bug is  fixed in current  version of  cheetah. Tests
works fine now. Therefore I close it. Thanks for your report.

Regards,
Arnaud Fontaine

--- End Message ---

Reply via email to