No internet connection
  1. Home
  2. Technical Support

"module 'yaml' has no attribute 'safe_load'"

By @ocafebabe
    2023-11-30 23:11:36.219Zassigned to
    • @david

    Hello,

    We got this error after rebooting our TinyPilot following a power failure: "module 'yaml' has no attribute 'safe_load'"?!

    What's the problem exactly?

    Thanks

    • 2 replies
    1. David @david2023-12-01 12:18:52.965Z

      Hi @ocafebabe, I'm sorry you're running into this yaml error.

      Unfortunately, missing data or files on your TinyPilot usually points towards filesystem corruption. Unexpected power failures seem to have a higher chance of causing filesystem corruption, so that's likely the issue we're seeing.

      Could you try re-flashing your SD card with a clean install of TinyPilot and let me know if that solves the issue?

      Please let me know if you have any questions.

      1. O@ocafebabe
          2023-12-02 01:34:05.958Z

          Hi @david,

          I'll try that and let you know if that fixes the issue.

          Thanks a lot!