Package: gpsd-clients
Version: 3.22-4.1+b1
Severity: normal
File: /usr/bin/xgpsspeed

Hello,

When running xgpsspeed on my machine, I get the following trace:

Traceback (most recent call last):
  File "/usr/bin/xgpsspeed", line 1015, in <module>
    Main(
  File "/usr/bin/xgpsspeed", line 652, in __init__
    self.widget = NauticalSpeedometer(
                  ^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/xgpsspeed", line 305, in __init__
    Speedometer.__init__(self, speed_unit)
  File "/usr/bin/xgpsspeed", line 87, in __init__
    raise TypeError(
TypeError: 'km/h' is not a valid speed unit

Explicitly setting the speed unit with --speedunits kmh fixes the issue

There seems to be an incompatibility between what's used in xgpsspeed
and gps/clienthelpers.py

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages gpsd-clients depends on:
ii  gir1.2-gtk-3.0      3.24.36-4
ii  gpsd-tools          3.22-4.1+b1
ii  libbluetooth3       5.66-1
ii  libc6               2.36-8
ii  libdbus-1-3         1.14.6-1
ii  libgps28            3.22-4.1+b1
ii  libusb-1.0-0        2:1.0.26-1
ii  python3             3.11.2-1
ii  python3-cairo       1.20.1-5+b1
ii  python3-gi          3.42.2-3+b1
ii  python3-gi-cairo    3.42.2-3+b1
ii  python3-gps         3.22-4.1+b1
ii  python3-matplotlib  3.6.3-1+b1
ii  python3-serial      3.5-1.1

gpsd-clients recommends no packages.

Versions of packages gpsd-clients suggests:
ii  gpsd  3.22-4.1+b1

-- no debconf information

Reply via email to