icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone coming
Visit our 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 
error when loading tar-map
Goto page 1, 2  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Fri Nov 24, 2006 8:51 am    Post subject: error when loading tar-map Reply with quote

hi, when i load a tar-map, shows trekbuddy the map , but when trekbuddy connect to internal gps (sxg75) show trekbuddy this error-message:
"java.io.interruptetIOExeption.Streamclosed" and the app hangs up.
sometimes shows trekbuddy a "Render-error".
The same map with "set-method" works very fine. Confused
Download the tar-archive here:
http://rapidshare.com/files/4606971/karte_nbg.tar.html
Can anybody help me?
thx igillan
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Fri Nov 24, 2006 9:22 am    Post subject: Reply with quote

Pardon me, but what do you mean by "set-method"? And TB what version you have?
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Fri Nov 24, 2006 9:28 am    Post subject: Reply with quote

thx for answer
trekbuddy ver 0.93


set-method like this:
"5. Copy the calibration file (the one with .map or .gmi extension) to phone's memory card. In the same place create set directory and copy all map slices to it.
So the directory then looks like:

18_Prague_north.map
set/
set/18_0_0.png
set/18_240_0.png
set/18_480_0.png
set/... "

i hope you understand me, with my bad english Wink

igillan
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Fri Nov 24, 2006 9:36 am    Post subject: Reply with quote

I see. By the way, why do you want to use tar-packed map, instead of plain-directory one?
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Fri Nov 24, 2006 6:36 pm    Post subject: Reply with quote

the tar-packed map loads very fast , the unpacked map slow Smile , although i have create a "nbg_karte.set" file
Is my tar-file correctly, to work with trekbuddy?
thx igillan
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Fri Nov 24, 2006 6:59 pm    Post subject: Reply with quote

Your map works fine in my N6230i. Coud you try http://www.trekbuddy.net/releases/devel/2006-11-24-18-00/trekbuddy.jar?

What does Option->Info->Jsr75/Fc say?
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Fri Nov 24, 2006 7:36 pm    Post subject: Reply with quote

i have installed the "dev-Version" now come this error if TB starts and will load the map :" _RenderFailure_java.lang.NullPointerException:"
wenn i press "done" TB show the map , after 1-2 min, if the Gps has Signal and TB will show the right location the error massage called:
"java.io.interruptetIOExeption.Streamclosed" and the app hangs up.
Option->Info->Jsr75/Fc : resetable? 1
thx igillan
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Fri Nov 24, 2006 10:49 pm    Post subject: Reply with quote

The "stream closed" occures when a slice is about to be loaded?

I've put a few checkpoints here: http://www.trekbuddy.net/releases/devel/InterruptedIO/trekbuddy.jar

If that won't help, let me know the error message, and try to add
Code:
App-Flags: fs_no_reset

attribute to JAD and redeploy the application.
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sat Nov 25, 2006 1:40 pm    Post subject: Reply with quote

Very Happy Very Happy Very Happy
at first TB hangs up at Check-point 1
"java.lang.RuntimeException: Check#1"
Then i add "App-Flags: fs_no_reset " to jad-File
And..... it works!!!
the slice-change is very fast. you give a very good support .
thank you very much.
igillan

But.... i have still one question:
When i copy the Tar-Archive in a Subdirectory like
"efs-misellaneous/Karten/map.tar" the display shows error (see attachment) . is this a bug?
thx igillan



QPSTDispCapture_3924.JPG
 Description:
 Filesize:  14.03 KB
 Viewed:  9007 Time(s)

QPSTDispCapture_3924.JPG


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


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Sat Nov 25, 2006 1:45 pm    Post subject: Reply with quote

Thank you very much for the report. I'll hardcode "fs_no_reset" for SXG75.

So in Options->Settings->Map URL you have "file:///efs-misellaneous/Karten/map.tar", but program attempts to load "file:///efs-misellaneous/Karten"?
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sat Nov 25, 2006 2:09 pm    Post subject: Reply with quote

Yes, but "Karten" is a directory.
thx igillan

p.s. "Karten" is german for "maps"

i have add the " fs_no_reset" in jad-file from V0.9.3
and it works Smile
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Sat Nov 25, 2006 6:36 pm    Post subject: Reply with quote

igillan wrote:
Yes, but "Karten" is a directory.


I see, but that's wrong. If you load a map via Load Map, it is offered to be used as default, but apparently for some reason filename was omitted. I have never heard that map file url got malformed... Shocked
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sun Nov 26, 2006 9:28 am    Post subject: Reply with quote

When i type in

Options->Settings->Map URL "file:///efs-misellaneous/Karten/map.tar" manually it is the same error.
greetz igillan
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5083

PostPosted: Sun Nov 26, 2006 10:27 am    Post subject: Reply with quote

efs-misc represents memory card?
If so, it's unfortuantely been known to be very problematic storage ... well, unusable from midlets, I'm afraid..
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sun Nov 26, 2006 10:46 am    Post subject: Reply with quote

"file:///efs-misellaneous/Karten/map.tar" is the phone memory
"file:///mmc-misellaneous/Karten/map.tar" is memory card but it is the same error
greetz igillan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> General discussion All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group