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

Replace RemoteProfile with File Link #1

Open
ac87 opened this issue Sep 13, 2020 · 1 comment
Open

Replace RemoteProfile with File Link #1

ac87 opened this issue Sep 13, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@ac87
Copy link
Owner

ac87 commented Sep 13, 2020

It makes no sense for an app to load a file, pass it as text, the library to save it and then use it.

@ac87 ac87 added the enhancement New feature or request label Sep 13, 2020
@ac87
Copy link
Owner Author

ac87 commented Sep 13, 2020

Currently the profile has to be loaded from the same directory as the lookup.dat is stored so either the app needs to be store the profile in the same directory or have the library do it.

java.lang.RuntimeException: java.io.FileNotFoundException: /data/user/0/com.routing.brouter.test/files/lookups.dat (No such file or directory)
at btools.expressions.BExpressionMetaData.readMetaData(BExpressionMetaData.java:86)
at btools.router.ProfileCache.parseProfile(ProfileCache.java:107)
at btools.router.RoutingEngine.<init>(RoutingEngine.java:104)
at com.routing.brouter.BRouter.generateRoute(BRouter.kt:108)

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

No branches or pull requests

1 participant