AndreWohnsland / CocktailBerry

Easily serve Cocktails with Raspberry Pi and Python on any cocktail machine 🐍 + 🍸 = 🥳

Home Page:https://cocktailberry.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime error after installation

felpi13 opened this issue · comments

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,

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.