Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
failed to parse index file

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
guest



Joined: 08 Oct 2006
Posts: 4953

PostPosted: Fri Jun 02, 2017 11:32 am    Post subject: failed to parse index file Reply with quote

Hi. I have trekbuddy tared atlas created in MOBAC. It has 5 zoom levels. First four levels work fine, but the fifth most detailed zoom level fails to load with this error:

[6] : InvalidMapException [5]: Failed to parse index file: java.lang.NumberFormatException: Not a digit:

When I press OK on this error, trekbuddy says "Incorrect file selected. Try again."

I think it's maybe because of too large (too many tiles) map. But strange thing is, that I used the same settings for generating my previous map atlas and it worked fine.

Can someone help me with this? Thanks
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Jun 02, 2017 11:55 am    Post subject: Reply with quote

Can you upload the main (atlas) index file (.tar) and index files (.tmi, .tmc - if there are any) for the level that fails.
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4953

PostPosted: Fri Jun 02, 2017 1:06 pm    Post subject: Reply with quote

I had to compress the index file for the fifth zoom level, the forum kept saying that I cannot upload empty file, don't know why.


cr.tar
 Description:
Main index file

Download
 Filename:  cr.tar
 Filesize:  19.5 KB
 Downloaded:  1 Time(s)


5.zip
 Description:
Fifth zoom level index file, zipped

Download
 Filename:  5.zip
 Filesize:  660.46 KB
 Downloaded:  1 Time(s)

Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Jun 02, 2017 2:09 pm    Post subject: Reply with quote

There is some binary garbage in 5.tmi (look for string '799672', it follows right after).

You can try to delete 5.tmi, TB will try to create binary index file (5.tmc) on first load so it will be slow but next time should fast.
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4953

PostPosted: Fri Jun 02, 2017 2:19 pm    Post subject: Reply with quote

Aha, it's maybe corrupted file. When I was copying those files from the card to the computer, it reported some filesystem problems. They should be fixed now. I tried to create another atlas in the meantime and it works fine.

So it's probably the corrupted file. I should have tried to fix the filesystem earlier, but I usually connect the phone to the computer via USB cable. This time I inserted the card directly to card reader and Windows recognized some problems.

Sorry for this unnecessary question and thanks again for the help.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group