| View previous topic :: View next topic |
| Author |
Message |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Fri Nov 24, 2006 8:51 am Post subject: error when loading tar-map |
|
|
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.
Download the tar-archive here:
http://rapidshare.com/files/4606971/karte_nbg.tar.html
Can anybody help me?
thx igillan
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Fri Nov 24, 2006 9:22 am Post subject: |
|
|
| Pardon me, but what do you mean by "set-method"? And TB what version you have?
|
|
| Back to top |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Fri Nov 24, 2006 9:28 am Post subject: |
|
|
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
igillan
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Fri Nov 24, 2006 9:36 am Post subject: |
|
|
| I see. By the way, why do you want to use tar-packed map, instead of plain-directory one?
|
|
| Back to top |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Fri Nov 24, 2006 6:36 pm Post subject: |
|
|
the tar-packed map loads very fast , the unpacked map slow , although i have create a "nbg_karte.set" file
Is my tar-file correctly, to work with trekbuddy?
thx igillan
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
|
| Back to top |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Fri Nov 24, 2006 7:36 pm Post subject: |
|
|
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 |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Fri Nov 24, 2006 10:49 pm Post subject: |
|
|
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 |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Sat Nov 25, 2006 1:45 pm Post subject: |
|
|
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 |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Sat Nov 25, 2006 2:09 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Sat Nov 25, 2006 6:36 pm Post subject: |
|
|
| 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...
|
|
| Back to top |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Sun Nov 26, 2006 9:28 am Post subject: |
|
|
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 |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Sun Nov 26, 2006 10:27 am Post subject: |
|
|
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 |
|
 |
igillan
Joined: 24 Nov 2006 Posts: 60
|
Posted: Sun Nov 26, 2006 10:46 am Post subject: |
|
|
"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 |
|
 |
|