OS Manuals

/usr/bin/gpsfake

gpsd library and clients for python

From py3.13-gpsd 3.27.5-r5 (os), captured 2026-11-05 by running gpsfake --help (exit 1) · terse output. permalink

Traceback (most recent call last):
  File "/usr/bin/gpsfake", line 39, in <module>
    import gps.fake as gpsfake   # The "as" pacifies pychecker
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/gps/fake.py", line 97, in <module>
    from . import packet as sniffer
  File "/usr/lib/python3.13/site-packages/gps/packet.py", line 175, in <module>
    _packet = importado()
  File "/usr/lib/python3.13/site-packages/gps/packet.py", line 171, in importado
    raise PacketLibraryNotFoundError("Can't find packet library")
gps.packet.PacketLibraryNotFoundError: Can't find packet library
Options (23)
OptionDescriptionSource
-?, -h, --helpPrint a usage message and exit.man
-1, --singleshotThe logfile is interpreted once only rather than repeatedly.man
-b, --batonEnable a twirling-baton progress indicator on standard error.man
-c, --cycle COUNTSets the delay between sentences in seconds.man
-d, --debug LVLPass a -D option to the daemon: thus -D 4 is shorthand for -o="-D 4".man
-g, -G, --gdb, --lldbUse the monitor facility to run the gpsd instance within gpsfake under control of gdb or lldb, respectively.man
-i, --promptmeSingle-step through logfiles.man
-l, --linedumpPrint a line or packet number just before each sentence is fed to the daemon.man
-m, --monitor PROGSpecify a monitor program (PROG) inside which the daemon should be run.man
-n, --nowaitPass -n to the daemon to start the daemon reading the GNSS receiver without waiting for a client (equivalent to -o="-n").man
-o, --option "OPTS"Specify options to pass to the daemon.man
-p, --pipeSets watcher mode and dump the NMEA and GPSD notifications generated by the log to standard output.man
-P, --port PORTSets the daemon’s listening port to PORT.man
-q, --quietTell gpsfake to suppress normal progress output and thus act in a quiet manner.man
-r, --clientinit STRSpecify an initialization command to use in pipe mode.man
-s, --speed SPEEDSets the baud rate for the slave tty.man
-S, --slowTells gpsfake to insert realistic delays in the test input rather than trying to stuff it through the daemon as fast as possible.man
-t, --tcpForces the test framework to use TCP rather than pty devices.man
-T, --sysinfoMakes gpsfake print some system information and then exit.man
-u, --udpForces the test framework to use UDP rather than pty devices.man
-v, --verboseEnable verbose progress reports to stderr.man
-w, --wait SECSet the timeout on daemon inactivity, in seconds.man
-x, --predumpDump packets as gpsfake gathers them.man
Exit status (2) from the manual page
0on success.
1on failure

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.