我的錯誤日志如下:
root@XXX:/etc/rc2.d# tilecache_http_server
Listening on port 8080
Traceback (most recent call last):
? File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
??? self.result = application(self.environ, self.start_response)
? File "/var/lib/python-support/python2.6/TileCache/Service.py", line 328, in wsgiApp
??? return wsgiHandler(environ, start_response, theService)
? File "/var/lib/python-support/python2.6/TileCache/Service.py", line 240, in wsgiHandler
??? from paste.request import parse_formvars
ImportError: No module named paste.request
localhost - - [28/Jun/2009 23:47:49] "GET /tilecache/tilecache.py/1.0.0/NASA_JPL_WMS/1/3/1.png HTTP/1.1" 500 59
Traceback (most recent call last):
? File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
??? self.result = application(self.environ, self.start_response)
? File "/var/lib/python-support/python2.6/TileCache/Service.py", line 328, in wsgiApp
??? return wsgiHandler(environ, start_response, theService)
? File "/var/lib/python-support/python2.6/TileCache/Service.py", line 240, in wsgiHandler
??? from paste.request import parse_formvars
ImportError: No module named paste.request
錯誤的關鍵就是上面的黑體部分。
解決的方法:
# aptitude install python-paste -y
就可以解決問題了。
|----------------------------------------------------------------------------------------|
版權聲明 版權所有 @zhyiwww
引用請注明來源 http://www.aygfsteel.com/zhyiwww
|----------------------------------------------------------------------------------------|