Opened 10 years ago

Closed 3 years 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: Jean-Paul Calderone 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 10 years ago.
Patch for

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by fpierfed

Attachment: nmea.patch added

Patch for

comment:1 Changed 10 years ago by Jean-Paul Calderone

Cc: Jean-Paul Calderone 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 3 years ago by hawkowl

Resolution: wontfix
Status: newclosed

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.