Troubleshooting Config File Problems

Discussions about the Ryde "Set-top Box" Style Digital ATV Receiver. See https://wiki.batc.org.uk/Ryde_Receiver
Post Reply
G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Troubleshooting Config File Problems

Post by G8GKQ » Tue Jul 27, 2021 11:08 am

The Ryde config file (to be found at /home/pi/ryde/config.yaml) is quite complex and difficult to troubleshoot. If you end up with a Ryde that simply displays a red flash of "LongMynd not Loaded" and then displays the Raspberry Pi Command Line, here are a number of suggestions. Try reselecting the receiver after checking each one.
  • 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:

    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
    
    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
  • If all else fails, you could make a copy of the old config file by running the command:

    Code: Select all

    cp /home/pi/ryde/config.yaml /home/pi/ryde/config.yaml.old
    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.
Thanks to Tim for the suggestions and to G4BAO and G8GTZ for being the (accidental) testers!

Dave
G8GKQ

Post Reply

Return to “The Ryde Digital ATV Receiver”