Index: src/python/bin/gnuboat
===================================================================
--- src/python/bin/gnuboat	(revision 9773514b63fb306019a818c5730c59df5355ba58)
+++ src/python/bin/gnuboat	(revision 23fa35430591eca4427d43c462f770f877759769)
@@ -31,4 +31,5 @@
 import pynmea2
 import traceback
+import math
 
 from gnuboat import daemon
@@ -106,7 +107,7 @@
         nmeafile.write('{}{}\r\n'.format(logsystemtime, str(pynmea2.RMC('GN', 'RMC',
                                                      (gpsTime.strftime("%H%M%S"), gpsStatus,
-                                                     '{:02d}{:s}'.format(latitude['degrees'], latitude['minutes']),
+                                                     '{:02d}{}'.format(latitude['degrees'], latitude['minutes']),
                                                      latitudeDirection,
-                                                     '{:03d}{:s}'.format(longitude['degrees'], longitude['minutes']),
+                                                     '{:03d}{}'.format(longitude['degrees'], longitude['minutes']),
                                                      longitudeDirection,
                                                      '{:04.1f}'.format(speedOverGround), '{:04.1f}'.format(courseOverGround),
@@ -120,5 +121,5 @@
 
 def degreesDecimalToNmea(decimalDegrees):
-    degrees = math.floor(decimalDegrees)
+    degrees = int(math.floor(decimalDegrees))
     minutes = 60.0 * (decimalDegrees - degrees)
     return { 'degrees': degrees, 'minutes': minutes}
@@ -213,5 +214,5 @@
 
             # update rrd database for the webservice
-            daemon.rrd_update(rrdfile, 'N:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}'.format(
+            daemon.rrd_update(rrdfile, 'N:{}:{}:{}:{}:{}:{}:{}:{}'.format(
                 latitude, longitude, speedThroughWater, speedOverGround, courseOverGround, waterDepth, waterTemperature, gpsFix))
 
Index: src/python/bin/gnuboat-data-generator
===================================================================
--- src/python/bin/gnuboat-data-generator	(revision 9773514b63fb306019a818c5730c59df5355ba58)
+++ src/python/bin/gnuboat-data-generator	(revision 23fa35430591eca4427d43c462f770f877759769)
@@ -103,5 +103,5 @@
         gpsFix = 3
         # update rrd database for the webservice
-        daemon.rrd_update(rrdfile, '{:s}:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}:{:s}'.format(
+        daemon.rrd_update(rrdfile, '{}:{}:{}:{}:{}:{}:{}:{}:{}'.format(
                        current_time, latitude, longitude, speedThroughWater, speedOverGround, courseOverGround, waterDepth, waterTemperature, gpsFix))
 
Index: src/python/bin/gnuboat-log-converter
===================================================================
--- src/python/bin/gnuboat-log-converter	(revision 9773514b63fb306019a818c5730c59df5355ba58)
+++ src/python/bin/gnuboat-log-converter	(revision 23fa35430591eca4427d43c462f770f877759769)
@@ -43,5 +43,5 @@
            return int(string)
         except ValueError as error:
-           print('INFO: Failed to convert value from line %s into numeric: {:s}\n      Message: {:s}'.format(current_row, string, error))
+           print('INFO: Failed to convert value from line {} into numeric: {}\n      Message: {}'.format(current_row, string, error))
            return 0
 
@@ -54,5 +54,5 @@
     matches = regex_nmea_position.match(nmea_value)
     if matches is None:
-        print('INFO: Failed to convert position value from line {:s} into decimal degrees: {:s}'.format(current_row, nmea_value))
+        print('INFO: Failed to convert position value from line {} into decimal degrees: {}'.format(current_row, nmea_value))
         return
     decimalDegrees = toFloat(matches.group(1), current_row)
@@ -109,6 +109,6 @@
                             'water_depth': None,
                             'water_temperature': None}
-            elif nmea_sentence.sentence_type == 'DBT' and last_row is not None:
-                last_row['water_depth'] = toFloat(nmea_sentence.depth_meters, current_row)
+            elif nmea_sentence.sentence_type == 'DPT' and last_row is not None:
+                last_row['water_depth'] = toFloat(nmea_sentence.depth, current_row)
             elif nmea_sentence.sentence_type == 'MTW' and last_row is not None:
                 last_row['water_temperature'] = toFloat(nmea_sentence.temperature, current_row)
Index: src/python/gnuboat/daemon/gpsdpoller.py
===================================================================
--- src/python/gnuboat/daemon/gpsdpoller.py	(revision 9773514b63fb306019a818c5730c59df5355ba58)
+++ src/python/gnuboat/daemon/gpsdpoller.py	(revision 23fa35430591eca4427d43c462f770f877759769)
@@ -40,5 +40,5 @@
         if self._currentValue == None or self.gpsFix() < 2:
             return 0
-        return self._currentValue.fix.latitude
+        return self._currentValue.lat
 
     def latitudeDirection(self):
@@ -48,5 +48,5 @@
         if self._currentValue == None or self.gpsFix() < 2:
             return 0
-        return self._currentValue.fix.longitude
+        return self._currentValue.lon
 
     def longitudeDirection(self):
@@ -56,15 +56,15 @@
         if self._currentValue == None or self.gpsFix() < 2:
             return 0
-        return self._currentValue.fix.speed
+        return self._currentValue.speed
 
     def courseOverGround(self):
         if self._currentValue == None or self.gpsFix() < 2:
             return 0
-        return self._currentValue.fix.track
+        return self._currentValue.track
 
     def gpsFix(self):
-        if self._currentValue == None:
+        if self._currentValue == None or 'mode' not in self._currentValue:
             return 0
-        return self._currentValue.fix.mode
+        return self._currentValue.mode
 
     def status(self):
@@ -76,5 +76,5 @@
         if self._currentValue == None or self.gpsFix() < 2:
             return None
-        currentTime = self._currentValue.fix.time
+        currentTime = self._currentValue.time
         if isinstance(currentTime, float):
             return datetime.datetime.fromtimestamp(currentTime)
@@ -90,5 +90,9 @@
                     if self._session is None:
                         self._session = gps.gps(mode=gps.WATCH_ENABLE)
-                    self._currentValue = self._session.next()
+                    current_value = self._session.next()
+                    # only update current value, if we got an epX entry
+                    # dop entries are ignored right now
+                    if 'mode' in current_value:
+                        self._currentValue = current_value
                 except StopIteration:
                     break
