gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] ✘xgps broken in commit f330da9a2989f43155b0a95a5355b70cda38f1


From: Gary E. Miller
Subject: [gpsd-dev] ✘xgps broken in commit f330da9a2989f43155b0a95a5355b70cda38f1b5
Date: Thu, 7 Apr 2016 21:55:23 -0700

Yo Eric!

Looks like I broke xgps.  I thought I tested my change before upload.

here is the output:

kong ~ # xgps
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/GLib.py", line 730, in 
<lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/local/bin/xgps", line 834, in handle_response
    self.update_gpsdata(self.daemon.data)
  File "/usr/local/bin/xgps", line 774, in update_gpsdata
    widget.set_text(hook(self, tpv))
  File "/usr/local/bin/xgps", line 451, in <lambda>
    ("Status", lambda s, r: s.update_status(r)),
  File "/usr/local/bin/xgps", line 762, in update_status
    if data.status == gps.STATUS_DGPS_FIX:
AttributeError: dictwrapper instance has no attribute 'status'

I had to add 'status' to TPV to handle DGPS, clearly my python is
dangerous...

Please check out commit f330da9a2989f43155b0a95a5355b70cda38f1b5 and
tell me what stupid thing I did.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpXpgEMSkds6.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]