[GraphHopper] Call load error
Daniele Germano
danielegermano77 at gmail.com
Mon Sep 1 11:26:25 UTC 2014
Done
Il giorno 01/set/2014, alle ore 13:16, Peter <graphhopper at gmx.de> ha scritto:
> Please create a new issue at github. We'll further discuss and find a fix there.
>
> Thanks,
> Peter.
>
> On 01.09.2014 13:14, Daniele Germano wrote:
>> i have download the project from her:
>> https://github.com/graphhopper/graphhopper
>>
>> and the jar from here:
>>
>> http://mvnrepository.com/artifact/com.graphhopper/graphhopper/0.3
>>
>> Il giorno 01/set/2014, alle ore 13:00, Peter <graphhopper at gmx.de> ha scritto:
>>
>>> > 09-01 12:51:04.946: I/GH(27683): Problem https://graphhopper.com/public/maps/0.3/
>>> > 09-01 12:51:04.946: I/GH(27683): java.io.FileNotFoundException: https://graphhopper.com/public/maps/0.3/
>>>
>>> Hmmh, strange. You are really using version 0.3? As there was a bug with same symptoms in previous versions: https://github.com/graphhopper/graphhopper/issues/127
>>>
>>> Regards,
>>> Peter.
>>>
>>> On 01.09.2014 12:54, Daniele Germano wrote:
>>>> here’s the log cat
>>>>
>>>> 09-01 12:51:04.946: I/GH(27683): Problem https://graphhopper.com/public/maps/0.3/
>>>> 09-01 12:51:04.946: I/GH(27683): java.io.FileNotFoundException: https://graphhopper.com/public/maps/0.3/
>>>> 09-01 12:51:04.946: I/GH(27683): at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
>>>> 09-01 12:51:04.946: I/GH(27683): at libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:271)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.util.Downloader.fetch(Downloader.java:75)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.util.Downloader.fetch(Downloader.java:86)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.util.Downloader.downloadAsString(Downloader.java:145)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.android.MainActivity$3.saveDoInBackground(MainActivity.java:240)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.android.MainActivity$3.saveDoInBackground(MainActivity.java:1)
>>>> 09-01 12:51:04.946: I/GH(27683): at com.graphhopper.android.GHAsyncTask.doInBackground(GHAsyncTask.java:15)
>>>> 09-01 12:51:04.946: I/GH(27683): at android.os.AsyncTask$2.call(AsyncTask.java:287)
>>>> 09-01 12:51:04.946: I/GH(27683): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
>>>> 09-01 12:51:04.946: I/GH(27683): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
>>>> 09-01 12:51:04.946: I/GH(27683): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
>>>> 09-01 12:51:04.946: I/GH(27683): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
>>>> 09-01 12:51:04.946: I/GH(27683): at java.lang.Thread.run(Thread.java:856)
>>>> 09-01 12:51:05.016: I/brcm-gr(27683): [gralloc_lock]: new usage 0x933
>>>>
>>>>
>>>> i have try to download europe_germany_berlin.ghz from the url from my mac.
>>>> i then convert to europe_germany_berlin-gh, but it still crash when i put the red flag on the map and have the same problem “Call load or importOrLoad before routing"
>>>> Il giorno 01/set/2014, alle ore 12:45, Peter <graphhopper at gmx.de> ha scritto:
>>>>
>>>>> Please use e.g. this code
>>>>>
>>>>> if (hasError())
>>>>> {
>>>>> log("Problem " + getErrorMessage(), getError());
>>>>> logUser("Are you connected to the internet? Problem while fetching remote area list: "
>>>>> + getErrorMessage());
>>>>> return;
>>>>> }
>>>>>
>>>>> and report the stacktrace
>>>>>
>>>>> Regards,
>>>>> Peter.
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140901/d36d4c5e/attachment.html>
More information about the GraphHopper
mailing list