bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 107 forks source link

Have you accidentally removed the "type = gpio-low" attr. in [wordclock_interface]?? #76

Closed plotaBot closed 6 years ago

plotaBot commented 6 years ago

After a long time not being actively watching the changes that have been made to this repository, I was exited to look whats new ;) After a complete new installation I got this error by starting wordclock.py:

Parsing ~/rpi_wordclock/wordclock_config/wordclock_config.cfg
Traceback (most recent call last):
  File "wordclock.py", line 164, in <module>
    word_clock = wordclock()
  File "wordclock.py", line 45, in __init__
    self.gpio = wcigpio.gpio_interface(self.config, self.wci)
  File "~/rpi_wordclock/wordclock_interfaces/gpio_interface.py", line 21, in __init__
    interface_type = config.get('wordclock_interface', 'type')
  File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'type' in section: 'wordclock_interface'

Obviously the ConfigParser could not find the option "type" in "wordclock_interface". So please @bk1285 add it back to the config example. Its a pain in the...

After adding it manually it worked all over again. Greetings plotaBot

@mrksngl @ghwc2015 @oxivanisher @HeerNMeester @Tetrikus

bk1285 commented 6 years ago

I did.... : Thanks for reporting!! Fixed it!