bk1285 / rpi_wordclock

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

module 'wiring' has no attribute 'wiring' #198

Closed Viszje closed 2 years ago

Viszje commented 2 years ago

Troughout the proces in wordclock.py received error;

Traceback (most recent call last): File "wordclock.py", line 196, in word_clock = wordclock() File "wordclock.py", line 65, in init self.wcd = wcd.wordclock_display(self.config, self.wci) File "/home/pi/rpi_wordclock-master/wordclock_tools/wordclock_display.py", line 38, in init self.wcl = wiring.wiring(config) AttributeError: module 'wiring' has no attribute 'wiring'

wordclock_display.py is pointing towards; Initialization """

Get the wordclocks wiring-layout

    self.wcl = wiring.wiring(config)

Files as following in directory; image

Can anyone point me in de right direction? Already did try; https://github.com/bk1285/rpi_wordclock/pull/175

Viszje commented 2 years ago

Solved > import wordclock_tools.writing as writing did the trick