zhyiwww
用平实的笔,记录编程路上的点点滴滴………
posts - 536,comments - 394,trackbacks - 0
我的错误日志如下:
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.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|
posted on 2009-06-28 23:52 zhyiwww 阅读(607) 评论(0)  编辑  收藏 所属分类: linuxgis

只有注册用户登录后才能发表评论。


网站导航: