Urban-Analytics-Technology-Platform / od2net

https://od2net.org
Apache License 2.0
31 stars 9 forks source link

Issues with using od2net on Windows #83

Open joeytalbot opened 1 month ago

joeytalbot commented 1 month ago

Here are a couple of issues I have come across while trying to run r/README.Rmd

Docker does not run but gives this error:

$ docker run -v $(pwd):/app ghcr.io/urban-analytics-technology-platform/od2net:main /app/config.json
Error: failed to open file `C:/Program Files/Git/app/config.json`

Caused by:
    No such file or directory (os error 2)

Also osmium is required

Robinlovelace commented 1 month ago

These are Windows-specific issues, also affecting ATE colleagues I think so cc @stholder3

dabreegster commented 1 month ago

Thanks, noted. I don't really use Docker regularly, so probably the mount point is wrong. PRs welcome to improve it. There's also #76 started if a dev container is any easier. In the meantime, I'd strongly recommend trying out a Linux setup for development work generally and building od2net from source.

Robinlovelace commented 1 month ago

Happy to give it a go.

joeytalbot commented 1 month ago

Happy to give it a go.

@Robinlovelace did you make any progress with this?

Robinlovelace commented 1 month ago

Yes, did get it working here, but in GitHub + devcontainer: https://github.com/acteng/netgen