Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS binding start error on Windows #6946

Open
csotiMatyas opened this issue Jun 13, 2024 · 3 comments
Open

NodeJS binding start error on Windows #6946

csotiMatyas opened this issue Jun 13, 2024 · 3 comments

Comments

@csotiMatyas
Copy link

csotiMatyas commented Jun 13, 2024

Because the fragmentation experienced in my other bug report : #6942 ;
I wanted to try out the NodeJS binding, on windows 10, on a bigger scale than a single country. But after merging uk and france-latest, when starting an OSRM instance, im getting the following error:

TypeError: I/O error occurred: ./data/merged-uk-france.osrm.cell_metrics : /mld/metrics/routability/exclude/3/weights (possible cause: "Invalid argument") (at include\storage/tar.hpp:53)
    at Object.<anonymous> (C:\Users\Gizi\Desktop\web_dev\Test\OSRM\index.js:4:17)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32)
    at Function.Module._load (node:internal/modules/cjs/loader:909:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47
PS C:\Users\Gizi\Desktop\web_dev\Test\OSRM>

This only happens with merged countries, I tried uk,france,romania-latest, and separately they work as expected.
I used osmium on Mac to merge, osmosis on windows, then osmium on windows for the 3rd merge.
Question: is that normal that all 3 had different size?

Im going to try the CH algorithm as well, will be back with a response.

The same thing happens with CH algorithm as well. ( extract -> contract )

@DennisOSRM
Copy link
Collaborator

Looks like the resulting OSM file is somehow inconsistent

@csotiMatyas
Copy link
Author

csotiMatyas commented Jun 13, 2024

@DennisOSRM I extracted the file, im looking at what is inside but superficially looks OK, and the same the as parts, every file is the same size, every meta file is the same size, can I inspect this weights file and diff with the uk and france latests weights ?

@csotiMatyas
Copy link
Author

csotiMatyas commented Jun 13, 2024

I merged romania and hungary, it works as expected. What could be the problem with merging france and uk ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants