You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pygpsclient 1.5.1, setting datalog_b to 1 (either manually or by saving the configuration) causes the DataLogging checkbox to be checked. But there seems to be no other effect, and no log file created.
On investigation I see that the act of checking the box triggers the folder chooser dialog, which sets the log destination. But that selection is not saved. So it seems the datalog_b setting is not useful, and therefore there's no way to enable logging in the config file.
To Reproduce
Steps to reproduce the behaviour:
Launch pygpsclient
Check the DataLogging checkbox and select a directory in the dialog that appears.
Save the configuration.
Exit pygpsclient
Confirm that the configuration json file has datalog_b set to 1.
Re-launch pygpsclient, specifying the configuration file.
Note that the DataLogging checkbox is checked.
Connect to a stream using one of the green buttons.
Confirm that messages from the stream appear in the console.
Disconnect from the stream using the red stop button.
Exit pygpsclient.
Confirm that no log file was generated.
Expected Behaviour
Setting datalog_b to 1 would mean that on next launch DataLogging is enabled, and log files would be written. Either they would go in the CWD, or there would be a separate setting to specify the log path.
Desktop (please complete the following information):
MacOS Sequoia and Raspberry Pi Bookworm
Python 3.13.1
USB
GNSS/GPS Device (please complete the following information as best you can):
u-blox ZED-F9P
Additional context
In the meantime I noticed that gnssstreamer is probably the better tool for automatic logging, so for me this is very low priority.
The text was updated successfully, but these errors were encountered:
PyGPSClient Bug Report Template
Describe the bug
In pygpsclient 1.5.1, setting
datalog_b
to 1 (either manually or by saving the configuration) causes the DataLogging checkbox to be checked. But there seems to be no other effect, and no log file created.On investigation I see that the act of checking the box triggers the folder chooser dialog, which sets the log destination. But that selection is not saved. So it seems the
datalog_b
setting is not useful, and therefore there's no way to enable logging in the config file.To Reproduce
Steps to reproduce the behaviour:
datalog_b
set to 1.Expected Behaviour
Setting
datalog_b
to 1 would mean that on next launch DataLogging is enabled, and log files would be written. Either they would go in the CWD, or there would be a separate setting to specify the log path.Desktop (please complete the following information):
GNSS/GPS Device (please complete the following information as best you can):
Additional context
In the meantime I noticed that
gnssstreamer
is probably the better tool for automatic logging, so for me this is very low priority.The text was updated successfully, but these errors were encountered: