We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shutting down WebIOPi with pifFace configured throws an AttributeError
2022-04-21 20:50:14 - WebIOPi - INFO - HTTP Server stopped 2022-04-21 20:50:14 - WebIOPi - DEBUG - Closing device GPIO - GPIO 2022-04-21 20:50:14 - WebIOPi - DEBUG - Closing device pifaceModule - PiFaceDigital(0) 2022-04-21 20:50:14 - WebIOPi - ERROR - 'PiFaceDigital' object has no attribute 'close' Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/WebIOPi-0.7.1-py3.9-linux-armv6l.egg/webiopi/__main__.py", line 75, in <module> main(sys.argv) File "/usr/local/lib/python3.9/dist-packages/WebIOPi-0.7.1-py3.9-linux-armv6l.egg/webiopi/__main__.py", line 71, in main server.stop() File "/usr/local/lib/python3.9/dist-packages/WebIOPi-0.7.1-py3.9-linux-armv6l.egg/webiopi/server/__init__.py", line 143, in stop manager.closeDevices() File "/usr/local/lib/python3.9/dist-packages/WebIOPi-0.7.1-py3.9-linux-armv6l.egg/webiopi/devices/manager.py", line 54, in closeDevices device.close() AttributeError: 'PiFaceDigital' object has no attribute 'close' 2022-04-21 20:50:15 - WebIOPi - INFO - CoAP Server stopped
adding attribute close to piface.py
def close(self): None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Shutting down WebIOPi with pifFace configured throws an AttributeError
Log
Possible fix
adding attribute close to piface.py
The text was updated successfully, but these errors were encountered: