opengeos / whitebox-python

WhiteboxTools Python Frontend

Home Page:https://pypi.org/project/whitebox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

urllib.error.HTTPError: HTTP Error 404: Not Found

bkavlak opened this issue · comments

  • whitebox version: 1.4.0
  • Python version: 3.6
  • Operating System: Linux 18.04 LTS

Description

Hey, I'm getting error in the Docker geemap container when import whitebox for the first time.
error

It is not a problem if I type again an import. I couldn't understand why this throws an error. Here is a related issue:
https://stackoverflow.com/questions/42441211/python-urllib-error-httperror-http-error-404-not-found

I guess this is not an important error and related to network issues. I wanted to add in case someone sees the error message.

What I Did

docker run -it --name geemap_latest -p 8888:8888 -p 6006:6006 -v C:/Users/batuh/Desktop:/geemap/data bkavlak/geemap:latest bash
import whitebox

whitebox needs to download the WhiteboxTools binary for the first time use. I am not sure why it would throw the urllib error. It works fine on my local computer.

Yes, it seems we can ignore it. This is an issue for the first import.

I just ran into the same issue. It seems the testdata were no longer available from the WhiteboxTools repo. I will update the URLs shortly to fix this.

image

This issue has been fixed in whitebox v1.4.1