命令`hoogle data`无法下载base.txt

时间:2015-02-10 18:48:36

标签: haskell hoogle

这是hoogle data

的输出
Downloading downloads/platform.cabal
# platform.cabal (for downloads/platform.cabal)
2015-02-10 19:44:01 URL:http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal [3334/3334] -> downloads/platform.cabal [1]
Downloaded downloads/platform.cabal
Downloading downloads/cabal.tar.gz
# cabal.tar.gz (for downloads/cabal.tar.gz)
2015-02-10 19:44:09 URL:http://hackage.haskell.org/packages/index.tar.gz [8794998/8794998] -> downloads/cabal.tar.gz [1]
Downloaded downloads/cabal.tar.gz
# cabal.tar (for downloads/cabal.tar)
Extracting tar file downloads/cabal.index
# cabal.tar (for downloads/cabal.index)
Finished extracting tar file downloads/cabal.index
# cabal.tar (for downloads/cabal.index)
Downloading downloads/hoogle.tar.gz
# hoogle.tar.gz (for downloads/hoogle.tar.gz)
2015-02-10 19:44:38 URL:http://hackage.haskell.org/packages/hoogle.tar.gz [20734807/20734807] -> downloads/hoogle.tar.gz [1]
Downloaded downloads/hoogle.tar.gz
# hoogle.tar (for downloads/hoogle.tar)
Extracting tar file downloads/hoogle.index
# hoogle.tar (for downloads/hoogle.index)
Finished extracting tar file downloads/hoogle.index
# hoogle.tar (for downloads/hoogle.index)
Downloading downloads/base.txt
# base.txt (for downloads/base.txt)
hoogle: Error when running Shake build system:
* default.hoo
* platform.hoo
* mtl.hoo
* base.txt
* downloads/base.txt.cache
* downloads/base.txt
user error (Development.Shake.command, system command failed
Command: wget -nv --no-check-certificate http://www.haskell.org/hoogle/base.txt --output-document=downloads/base.txt
Exit code: 4
Stderr was empty)

在Google上搜索没有产生任何有用的结果。浏览器无法解析http://www.haskell.org/hoogle/base.txt,所以我猜它已经失效了?任何工作方式?

1 个答案:

答案 0 :(得分:1)

wget退出代码4 indicates a network error

然而,在我的浏览器中,网址加载正常,但重定向为HTTPS。

如果你直接运行wget命令,你还能获得更多信息吗?