Python - Error con Python en tilecache

   
Vista:

Error con Python en tilecache

Publicado por costacalida (1 intervención) el 06/07/2011 09:51:28
Estoy intentando instalar tilecache en un ii7. Tengo python instalado y parece funcionar, el test típico de python funciona, ... pero al intentar ejecutar el test que viene en una carpeta de tilecache me devuelve unos errores.

Alguien sabe interpretarlos ?

Gracias:

Error HTTP 502.2 - Bad Gateway
La aplicación CGI especificada tuvo un comportamiento erróneo al no devolver un conjunto completo de encabezados HTTP. Los encabezados que devolvió son "FFF ====================================================================== FAIL: C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt Doctest: HACKING.swarm.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 2153, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for HACKING.swarm.txt File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 0 ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 1, in HACKING.swarm.txt Failed example: from TileCache.Swarm import Message Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[0]>", line 1, in <module> from TileCache.Swarm import Message ImportError: No module named TileCache.Swarm ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 2, in HACKING.swarm.txt Failed example: from TileCache.Layer import Layer, Tile Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[1]>", line 1, in <module> from TileCache.Layer import Layer, Tile ImportError: No module named TileCache.Layer ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 5, in HACKING.swarm.txt Failed example: layers = { "Some Layer": Layer("Some Layer") } Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[3]>", line 1, in <module> layers = { "Some Layer": Layer("Some Layer") } NameError: name 'Layer' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 8, in HACKING.swarm.txt Failed example: msg1 = Message("PING", key, 123456) Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[5]>", line 1, in <module> msg1 = Message("PING", key, 123456) NameError: name 'Message' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 9, in HACKING.swarm.txt Failed example: msg1.type == "PING" Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[6]>", line 1, in <module> msg1.type == "PING" NameError: name 'msg1' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 11, in HACKING.swarm.txt Failed example: msg1.key == key Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[7]>", line 1, in <module> msg1.key == key NameError: name 'msg1' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 13, in HACKING.swarm.txt Failed example: msg1.seq_id == 123456 Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[8]>", line 1, in <module> msg1.seq_id == 123456 NameError: name 'msg1' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 16, in HACKING.swarm.txt Failed example: thunk = msg1.freeze() Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[9]>", line 1, in <module> thunk = msg1.freeze() NameError: name 'msg1' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.swarm.txt", line 17, in HACKING.swarm.txt Failed example: thunk Exception raised: Traceback (most recent call last): File "C:\Python27\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs File "<doctest HACKING.swarm.txt[10]>", line 1, in <module> thunk NameError: name 'thunk' is not defined ---------------------------------------------------------------------- File "C:\inetpub\wwwroot\tilecache\tests\HACKING.".
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder