Opened 8 years ago

Closed 13 months ago

#2933 defect closed wontfix (wontfix)

nmea protocol fails when HDOP and/or altitude are not present

Reported by: fpierfed Owned by: fpierfed
Priority: normal Milestone:
Component: core Keywords:
Cc: exarkun Branch:


Some GPS devices (e.g. EverMore receivers) do not send out neither HDOP nor altitude information when they cannot get a position fix. Consequently the NMEA GPGGA message has the form


In these cases, (in decode_fix) tries to cast empty strings to floats, raising an exception.

The fix is trivial.

Attachments (1)

nmea.patch (700 bytes) - added by fpierfed 8 years ago.
Patch for

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by fpierfed

Patch for

comment:1 Changed 8 years ago by exarkun

  • Cc exarkun added
  • Owner changed from glyph to fpierfed

Can you describe how this case is different from all of the cases in twisted/test/

Even better, could you include a patch to that file which covers this case as well?

comment:2 Changed 13 months ago by hawkowl

  • Resolution set to wontfix
  • Status changed from new to closed

twisted.protocols.gps is deprecated. If this still occurs in twisted.positioning, please file another bug against it.

Note: See TracTickets for help on using tickets.