[Zope-dev] Zope Tests: 31 OK, 19 Failed, 2 Unknown
Tres Seaver
tseaver at palladion.com
Fri Sep 10 17:08:21 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tres Seaver wrote:
<snip ZODB-related failures>
>> Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit
>> From: ccomb at free.fr
>> Date: Fri Sep 10 01:38:52 EDT 2010
>> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019726.html
>
> This failure is not related to ZODB: it is triggered insize a
> zope.app.apidoc test::
>
> ------------------------------ %< --------------------------------
> File
> "/home/ccomb/buildout-eggs/zope.app.apidoc-3.7.4-py2.4.egg/zope/app/apidoc/presentation.txt",
> line 22, in presentation.txt
> Failed example:
> view = SimpleViewClass('browser/index.pt')
> Exception raised:
> Traceback (most recent call last):
> File "/usr/local/python2.4.6/lib/python2.4/doctest.py", line 1248,
> in __run
> compileflags, 1) in test.globs
> File "<doctest presentation.txt[2]>", line 1, in ?
> view = SimpleViewClass('browser/index.pt')
> File
> "/home/ccomb/buildout-eggs/zope.browserpage-3.12.2-py2.4.egg/zope/browserpage/simpleviewclass.py",
> line 54, in SimpleViewClass
> {'index': ViewPageTemplateFile(src, offering),
> File
> "/home/ccomb/buildout-eggs/zope.browserpage-3.12.2-py2.4.egg/zope/browserpage/viewpagetemplatefile.py",
> line 29, in __init__
> _prefix = self.get_path_from_prefix(_prefix)
> File
> "/home/ccomb/buildout-eggs/zope.pagetemplate-3.5.2-py2.4.egg/zope/pagetemplate/pagetemplatefile.py",
> line 56, in get_path_from_prefix
> path = package_home(_prefix)
> File
> "/home/ccomb/buildout-eggs/zope.pagetemplate-3.5.2-py2.4.egg/zope/pagetemplate/pagetemplatefile.py",
> line 36, in package_home
> filename = gdict["__file__"]
> KeyError: '__file__'
> ------------------------------ %< --------------------------------
>
> I don't see how the '_prefix' gets to be a non-string here, but it must
> be both not-a-string and not-a-module here to trigger that error.
Ugh, I can't reproduce this one locally on my trunk ZTK checkout.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkyKnkQACgkQ+gerLs4ltQ4+BACgzil8cJFUtWEyzB4gI6ZuYCOB
TfIAoLKi9PddbgqY2Bvq4j6MJ4QI7D0Y
=an6/
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list