11chrisadams11 / Klipper-WS281x_LED_Status

Use WS281x LED strips with Klipper
51 stars 11 forks source link

settings.conf not found #13

Open muckie89 opened 1 year ago

muckie89 commented 1 year ago

Script isnt working ... it only shows

with open('settings.conf', 'r') as settings_file: FileNotFoundError: [Errno 2] No such file or directory: 'settings.conf'

or

with open('settings_sample.conf', 'r') as sample_settings_file: FileNotFoundError: [Errno 2] No such file or directory: 'settings_sample.conf'

All files stored in Klipper-WS28x_LED_Status

Direction for use correction. You cant cd in a .git

Clone code to Raspberry Pi running Klipper and Moonraker cd /home/pi git clone https://github.com/11chrisadams11/Klipper-WS281x_LED_Status.git cd Klipper-WS281x_LED_Status.git

Will-wastelander commented 1 year ago

Make sure that you are in the ~/Klipper-WS28x_LED_Status folder when running the commands.

11chrisadams11 commented 1 year ago

Sorry for the late reply. I have made changes that will allow you to run the script from any directory on the command line. I have also updated the README directions to reflect the cd path. Thank you for pointing that out.