- Open the /home/pi/ryde/config.yaml file for editing and check that there are no tabs anywhere in the file. The layout should be based on indentations of 4 spaces.
- Take the complete text from the config file and paste it into the YAML validator to be found at https://codebeautify.org/yaml-validator. This will point out any errors caused by invalid .yaml syntax, but not errors that are Ryde-specific.
- To find errors that are Ryde-specific, run the Ryde ssh menu (type menu and press enter at the command prompt). Then go to "9 Utils" and then "6 Ryde Test". You will get a page of error messages - don't be alarmed. Look at the bottom of the page for text like:
This tells you the line number of the section (not necessarily the exact line, but close) of where Ryde found the error. Press any key to return to the menu. Note that this option is only available in the most recent Ryde Version issued in late May 2021 - you may need to update to get it
Code: Select all
yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot start any token in "config.yaml", line 151, column 1
- If all else fails, you could make a copy of the old config file by running the command:
and then go to the ssh menu, "8 Settings" and then "2 Restore Factory" which will restore the default config file. Check that the receiver works. You will then need to edit this file for your custom settings.
Code: Select all
cp /home/pi/ryde/config.yaml /home/pi/ryde/config.yaml.old
Dave
G8GKQ