Thread: [Gpsbabel-code] Error in garmin.cc
Brought to you by:
robertl
From: Dirk <di...@di...> - 2024-07-09 04:47:11
|
Hi! I'm using GPSBabel with a Garmin eTrex H. Recently updated to Ubuntu MATE 24.04 LTS and since then GPSBabel crashes with the following error message: gpsbabel: ./garmin.cc:380: void rw_init(const QString&): Zusicherung »!QString(valid_waypt_chars).contains('-')« nicht erfüllt. '-' can be a valid waypoint character for some older Garmin devices as correctly defined in garmin.cc. Hence line 306 of the current garmin.cc assert(!QString(valid_waypt_chars).contains('-')); makes GPSBabel unusable for those devices. Regards Dirk |
From: tsteven f. <tst...@gm...> - 2024-07-09 11:17:58
|
Thanks. As you pointed out the check is problematic. However I would expect assertions to be disabled in release code. Can you try the snap at https://github.com/GPSBabel/gpsbabel/releases/tag/Continuous-Linux ? If that works OK it would imply Ubuntu mate has a build problem as well as the problematic check. On Mon, Jul 8, 2024, 10:47 PM Dirk <di...@di...> wrote: > Hi! > > I'm using GPSBabel with a Garmin eTrex H. Recently updated to Ubuntu MATE > 24.04 LTS and since then GPSBabel crashes with the following error message: > > gpsbabel: ./garmin.cc:380: void rw_init(const QString&): Zusicherung > »!QString(valid_waypt_chars).contains('-')« nicht erfüllt. > > '-' can be a valid waypoint character for some older Garmin devices as > correctly defined in garmin.cc. Hence line 306 of the current garmin.cc > > assert(!QString(valid_waypt_chars).contains('-')); > > makes GPSBabel unusable for those devices. > > Regards > > Dirk > > _______________________________________________ > Gpsbabel-code mailing list http://www.gpsbabel.org > Gps...@li... > https://lists.sourceforge.net/lists/listinfo/gpsbabel-code > |