Package: python-gps
Version: 2.90.1~svn6819-1+b1
Severity: important
[ Severity set to important as this makes python-gps completely
unusable for me (and unless there is something odd about my system,
also for everyone else). ]
Steps to reproduce:
1) gpsd -b -G -N -n -D 1 /dev/ttySAC1
2) /usr/share/pyshared/gps.py
Expected results:
2) program prints
This is the exerciser for the Python gps interface.
>
Actual results:
2) program prints
This is the exerciser for the Python gps interface.
Traceback (most recent call last):
File "/usr/share/pyshared/gps.py", line 674, in <module>
session.query(raw_input("> "))
AttributeError: gps instance has no attribute 'query'
More info:
1) My gps seems to be working just fine with netcat:
$ netcat localhost gpsd
{"class":"VERSION","release":"2.91dev","rev":"svn","proto_major":3,"proto_minor":1}
p
GPSD,P=?
p
GPSD,P=60.199331833 24.807861000
d
GPSD,D=2010-02-13T15:16:29.0Z
d
GPSD,D=2010-02-13T15:16:30.0Z
This started to happen after a dist-upgrade.
2) Using -w also fails:
$ /usr/share/pyshared/gps.py -w
{"class":"VERSION","release":"2.91dev","rev":"svn","proto_major":3,"proto_minor":1}
Traceback (most recent call last):
File "/usr/share/pyshared/gps.py", line 666, in <module>
for report in session:
File "/usr/share/pyshared/gps.py", line 481, in next
payload = dictwrapper(**self.data)
TypeError: dictwrapper constructor argument after ** must be a dictionary
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armel (armv4tl)
Kernel: Linux 2.6.29-GTA02_lindi2-andy-tracking-mokodev
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-gps depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii python 2.5.4-9 An interactive high-level object-o
ii python-simplejson 2.0.9-2 simple, fast, extensible JSON enco
ii python-support 1.0.6 automated rebuilding support for P
ii python2.6 2.6.4-5 An interactive high-level object-o
Versions of packages python-gps recommends:
ii gpsd 2.90.1~svn6819-1+b1 Global Positioning System - daemon
python-gps suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]