AndreWohnsland / CocktailBerry

Easily serve Cocktails with Raspberry Pi and Python on any cocktail machine 🐍 + 🍸 = 🥳
https://cocktailberry.readthedocs.io/
MIT License
57 stars 8 forks source link

Runtime error after installation #169

Open felpi13 opened 1 month ago

felpi13 commented 1 month ago

After Installation of Cocktailberry on a brandnew Raspberry 5 I get the following message:

RuntimeError: The GPIO channel has not been set up as an OUTPUT Press Enter to close

What can i do and how can I fix this Problem? Can't read anything on the Web Page.

Best regards,

AndreWohnsland commented 1 month ago

Hi, can you provide for more information the log files in ~/CocktailBerry/logs/ and the config from ~/CocktailBerry/custom_config.yaml so I can see what exactly is going on? Is it a clean installation, without any changes, and did you use the installer script where you run just one command?

Was this the first start, or did the program run successful at any time?

As a general feedback to this error: This usually occurs if the program wants to control a pin, which was previously not (properly) initialized / set as an output pin (e.g. for controlling the relay of the pumps). Usually at program start, the given pins are initialized, so this should not happen, so the log and config would be a good thing, so I can check if there is anything suspicious.