Package: python-gps
Version: 3.6-4
Severity: normal


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gps depends on:
ii  libbluetooth3  4.99-2
ii  libc6          2.13-34
ii  libdbus-1-3    1.6.2-2
ii  python         2.7.3-1

Versions of packages python-gps recommends:
ii  gpsd  3.6-4

python-gps suggests no packages.

-- no debconf information


--BUGREPORT--
without plot works fine
 $ gpsprof -n5
 gpsprof: 20261 looking for fix...first fix in 0.45sec, gathering 5 
samples......(4.44 sec) done.
 set title "2012-06-27T20:23:49, Generic NMEA, 9600 8N1, cycle 1s"
 set autoscale
 set key below
 set key title "2012-06-27T20:23:53"
 set size ratio -1
 set style line 2 pt 1
 set style line 3 pt 2
 set xlabel "Meters east from 14E"
 set ylabel "Meters north from 46N"
 set border 15
 set y2label "Meters Altitude from 219.760000"
 set ytics nomirror
 set y2tics
 cep=0.134223
 cep95=0.189821
 cep99=0.189821
 set parametric
 set trange [0:2*pi]
 cx(t, r) = sin(t)*r
 cy(t, r) = cos(t)*r
 chlen = cep/20
 set arrow from -chlen,0 to chlen,0 nohead
 set arrow from 0,-chlen to 0,chlen nohead
 plot "-" using 1:2 with points ls 3 title "5 GPS fixes" , "-" using ( 1.000000 
):($5 < 100000 ? $5 - 219.760000 : 1/0) axes x1y2 with points ls 2 title " 5 
Altitude fixes, Average = 219.760000, EP (50%) = 0.160000", cx(t, cep),cy(t, 
cep) ls 1 title "CEP (50%) = 0.000000 meters", cx(t, cep95),cy(t, cep95) title 
"CEP (95%) = 0.164390 meters", cx(t, cep99),cy(t, cep99) title "CEP (99%) = 
0.164390 meters"
 # Position uncertainty, 2012-06-27T20:23:49, Generic NMEA, 9600 8N1, cycle 1s


--ERROR--
but when plotted this error is generated:
 $ gpsprof -n5 | gnuplot -p
 gpsprof: 20370 looking for fix...first fix in 0.56sec, gathering 5 
samples......(4.93 sec) done.
 close failed in file object destructor:
 sys.excepthook is missing
 lost sys.stderr

ProblemType: Crash
 ExecutablePath: /usr/bin/gpsprof
 InterpreterPath: /usr/bin/python2.7
 ProcCmdline: python /usr/bin/gpsprof -n50
 ProcEnviron:
  TERM=xterm
  SHELL=/bin/bash
  PATH=(custom, no user)
  LANG=en_US.UTF-8
 PythonArgs: ['/usr/bin/gpsprof', '-n50']
 SourcePackage: gpsd
 Traceback:
  Traceback (most recent call last):
    File "/usr/bin/gpsprof", line 405, in <module>
      sys.stdout.write(plot.plot())
  IOError: [Errno 32] Broken pipe
 UpgradeStatus: No upgrade log present (probably fresh install)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to