Reply
Thread Tools
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#41
Originally Posted by mrlanrat View Post
I just installed your new version. But it wont start. When I run the gpxview command from xterm i get this:

Code:
~ $ gpxview
ERROR parsing "container": Unknown "Unknown"
Segmentation fault
~ $
Old one worked just fine. Any ideas?
Hmm, can you try to figure out which of your gpx files contains a cache with the container type "unknown"??

Anyway, this should of course not make gpxview crash. But i'd also be interested in the cache with the container type.

Edit: I cannot reproduce the crash even if i modify my test gpx files to contain a container of type "Unknown". Please don't delete the offending gpx file. I am very interested in this file as i have tried to prevent such crashes due to unexpected gpx file entries. Anybody else with a similar problem?

Last edited by Master of Gizmo; 2008-04-30 at 11:58.
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#42
Here is the gpx file that is causing it to crash.

(.gpx is blocked so I had to zip it)
Attached Files
File Type: zip Test.zip (1.3 KB, 146 views)
 

The Following User Says Thank You to mrlanrat For This Useful Post:
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#43
Originally Posted by mrlanrat View Post
Here is the gpx file that is causing it to crash.

(.gpx is blocked so I had to zip it)
Thanks. The bug is fixed and included in release 0.1-8:
  • Minor gui improvements
  • Fixed zero-byte xml element crash (this was the crash)
  • Travelbug view
  • Owner search

Enjoy ...
 

The Following User Says Thank You to Master of Gizmo For This Useful Post:
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#44
Thanks, it works now.
 
Posts: 49 | Thanked: 7 times | Joined on Apr 2007
#45
Originally Posted by Master of Gizmo View Post
gpxview uses the gpsbt framework of maemo to start the gps which is the way it's meant to be used. This works for me and all of my beta testers. Did you change your setup from the default one? E.g. install a patched gpsd or so?

Can you start gpxview from the xterm and tell me what it tells on the command line while starting without finding a gps itself? In fact it _must_ be finding something itself because it only tries five times at startup time and gives up with gps if that fails. Also my gps startup routines work very much like the ones in maemo-mapper as i took a look there to see how this is being done in maemo.
I'm having the same issue with my N800. In xterm I get:

Error connecting to GPS reciever: (22) Invalid argument (no rfcomm created)

Starting Maemo Mapper first gets the GPS (external) running...

Tim
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#46
Originally Posted by tps View Post
I'm having the same issue with my N800. In xterm I get:

Error connecting to GPS reciever: (22) Invalid argument (no rfcomm created)

Starting Maemo Mapper first gets the GPS (external) running...

Tim
Are other applications also able to start the GPS? The problem with maemo mapper is that it supports a bunch of ways to start the GPS. This is due to the fact that maemo mapper already supported GPS devices before os2008 introduced the GPS framework.

Maybe you didn't configure the GPS properly for the GPS framework but instead only configured it inside maemo-mapper? Can you e.g. access the GPS from the control panels GPS entry? Can you update your "home position" there (i am guessing the exact wording as my n810 talks german)? If your GPS only works inside maemo-mapper, chances are that you didn't properly setup the GPS in the os2008 GPS framework.

Under os2008 you basically don't configure anyting GPS related in maemo-mapper. You especially don't set a specific bluetooth gps but just leave everything blank and let the GPS framework do its thing.
 
Posts: 49 | Thanked: 7 times | Joined on Apr 2007
#47
Originally Posted by Master of Gizmo View Post
Are other applications also able to start the GPS? The problem with maemo mapper is that it supports a bunch of ways to start the GPS. This is due to the fact that maemo mapper already supported GPS devices before os2008 introduced the GPS framework.

Maybe you didn't configure the GPS properly for the GPS framework but instead only configured it inside maemo-mapper? Can you e.g. access the GPS from the control panels GPS entry? Can you update your "home position" there (i am guessing the exact wording as my n810 talks german)? If your GPS only works inside maemo-mapper, chances are that you didn't properly setup the GPS in the os2008 GPS framework.

Under os2008 you basically don't configure anyting GPS related in maemo-mapper. You especially don't set a specific bluetooth gps but just leave everything blank and let the GPS framework do its thing.
I have to have MM search for the GPS and then bind to it using the BT MAC. How would you go about telling the N800 to use a certain BT GPS? It can't just pick one at random, right? I think I went into some menu for the GPS and chose my Holux, but that never seemed to make a difference.

Tim
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#48
Originally Posted by tps View Post
I have to have MM search for the GPS and then bind to it using the BT MAC. How would you go about telling the N800 to use a certain BT GPS? It can't just pick one at random, right? I think I went into some menu for the GPS and chose my Holux, but that never seemed to make a difference.

Tim
Isn't the result obvious? The only application you ever told about your bluetooth GPS is MM. And now you always have to start MM to enable to GPS. How should the framework or any other application start the GPS if only Maemo Mapper knows the required details like the BT MAC?

Unless Maemo-Mapper also works with a blank MAC address setting as desciibed here for the internal GPS:

https://garage.maemo.org/plugins/scm...gs_GPS_heading

it probably won't work with anything but Maemo-Mapper.

What's descibed there for the "internal GPS" applies to all GPS devices handled by the GPS framework. And only those work for gpxview as it only works with devices handled by the GPS framework.

Summary: If you can leave the MAC address entry in MM blank, the GPS should also work for gpxview as this indicates that your GPS framework is setup properly. If you need to specify some mac address for the GPS to work within MM, then GPS in gpxview won't work since you are bypassing the GPS framework and make MM directly access the GPS. This isn't good ...

Last edited by Master of Gizmo; 2008-05-03 at 11:11.
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#49
I just wanted to say thanks again. Today I used gpxview to find my first geocach with my N810.
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#50
And yet another update (in fact two of them).

The main changes are:

- Simple geo calculation screen (for things like "go 100yd in 30°)
- a satellite widget
- tbs/logs/waypoints are sorted
- the view always returns to the last list position (for easy browsing)
- Some more details in goto view
 

The Following 2 Users Say Thank You to Master of Gizmo For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:35.