Bug 951814

Summary: [abrt] gpsd-clients-3.5-2.fc18: client.py:142:unpack:json_error: <gps.client.json_error instance at 0x29d9878>
Product: [Fedora] Fedora Reporter: Randy <derstaz>
Component: gpsdAssignee: Douglas E. Warner <silfreed>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mlichvar, silfreed
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c55b192e350832c032e24b68f113aa7f6fec1ee4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 12:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Randy 2013-04-13 12:01:29 UTC
Description of problem:
installed gpsd.  enabled & started.  Then attempted to run xgpsd.

Version-Release number of selected component:
gpsd-clients-3.5-2.fc18

Additional info:
cmdline:        python /usr/bin/xgps
dso_list:       gpsd-libs-3.5-2.fc18.x86_64
executable:     /usr/bin/xgps
kernel:         3.8.6-203.fc18.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
client.py:142:unpack:json_error: <gps.client.json_error instance at 0x29d9878>

Traceback (most recent call last):
  File "/usr/bin/xgps", line 786, in handle_response
    if self.daemon.read() == -1:
  File "/usr/lib64/python2.7/site-packages/gps/gps.py", line 301, in read
    self.unpack(self.response)
  File "/usr/lib64/python2.7/site-packages/gps/client.py", line 142, in unpack
    raise json_error(buf, e.args[0])
json_error: <gps.client.json_error instance at 0x29d9878>

Local variables in innermost frame:
buf: '{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2013-04-13T11:59:06.704Z","native":0,"bps":9600,"parity":"}]}\r\n'
self: Time:      (nan)
Lat/Lon:  0.000000 0.000000
Altitude: ?
Speed:    ?
Track:    ?
Status:   STATUS_NO_FIX
Mode:     MODE_NO_FIX
Quality:  0 p=0.00 h=0.00 v=0.00 t=0.00 g=0.00
Y: 0 satellites in view:

e: ValueError('Unterminated string starting at: line 1 column 140 (char 140)',)

Comment 1 Randy 2013-04-13 12:01:34 UTC
Created attachment 735254 [details]
File: backtrace

Comment 2 Randy 2013-04-13 12:01:35 UTC
Created attachment 735255 [details]
File: core_backtrace

Comment 3 Randy 2013-04-13 12:01:39 UTC
Created attachment 735256 [details]
File: environ

Comment 4 Miroslav Lichvar 2013-11-25 12:29:09 UTC

*** This bug has been marked as a duplicate of bug 918750 ***