[Tilecache] python ./setup.py test failed - tilecache 2.10
Ivan Mincik
ivan.mincik at gista.sk
Wed Jun 10 04:16:54 EDT 2009
Hi,
I wanted to upgrade from tilecache 2.03 used in Debian Lenny to version 2.10. When creating debian tilecache-2.10 package the process is failing on "python ./setup.py test".
The same command is running without any problems with 2.03 version. What can make this problem ?
OS: Debian Lenny i386.
Errors are following:
ivo at rybo:~/tmp/test_deb/tilecache/tilecache-2.10$ python ./setup.py test
running test
running egg_info
writing TileCache.egg-info/PKG-INFO
writing top-level names to TileCache.egg-info/top_level.txt
writing dependency_links to TileCache.egg-info/dependency_links.txt
reading manifest file 'TileCache.egg-info/SOURCES.txt'
writing manifest file 'TileCache.egg-info/SOURCES.txt'
running build_ext
Doctest: HACKING.swarm.txt ... FAIL
Doctest: HACKING.txt ... FAIL
Doctest: Service.txt ... FAIL
======================================================================
FAIL: Doctest: HACKING.swarm.txt
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/doctest.py", line 2128, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for HACKING.swarm.txt
File "/home/ivo/tmp/test_deb/tilecache/tilecache-2.10/tests/HACKING.swarm.txt", line 0
----------------------------------------------------------------------
File "/home/ivo/tmp/test_deb/tilecache/tilecache-2.10/tests/HACKING.swarm.txt", line 6, in HACKING.swarm.txt
Failed example:
layers = { "Some Layer": Layer("Some Layer") }
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.5/doctest.py", line 1228, in __run
compileflags, 1) in test.globs
File "<doctest HACKING.swarm.txt[3]>", line 1, in <module>
layers = { "Some Layer": Layer("Some Layer") }
File "/home/ivo/tmp/test_deb/tilecache/tilecache-2.10/TileCache/Layer.py", line 137, in __init__
self.paletted = False
AttributeError: 'Layer' object has no attribute 'paletted'
----------------------------------------------------------------------
File "/home/ivo/tmp/test_deb/tilecache/tilecache-2.10/tests/HACKING.swarm.txt", line 20, in HACKING.swarm.txt
Failed example:
msg2 = Message.thaw(thunk, layers)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.5/doctest.py", line 1228, in __run
compileflags, 1) in test.globs
File "<doctest HACKING.swarm.txt[11]>", line 1, in <module>
msg2 = Message.thaw(thunk, layers)
NameError: name 'layers' is not defined
----------------------------------------------------------------------
Thanks for help.
--
Ivan Mincik
Gista s.r.o.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20090610/895b1d0c/attachment.bin
More information about the Tilecache
mailing list