Re ran that command, rebooted but still getting the same error

Any other thoughts?
Many thanks
Moderator: leecollings
Bullseye release you mean? Yes, you are not alone: viewtopic.php?f=6&t=37376
yes sorry I did!!waltervl wrote: ↑Tuesday 23 November 2021 8:41Bullseye release you mean? Yes, you are not alone: viewtopic.php?f=6&t=37376
Code: Select all
2022-01-17 13:46:41.437 Error: (TapoPlugin) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Tapo/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2022-01-17 13:46:41.437 Error: (Tapo) Module Import failed, exception: 'SyntaxError'
2022-01-17 13:46:41.437 Error: (Tapo) Import detail: File: /home/pi/domoticz/plugins/Domoticz-Tapo/PyP100/PyP100.py, Line: 74, offset: 9
2022-01-17 13:46:41.437 Error: (Tapo) Error Line ' decode: bytes = b64decode(key.encode("UTF-8"))
2022-01-17 13:46:41.437 '
Code: Select all
sudo pip3 install PyP100 --target /home/pi/domoticz/plugins/Domoticz-Tapo
Code: Select all
pi@raspberrypi:~/domoticz/scripts $ sudo pip3 uninstall PyP100
Uninstalling PyP100-0.0.18:
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/DESCRIPTION.rst
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/INSTALLER
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/METADATA
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/RECORD
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/WHEEL
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/metadata.json
/usr/local/lib/python3.5/dist-packages/PyP100-0.0.18.dist-info/top_level.txt
/usr/local/lib/python3.5/dist-packages/PyP100/PyL530.py
/usr/local/lib/python3.5/dist-packages/PyP100/PyP100.py
/usr/local/lib/python3.5/dist-packages/PyP100/PyP110.py
/usr/local/lib/python3.5/dist-packages/PyP100/__init__.py
/usr/local/lib/python3.5/dist-packages/PyP100/__pycache__/__init__.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/PyP100/tp_link_cipher.py
Proceed (y/n)? y
Successfully uninstalled PyP100-0.0.18
Code: Select all
pi@raspberrypi:~/domoticz/scripts $ sudo pip3 install PyP100
Collecting PyP100
Using cached https://www.piwheels.org/simple/pyp100/PyP100-0.0.18-py3-none-any.whl
Requirement already satisfied: requests==2.24.0 in /usr/local/lib/python3.5/dist-packages (from PyP100)
Requirement already satisfied: pkcs7==0.1.2 in /usr/local/lib/python3.5/dist-packages (from PyP100)
Requirement already satisfied: pycryptodome==3.9.8 in /usr/local/lib/python3.5/dist-packages (from PyP100)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests==2.24.0->PyP100)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests==2.24.0->PyP100)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests==2.24.0->PyP100)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests==2.24.0->PyP100)
Installing collected packages: PyP100
Successfully installed PyP100-0.0.18
pi@raspberrypi:~/domoticz/scripts $
Code: Select all
2022-01-19 10:36:31.798 Error: (TapoPlugin) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Tapo/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2022-01-19 10:36:31.798 Error: (Tapo) Module Import failed, exception: 'SyntaxError'
2022-01-19 10:36:31.798 Error: (Tapo) Import detail: File: /home/pi/domoticz/plugins/Domoticz-Tapo/PyP100/PyP100.py, Line: 74, offset: 9
2022-01-19 10:36:31.798 Error: (Tapo) Error Line ' decode: bytes = b64decode(key.encode("UTF-8"))
2022-01-19 10:36:31.798 '
Code: Select all
-rwxrwxrwx 1 pi pi 7389 janv. 17 10:59 plugin.py
Users browsing this forum: Bing [Bot] and 0 guests