viking crashes when I want to download the maps around a track
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
viking (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: viking
When I start viking, download the data from the GPS (via File -> Aquire from GPS), add a Map layer and go to a track to download the maps around the track, I get the following output. This is reproducible. I did get a warning about ' New map cannot be displayed in the current drawmode. Select "UTM Mode" from View menu to view it.' But the program should not crash on it.
If needs be, I can provide more infomation.
paul@etna ~ $ viking -V
GPSBabel Version: 1.3.6
Waypoint type: 108
Chosen waypoint length 10
ERROR:terraserv
Aborted
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: viking 0.9.8-0ubuntu1
SourcePackage: viking
Uname: Linux 2.6.28-15-generic i686
Changed in viking (Ubuntu): | |
status: | Confirmed → Fix Released |
Fixed upstream and is in version 0.9.96.
Here is the patch:
------- ------- ------- ----- src/terraserver mapsource. c ------- ------- ------- -----
index 7fb9472..efeb9d0 100644
@@ -187,7 +187,8 @@ _coord_to_mapcoord ( VikMapSource *self, const VikCoord *src, gdouble xmpp, gdou
TerraserverMa pSourcePrivate *priv = TERRASERVER_ MAP_SOURCE_ PRIVATE( self);
int type = priv->type;
+ if ( src->mode == VIK_COORD_UTM )
+ return FALSE;
if ( xmpp != ympp )
return FALSE;