[GraphHopper] graphhoppermailing list

Peter K peathal at yahoo.de
Mon May 6 12:15:40 UTC 2013


Hi Ricardo,

Currently issue-23 is a work in progress not really suited for normal
use - except you want to activly develop on it.

And for master: I don't need the full logcat output just where something
with "Exception" starts :)

Regards,
Peter.

> I received the subscription thanks!
>
> I decide test issue-23 branch and the problem still here.
> When i use the remote option or download option( i.e. Berlin) then the
> map shows up but fails when the app invoke prepareGraph() method: and
> then show the message:
>
> "An error happened while creating graph: Couldn't load
> storage/sdcard0/graphhopper/maps/berling-gh"
>
>  protected Path saveDoInBackground(Void... v) throws Exception {
>                 GraphHopper tmpHopp = new GraphHopper().forMobile();
>                 tmpHopp.chShortcuts(true, true);
>                *tmpHopp.load(mapsFolder + currentArea);*
>                 log("found graph with " + tmpHopp.graph().nodes() + "
> nodes");
>                 hopper = tmpHopp;
>                 return null;
>   }
>
> While i am debuggin i can see how in the
> instrucction *tmpHopp.load(mapsFolder + currentArea); *an exception is
> thrown and catched and then show the message above.
>
> I cant send you a logcat because everytime i try to use the app
> restart the download and then i have to uninstall and clean
> graphhopper folder.
>
> Looks like master branch seems more stable than issue-23 branch.
>
>
>
>
>
>
> 2013/5/6 Peter K <peathal at yahoo.de <mailto:peathal at yahoo.de>>
>
>     I sent you an reply to the mailing list + subscribed you.
>
>     If you did't recieve it ... I'll really have to consider switching
>     the mailing list :(
>
>     Did you subscribed to the mailing list before posting to it?
>
>
>>     Hi Peter,
>>     Thanks for reply, but i did not recieve any answer ou vía mailing
>>     list.
>>
>>     Now i have another problem :(
>>
>>     Today (before read this message) I cloned master branch  and now
>>     there are no more problems generating files for routing but...
>>     when i carry them to SD card and I start the app something fails
>>     in load method of GraphHopper class.
>>
>>     protected Path saveDoInBackground(Void... v) throws Exception {
>>                     GraphHopper tmpHopp = new GraphHopper().forAndroid();
>>                     tmpHopp.contractionHierarchies(true);
>>                    *tmpHopp.load(mapsFolder + currentArea);*
>>                     log("found graph with " +
>>     tmpHopp.getGraph().nodes() + " nodes");
>>                     hopper = tmpHopp;
>>                     return null;
>>     }
>>
>>     I check mapsFolder and currentArea strings and they have correct
>>     values.
>>
>>     More info: i tried with Slovenia and Portugal, in other hand if i
>>     use remote option and download Berlin or New york everything goes
>>     well.
>>
>>     PD: I'm sorry if this should be and issue in github, but i am
>>     very new and I am not sure if this can be considered an issue.
>>
>>
>>
>>
>>     2013/5/6 Peter K <peathal at yahoo.de <mailto:peathal at yahoo.de>>
>>
>>         hi ricardo, did you recieve my answer via the mailing list?
>>
>>         http://lists.openstreetmap.org/pipermail/graphhopper/2013-May/000108.html
>>
>>
>
>
>


-- 
GraphHopper.com Your way is our destination!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130506/767f7b0f/attachment-0001.html>


More information about the GraphHopper mailing list