GPSD, CGPS and XGPS

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
wiredwrx
Level 1
Level 1
Posts: 15
Joined: Tue Jan 21, 2014 10:04 pm

GPSD, CGPS and XGPS

Post by wiredwrx »

Hello Minters (Ok, I made that up, but whatever)

I have connected a USB GPS device to my computer running mint. To check that things were working, I ran

Code: Select all

sudo gpsd -D 5 -N -n /dev/ttyUSB0
What looked like NMEA sentences began scrolling in the terminal window.

I then ran cgps, and it returned my lat and lon, as well as indicated that there was a lock on several satellites. I then stopped cgps.

I then tried xgps. While it appeared to start, it appeared xgps was not receiving any of of the NMEA data. This is the result:

Code: Select all

xgps: host localhost port 2947
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 671, in <lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/bin/xgps", line 1475, in handle_response
    self.uimanager.get_widget(
AttributeError: 'Base' object has no attribute 'uimanager'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_xgps.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 671, in <lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/bin/xgps", line 1475, in handle_response
    self.uimanager.get_widget(
AttributeError: 'Base' object has no attribute 'uimanager'
Not sure what the problem is, can anyone help? Any help is greatly appreciated.

TIA
Michael
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31047
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: GPSD, CGPS and XGPS

Post by SMG »

wiredwrx wrote: Fri May 13, 2022 12:25 am Hello Minters (Ok, I made that up, but whatever)

I have connected a USB GPS device to my computer running mint. To check that things were working, I ran

Code: Select all

sudo gpsd -D 5 -N -n /dev/ttyUSB0
What looked like NMEA sentences began scrolling in the terminal window.
That seems to indicate that hardware is working so I have moved your topic to Software & Applications.

I found the following
How to connect an usb GPS receiver with a Linux computer?
which has screen shots of some of what you have described in your post. (It does not mention cgps.)
wiredwrx wrote: Fri May 13, 2022 12:25 amI then tried xgps. While it appeared to start, it appeared xgps was not receiving any of of the NMEA data. This is the result:
This result seems to indicate there is a problem with the program. Did you try re-installing it?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Software & Applications”