-
Notifications
You must be signed in to change notification settings - Fork 204
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
GetDirections() throws json exception #22
Comments
Im using the nuget package, an api key and the google providers, actually the SetPositionByKeywords and GetPoint methods works fine. The problem is with the GetDirections that throws me an exceptionincode {8}, the debuggers tells me its a JsonReaderException, GetRoute doesnt work neither. I leave an example of the code: Dim Start as New PointLatLng(Latitud, Longitud) Dim Direction as GDirections Same problem if i use String instead of PointLatLng GetRoute doesnt throw me an exception but the list of points it returns is empty |
publish a new version with this correction, could you tell me if your problem is solved. |
GetDirections(GDirections, PointLatLng, PointLatLng, Boolean, Boolean, Boolean, Boolean) is working fine now (Thank you very much!!!) GetDirections(GDirections, String, String, Boolean, Boolean, Boolean, Boolean, Boolean) is still throwing an exceptionincode {8} |
Thank you very much for the warning, the correction was made, update to version 1.8.8 |
Update it, but im getting a Unable to load DLL 'SQLite.Interop.DLL', i tried to uninstall it and install it again with all the dependencies, but no luck. P.S: i downgrade it to 1.8.5 (the highest version i was able) and the error is gone |
checked and confirmed, i could downgrade to 1.8.7 and it was the same problem, i could compile with 1.8.6 |
I created a new project and I had no problem. could you create a new project and try |
This is what i did and the results: *Started a new proyect, download and installed the nuget package -- No problem there. Edit: |
Found out the problem, our project use Net Framework 4.0 which is the max in windows xp and sqlite 1.0.109.2 needs 4.5 (Not that sure, actually), so we will probably stay in 1.8.6. |
Greetings, thanks for your report, I made some changes in the project to be compatible with the framework 4.0, please try and tell me. |
1.9 work great in both GetDirection, so i will close this issue. |
I dont understand what am i doing wrong to be honest, GetDirections() is throwing a 'Newtonsoft.Json.JsonReaderException' in Newtonsoft.Json.dll
tried to upgrade my json version but that didnt do the trick
The text was updated successfully, but these errors were encountered: