odwdinc / DWIN_T5UIC1_LCD

Python class for the Ender 3 V2 LCD
GNU General Public License v3.0
176 stars 72 forks source link

Help with pin connection #19

Open joelstitch opened 1 year ago

joelstitch commented 1 year ago

DELETE

joelstitch commented 1 year ago

I followed the instructions very carefully but when I get to running the run.py I just get all these errors:

DWIN handshake Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu: AttributeError: 'DWIN_LCD' object has no attribute 'checkkey' Traceback (most recent call last): File "/home/pi/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data if self.checkkey == self.MainMenu:

Running it as sudo gives me the same errors. Any suggestions on what to do to fix this?

Felos9001 commented 9 months ago

I am having the same issue, I am running klipper on mainsailos and Moonraker. installed with kiuah.

python3 ./run.py

DWIN handshake
Traceback (most recent call last):
  File "/home/felos/DWIN_T5UIC1_LCD/encoder.py", line 38, in transitionOccurred
    self.callback(self.value)
  File "/home/felos/DWIN_T5UIC1_LCD/dwinlcd.py", line 2252, in encoder_has_data
    if self.checkkey == self.MainMenu:
AttributeError: 'DWIN_LCD' object has no attribute 'checkkey'