You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error on pgosm_flex.py, line 448: "No such file or directory".
What did you do to try analyzing the problem?
In case subregion is None, the filename is created using filename = base_name.format(region) (ref).
Now, region is north-america/us.
So pbf_filename will be "north-america/us-latest.osm.pbf", so it is stored in a 'north-america' subfolder contained in output dir. But this subfolder not exists, so wget throw "No such file or directory".
The text was updated successfully, but these errors were encountered:
@robdesideri Attempting this same approach should now throw a ValueError with guidance about splitting the region into region + subregion. The docs/DOCKER-RUN.md file now has a Regions and Subregions section that helps explain this as well. There may be use cases where the Geofabrik naming/patterns don't work. This set of changes also adds a new --input-file option (#192) to override that portion of functionality.
I suspect there are other improvements RE the docs that could be made to better explain all of this. I am open to any and all suggestions when it comes to make it easier and more understandable! Let me know if you have other questions or if the work here doesn't fully address the problem.
What version of PgOSM Flex are you using?
0.4.0 on Docker.
Docker image
latest
What did you do exactly?
Executes without subregion.
What did happen instead?
Error on
pgosm_flex.py
, line 448: "No such file or directory".What did you do to try analyzing the problem?
In case subregion is
None
, thefilename
is created usingfilename = base_name.format(region)
(ref).Now, region is
north-america/us
.So
pbf_filename
will be "north-america/us-latest.osm.pbf", so it is stored in a 'north-america' subfolder contained in output dir. But this subfolder not exists, so wget throw "No such file or directory".The text was updated successfully, but these errors were encountered: