osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

NodeJS binding start error on Windows

Open csotiMatyas opened this issue 1 year ago • 3 comments

Because the fragmentation experienced in my other bug report : https://github.com/Project-OSRM/osrm-backend/issues/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 )

csotiMatyas avatar Jun 13 '24 06:06 csotiMatyas