• Domingo 22 de Diciembre de 2024, 09:54

Autor Tema:  Python y tilecache  (Leído 1796 veces)

costacalida

  • Nuevo Miembro
  • *
  • Mensajes: 3
    • Ver Perfil
Python y tilecache
« en: Miércoles 6 de Julio de 2011, 10:00 »
0
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:
Citar
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: inetpub -wroot -tilecache-tests-HACKING.swarm.txt Doctest: HACKING.swarm.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "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 "inetpub - wroot - tilecache-tests-HACKING.swarm.txt", line 0 ---------------------------------------------------------------------- File "inetpub-wroot-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 "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 "inetpub-wroot-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 "  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 "inetpub-wroot-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 "Pytho n27-li -doct est.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 "inetp ub- wroot-til cache-te sts-HACKING.swarm.txt", line 8, in HACKING.swarm.txt Failed example: msg1 = Message("PING", key, 123456) Exception raised: Traceback (most recent call last): File "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 "inetpub-wro ot-tilecache- ests-HACKING.swarm.txt", line 9, in HACKING.swarm.txt Failed example: msg1.type == "PING" Exception raised: Traceback (most recent call last): File "Pytho n27-lib-doc test.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 "inetpub-wroot-tilecache-tests-HACKING.swarm.txt", line 11, in HACKING.swarm.txt Failed example: msg1.key == key Exception raised: Traceback (most recent call last): File "Python2 7-lib-d octest.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 "inetpub-w wwroot-ti lecache-te sts-HACKING.swarm.txt", line 13, in HACKING.swarm.txt Failed example: msg1.seq_id == 123456 Exception raised: Traceback (most recent call last): File "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 "inetpu b-wroot -tilecache-tes ts-HACKING.swarm.txt", line 16, in HACKING.swarm.txt Failed example: thunk = msg1.freeze() Exception raised: Traceback (most recent call last): File "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 "inetpu b-wro ot-tileca che-tests-HACKING.swarm.txt", line 17, in HACKING.swarm.txt Failed example: thunk Exception raised: Traceback (most recent call last): File "Pyth on2 7-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 "inetpub-wr oot-tile cache-tests-HACKING.".