I have tried building and launching my own Cosmogony, because I have my own genre of this project(https://mappumappu.000webhostapp.com/index.html), albeit on a smaller scale so it really picked my interest!
But when I try to do a full flow of the cosmogony process
(1 - Fetch an ...osm.pbf from Geofabrik;
2 - Build a .json with the Cosmogony project;
3 - try to run Cosmogony Explorer with the .json.)
I get an error in the tests assertion part. I have tried with the Portugal-latest and Poland-latest osm.pbf files. It does, however, build the Explorer with the files already in the Cosmogony project(for example the luxembourg_filtered.osm.pbf in the cosmogony\tests\data folder), although it shows nothing besides the UI of the explorer(don't know if that's the expected behaviour). Do I need to add the .osm.pbf file to the ../tests/data so it knows what to expect?
I don't know what I can do to fix it so all help would be appreciated.
P.S.: There are two images attached, the first with the result of cosmogony json build and the second with more info of the error.
Also, the commands I'm running are:
cargo run --release -- generate -i portugal.osm.pbf
PATH_TO_COSMOGONY_DIR=../cosmogony_data pipenv run inv -e run-local --cosmogony-file-name=cosmogony_Portugal.json --build-dockers
Hi, I hope you're all doing well!
I have tried building and launching my own Cosmogony, because I have my own genre of this project(https://mappumappu.000webhostapp.com/index.html), albeit on a smaller scale so it really picked my interest! But when I try to do a full flow of the cosmogony process (1 - Fetch an ...osm.pbf from Geofabrik; 2 - Build a .json with the Cosmogony project; 3 - try to run Cosmogony Explorer with the .json.) I get an error in the tests assertion part. I have tried with the Portugal-latest and Poland-latest osm.pbf files. It does, however, build the Explorer with the files already in the Cosmogony project(for example the luxembourg_filtered.osm.pbf in the cosmogony\tests\data folder), although it shows nothing besides the UI of the explorer(don't know if that's the expected behaviour). Do I need to add the .osm.pbf file to the ../tests/data so it knows what to expect? I don't know what I can do to fix it so all help would be appreciated.
P.S.: There are two images attached, the first with the result of cosmogony json build and the second with more info of the error. Also, the commands I'm running are:
cargo run --release -- generate -i portugal.osm.pbf
PATH_TO_COSMOGONY_DIR=../cosmogony_data pipenv run inv -e run-local --cosmogony-file-name=cosmogony_Portugal.json --build-dockers
(cosmogony build)![result_build_cosmogony](https://user-images.githubusercontent.com/50185422/139532749-5f36b441-ad10-4758-a763-26f24663ea88.jpg)
(error in Docker run)![error_run_json_cosmogony](https://user-images.githubusercontent.com/50185422/139514887-bd713c7c-86fa-47d9-b834-be0056f34644.jpg)