Bug#295958: test failures when not in /tmp
Chris Walker wrote: 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. Release of 0.9.16a1 indicates that these errors are a result of running test in a directory that isn't writable. - Abort with a helpful error message if user runs 'cheetah test' in a directory without write permission. (Kludge in CheetahWrapper.py; we should probably move the temp files under the system tmp directory.) [MO] Now, the fix in 0.9.16a1 is obviously a helpful error message. So, if the cheetah team isn't going to do more than add an error message, I plan on changing the severity of this bug to minor and tagging it wont-fix. I could possibly back-port the fix, but would you really benefit all that much with an additional error message? -- Chad Walstrom [EMAIL PROTECTED] http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ signature.asc Description: Digital signature
Bug#295958: test failures when not in /tmp
On Sun, Feb 20, 2005 at 12:00:48PM -0600, Chad Walstrom wrote: Chris Walker wrote: 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. Release of 0.9.16a1 indicates that these errors are a result of running test in a directory that isn't writable. In 0.9.15, it also occurs in a directory that IS writable. Which I should have said more clearly in the initial bug report. Sorry. This is why I reported the bug. - Abort with a helpful error message if user runs 'cheetah test' in a directory without write permission. (Kludge in CheetahWrapper.py; we should probably move the temp files under the system tmp directory.) [MO] Now, the fix in 0.9.16a1 is obviously a helpful error message. So, if the cheetah team isn't going to do more than add an error message, I plan on changing the severity of this bug to minor and tagging it wont-fix. I could possibly back-port the fix, but would you really benefit all that much with an additional error message? If it is fixed in 0.9.16a1, then I don't think it is worth backporting the fix. minor is fine. Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#295958: test failures when not in /tmp
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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]