[Tilecache] ImportError: No module named paste.request

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Mon Nov 25 00:00:19 PST 2013


Hi Steve,

Standard debug process. If you can't import paste, then check it is in any of the sys.path directories. Maybe it is installed in an older version (python 2.6).

>>> import paste
>>> paste
<module 'paste' from '/usr/lib/python2.7/dist-packages/paste/__init__.pyc'>
>>> import sys
>>> print sys.path
['', ... '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']

 
Manel Clos 

-----Mensaje original-----
De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de steve at stevehorn.cc
Enviado el: domingo, 24 de noviembre de 2013 15:02
Para: tilecache at lists.osgeo.org
Asunto: [Tilecache] ImportError: No module named paste.request

When trying to generate tiles (under WSGI), each request fails with an error
500:

127.0.0.1 - - [24/Nov/2013 08:51:46] "GET /1.0.0/zip4/4/0/7.png HTTP/1.1"
500 59
Traceback (most recent call last):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py",
line 85, in run
    self.result = application(self.environ, self.start_response)
  File
"/Library/Python/2.7/site-packages/TileCache-2.11-py2.7.egg/TileCache/Service.py",
line 397, in wsgiApp
    return wsgiHandler(environ, start_response, theService)
  File
"/Library/Python/2.7/site-packages/TileCache-2.11-py2.7.egg/TileCache/Service.py",
line 286, in wsgiHandler
    from paste.request import parse_formvars
ImportError: No module named paste.request

I have installed Python Paste via easy_install and it still does not work.
Can someone help me understand what is wrong?

FYI - This environment was working a couple months ago before upgrade to OSX
Mavericks. Could that have anything to do with this issue? 

Thanks for any help!



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/ImportError-No-module-named-paste-request-tp5090872.html
Sent from the TileCache mailing list archive at Nabble.com.
_______________________________________________
Tilecache mailing list
Tilecache at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/tilecache


More information about the Tilecache mailing list