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

Cannot deserialize routing db: Invalid version #: 9 #348

Open
Fabio7586 opened this issue Jan 25, 2022 · 2 comments
Open

Cannot deserialize routing db: Invalid version #: 9 #348

Fabio7586 opened this issue Jan 25, 2022 · 2 comments

Comments

@Fabio7586
Copy link

Hello, i have created a routerdb file with IDP instruction; after that i have copied it in C:\work\data\multimodal and then i launched routing but when load all it give me following error:

"Cannot deserialize routing db: Invalid version #: 9"

at the following instruction:

var routerDb = RouterDb.Deserialize(stream);

Please help me!!

@xivk
Copy link
Contributor

xivk commented Jan 26, 2022

This should only happen in one for 2 cases:

  • The version of Itinero used in the IDP project used to created the routerdb is higher than the version used to load the routerdb afterwards.
  • The file is corrupt for some reason.

@luzma9999
Copy link

luzma9999 commented Jul 12, 2023

Hi,
I have the same problem. When I build a routerdb file with IDP, after if I try to deserialize it with Itinero.API.dll, it does not work. Where is the software for download rounting-API and IDP with the right versions ?
Please, help me!

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

No branches or pull requests

3 participants