BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#361 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-04-2008, 01:05 PM

Quote:
Originally Posted by Iare Tosevite View Post
Hmm it was simpler than I expected. Apperently using data at any time will cause bbtracker to stop working.
I highly doubt that, there must be some other factor involved.

Quote:
bbtracker just says something about pausing, then starting. That's it. It refuses to work again till I close and open it.
Pausing just means that bbTracker is no longer the actively displayed program. It will still be recording, it just means it no longer displays (i.e. you switched to another program or the main menu).

Quote:
There must be another bug because last time I didn't do anything but leave it in pocket while I rode my bicycle. It still stopped. Too bad I didn't know how to access log then. :(
Just keep logging turned on and when it happens again send me the debug.txt. If it is a reproducible bug then it will show up again.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!



  (#362 (permalink)) Old
at.rex Offline
New Member
 
Posts: 1
Join Date: Jan 2008
Model: 8130
PIN: N/A
Carrier: Alltel
Default Bbtracker would stop (v5.1) - 05-04-2008, 05:19 PM

working for me when I would stay stationary for around 10 minutes or so. I finally increased my free memory from around 9 or 10M to 14M and the problem has stopped. Just a thought, maybe you could try increasing your memory. Since then I have downloaded 5.2 and it seems to be working fine also. Thanks Saua.
   
Reply With Quote
  (#363 (permalink)) Old
Iare Tosevite Offline
Thumbs Must Hurt
 
Iare Tosevite's Avatar
 
Posts: 150
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Default 05-04-2008, 07:48 PM

Hmm definitely not a memory problem. I got over 20 mb free space.

I will try to leave it tracking and hope it stops.


"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
   
Reply With Quote
  (#364 (permalink)) Old
kms_md Offline
New Member
 
Posts: 3
Join Date: Apr 2008
Model: 8830
PIN: N/A
Carrier: Sprint
Default 05-04-2008, 08:25 PM

Quote:
Originally Posted by Iare Tosevite View Post
Hmm definitely not a memory problem. I got over 20 mb free space.

I will try to leave it tracking and hope it stops.
try running BBMaps in the background. i was having the same problem. i now run sprint navigation's compass, ensure that it has acquired a gps signal, close the active window (red button), and then turn on bbtracker. i do not lose my tracks now. prior to this, tracks would seem to randomly stop and not restart. this problem was not unique to bbtracker - it occurred with gpsed and mobile tracker, as well. i have a feeling the problem is related to the implementation of gps in the 8830.
   
Reply With Quote
  (#365 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-04-2008, 09:19 PM

Quote:
Originally Posted by kms_md View Post
try running BBMaps in the background. i was having the same problem. i now run sprint navigation's compass, ensure that it has acquired a gps signal, close the active window (red button), and then turn on bbtracker. i do not lose my tracks now. prior to this, tracks would seem to randomly stop and not restart. this problem was not unique to bbtracker - it occurred with gpsed and mobile tracker, as well. i have a feeling the problem is related to the implementation of gps in the 8830.
I've read a interesting bit about constant GPS updates in the BlackBerry developer handbook. Could those of you, who've got a problem with frequent disconnects set their update interval to anything less than ten seconds for some tests? 9 seconds should be ok and what value below 10 you choose shouldn't change anything.

Because according to the developers handbook the device will permanently try to aquire new data when the requested update interval is less than ten seconds ... maybe there's some bug in the BB OS there.
   
Reply With Quote
  (#366 (permalink)) Old
Iare Tosevite Offline
Thumbs Must Hurt
 
Iare Tosevite's Avatar
 
Posts: 150
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Default 05-04-2008, 11:50 PM

Mine was set to 5 second interval. It stopped after tracking 2 points only. I didn't do anything with phone between starting track and end, other than putting in phone and it auto-locked. ( Holster lock ). Last time it tracked 46 points while being in locked mode, so that shouldn't be the problem.

I checked the log and the story is same. The log ended with entries with Startapp and Pauseapp, with 9 seconds between those 2 entries.

I will test with 15 second interval now.

*edit*
It stopped after 6 points. Log entry, other than usual info, just shows "(time) a Starting locationLister with interval 15". When I return to main screen, the "Tracking" box at top right appears again, but after 15 seconds disappears with no new point at all. I waited quite a bit, but still no new points.


"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )

Last edited by Iare Tosevite : 05-05-2008 at 12:07 AM. Reason: New info
   
Reply With Quote
  (#367 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-05-2008, 01:44 AM

I seem to be "losing" tracks.

I have set my track directory to be SDCard/Blackberry/gps, and as far as I know this is where all my tracks have been saved to until now.

However, at least some of the tracks that I save now aren't found in there, and I can't work out where they are. If I try to use the app to load a saved track, I can see them all in the list, so they aren't gone, yet they aren't all in that directory. One I saved yesterday is in there.

I have the export directory set to be the same (i.e. I haven't changed it, so it defaults to be the same). When I export these tracks, the export files are where they should be.

What could be happening here? Where else could they be? And how does it know to display all the tracks found in the normal and this other mystery location?

This wouldn't normally be a problem, but I need to save one particular track in its native format, but I can find it.
   
Reply With Quote
  (#368 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-05-2008, 03:29 AM

Quote:
Originally Posted by pshute View Post
What could be happening here? Where else could they be? And how does it know to display all the tracks found in the normal and this other mystery location?
Those tracks are stored in an internal memory area called RMS. In the first versions of bbTracker that was the only way to store tracks. Since the RMS has only limited storage (64kb, even on a BlackBerry), I've added the ability to store to a directory.

Normally tracks should only be stored in the RMS when storing to the file systems fails for one reason or another in current bbTracker versions.

Quote:
This wouldn't normally be a problem, but I need to save one particular track in its native format, but I can find it.
Currently there is no way to get the those out into a .bbt file, only exporting works, at the moment.
   
Reply With Quote
  (#369 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-07-2008, 01:45 AM

Quote:
Originally Posted by saua View Post
Those tracks are stored in an internal memory area called RMS. In the first versions of bbTracker that was the only way to store tracks. Since the RMS has only limited storage (64kb, even on a BlackBerry), I've added the ability to store to a directory.

Normally tracks should only be stored in the RMS when storing to the file systems fails for one reason or another in current bbTracker versions.
OK, but that means sooner or later it's going to run out of room, doesn't it? So I need to fix this.

The RAM seems ok - I can view older tracks, and I can play music, etc, on there. Is it possible that it has decided that the RAM is faulty when it isn't? Could a fault during the saving of a track cause it to refuse to save to the directory after the fault is rectified?

One fault I can think of would be if I started a track while the phone was in mass storage mode, as that would prevent the program accessing it. But should the problem persist even after rebooting the phone?
   
Reply With Quote
  (#370 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-07-2008, 05:01 AM

Quote:
Originally Posted by pshute View Post
OK, but that means sooner or later it's going to run out of room, doesn't it? So I need to fix this.
Thats right ... but I don't know what causes tracks to still be stored in RMS, so I'm not sure you can fix it.

Quote:
The RAM seems ok - I can view older tracks, and I can play music, etc, on there. Is it possible that it has decided that the RAM is faulty when it isn't? Could a fault during the saving of a track cause it to refuse to save to the directory after the fault is rectified?
It should not usually prevent it from saving to the directory later on. It might be possible that the OS will still report the directory as unaccessible, but I doubt it and even if it did, it would surely go back to normal when you restarted bbTracker.

Quote:
One fault I can think of would be if I started a track while the phone was in mass storage mode, as that would prevent the program accessing it. But should the problem persist even after rebooting the phone?
The problem should definitely not persist later on. Currently if saving to the directory fails, bbTracker just silently writes to the RMS. Maybe I should make it scream instead so that the user at least knows that something might be wrong ...
   
Reply With Quote
  (#371 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 0.5.3 released - 05-07-2008, 06:39 AM

I'm releasing 0.5.3. It only contains some minor bugfixes with regard to trackpoint naming/marking.
   
Reply With Quote
  (#372 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-07-2008, 06:20 PM

Quote:
Originally Posted by saua View Post
The problem should definitely not persist later on. Currently if saving to the directory fails, bbTracker just silently writes to the RMS. Maybe I should make it scream instead so that the user at least knows that something might be wrong ...
Yes, a warning might be a good idea. It's good that it can continue to operate, but given that that storage space is small, the user ought to be warned that they have limited time to fix the problem.

As well as a warning, it might be nice to display the track file location on the Details view (this might also be useful to people who have changed the location over time and want to know where a particular old track is stored).

It could also be useful to flag RMS tracks in the list that's displayed when loading tracks.

I'm going to load v0.5.3 in the hope that it shakes some sense into it. If not then I'll try uninstalling and reinstalling. Unfortunately that will mean I have to try and check which tracks might be lost this way (will RMS tracks be lost if I uninstall the program?). I'm hoping it's just some recent ones, but for all I know this has been an intermittent problem for a long time.

I guess the lesson for me is to maintain my tracks better. I always accept the default names, so I have no idea which ones I want to keep. Most are rubbish but I'd have to display them in Google Maps to have any idea what any of them are.
   
Reply With Quote
  (#373 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default Alternative lat/long display - 05-07-2008, 07:35 PM

While I prefer BBTracker's coordinate format (degrees, minutes, seconds) I occasionally have to enter decimal coordinates into other programs. I'd like to be able to swap between DMS and decimal format.

Rather than adding another configuration option, perhaps it would be simpler to just show both formats on the Details view.
   
Reply With Quote
  (#374 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-07-2008, 09:39 PM

Quote:
Originally Posted by pshute View Post
I'm going to load v0.5.3 in the hope that it shakes some sense into it. If not then I'll try uninstalling and reinstalling. Unfortunately that will mean I have to try and check which tracks might be lost this way (will RMS tracks be lost if I uninstall the program?). I'm hoping it's just some recent ones, but for all I know this has been an intermittent problem for a long time.
I've loaded v0.5.3 but it didn't help.

I've uninstalled and reinstalled 0.5.3. This lost the tracks stored on RMS, no great loss, but didn't fix the problem.

I tried the same again, this time rebooting after uninstalling, same problem.

I discovered a simple way to work out which tracks are stored on RMS - just change the track file directory to an empty one, then only RMS tracks show in the list when you go to load them.

I had 9 out of 96 stored on RMS. These were all fairly recent, but interestingly 3 were stored on the memory card in the time after the problem began. I'm wondering if each of these were too big for RMS and it decided to use the card instead. It would be reassuring if that was the case.

I'm at a loss to know what to try next. The card still has 130MB free on it, so I can't see why it has decided not to use it anymore.

Incidentally, 96 tracks makes the program extremely slow to display a list of them, and even just to delete one. I advise other users not to allow this many to accumulate in one directory.
   
Reply With Quote
  (#375 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default Tracks stored in wrong area in 0.5.x - 05-07-2008, 10:16 PM

Quote:
Originally Posted by pshute View Post
I'm at a loss to know what to try next. The card still has 130MB free on it, so I can't see why it has decided not to use it anymore.
I've now uninstalled 0.5.3 and installed 0.4.2, which I had been using until I upgraded to 0.5.1 recently. A test track got stored on the card like it's supposed to.

I then reinstalled 0.5.3. A test track got stored in the RMS area.

Could some other 0.5.3 users please test where their tracks are being stored? I have a Blackberry 8800, and I'm storing tracks on a 2GB micro SD card, if the exact configuration is important.

If it does turn out to be the version that's doing it, then I'd suggest it may have been introduced in 0.5.0 or 0.5.1.

I seems that it will only matter if you uninstall the application, as the tracks in RMS appear to be retained through reboots, and tracks that are too large for that area seem to be stored on the memory card instead. Tracks might also be lost if you do an upgrade without uninstalling, but I'm not sure about that.

Exported tracks get stored in the right area, which is all one would normally worry about.

If the program does now operate as above, then there's not that much cause for alarm. I'm just worried that if it's not doing what it ought to and we don't know why then we should consider this behaviour erratic and possibly untrustworthy.
   
Reply With Quote
  (#376 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-08-2008, 02:50 AM

Quote:
Originally Posted by pshute View Post
I seems that it will only matter if you uninstall the application, as the tracks in RMS appear to be retained through reboots, and tracks that are too large for that area seem to be stored on the memory card instead. Tracks might also be lost if you do an upgrade without uninstalling, but I'm not sure about that.
Only uninstalling bbTracker should clear out the RMS, updating should retain it.

Quote:
Exported tracks get stored in the right area, which is all one would normally worry about.
Exported tracks are always stored to the file system, as storing them in the RMS would be useless (the user doesn't have direct access to the RMS).

Quote:
If the program does now operate as above, then there's not that much cause for alarm. I'm just worried that if it's not doing what it ought to and we don't know why then we should consider this behaviour erratic and possibly untrustworthy.
I think I found the root problem: In my refactoring in 0.5.0 I accidentally switched the order of the two storage locations (RMSTrackStore and FileTrackStore for anyone interested in digging into the code).

Now bbTracker *first* tries to store to the RMS and if that fails (because the RMS is full or the track is too long), then it'll write to your directory.

Thats obviously sub-optimal, since the RMS is supposed to be a worst-case thing. And now, when you actually reach a point where bbTracker can't store to your filesystem it will also be unable to store to the RMS, since it already filled that up ... not a good idea.

I will fix this in the next version.

For now a workaround would be to fill up the RMS with "useless" tracks. Then new tracks will be stored to the file system.

Quote:
Incidentally, 96 tracks makes the program extremely slow to display a list of them, and even just to delete one. I advise other users not to allow this many to accumulate in one directory.
Thats because bbTracker currently reads at least the first few bytes of every track to find out its name. I should really start keeping an index of known tracks to speed this stuff up, but have not done so, because this usually brings with itself its own set of problems (index being out-of-sync, index being corrupt, ...).

Quote:
While I prefer BBTracker's coordinate format (degrees, minutes, seconds) I occasionally have to enter decimal coordinates into other programs. I'd like to be able to swap between DMS and decimal format.

Rather than adding another configuration option, perhaps it would be simpler to just show both formats on the Details view.
A useful thing, for sure. But I don't think I should overload the details view any more (on large font not even the number of satellites displays correctly on my 8800).

That being said: suggestions on how to streamline the UI or how to make it look nicer are always welcome
   
Reply With Quote
  (#377 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-09-2008, 12:30 AM

Quote:
Originally Posted by saua View Post
I think I found the root problem: In my refactoring in 0.5.0 I accidentally switched the order of the two storage locations (RMSTrackStore and FileTrackStore for anyone interested in digging into the code).

Now bbTracker *first* tries to store to the RMS and if that fails (because the RMS is full or the track is too long), then it'll write to your directory.
Excellent, no cause for alarm then.

I'd forgotten that not everyone uses a small font, so perhaps there does need to be an option to toggle the coordinates format. Another way would be to allow the details screen to scroll, then you could put any amount of information on it. There could be a second page of details instead.
   
Reply With Quote
  (#378 (permalink)) Old
saua Offline
Thumbs Must Hurt
 
saua's Avatar
 
Posts: 118
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Default 05-09-2008, 03:40 AM

I'd like to announce a little change in development/release planning. I've realized that my personal testing is no longer sufficient to find every bug that might sneak into the code while developing more features. Therefore I'll be making development builds available for testing, if anyone's interested.

The upside for testers is that they can play with new features earlier than those who wait for a release and help me produce good software. The downside is that those development builds will probably be more buggy and not as polished as a release should be.

I'll post more when the first development build is available, I'd just like to hear from you if you'd be interested in testing it (it won't be a "closed beta" or anything like that. The development builds will be publicly available, just as all other builds are).
   
Reply With Quote
  (#379 (permalink)) Old
pshute Offline
Thumbs Must Hurt
 
Posts: 57
Join Date: Jul 2005
Model: 8800
Carrier: Telstra
Default 05-09-2008, 06:32 AM

Quote: