Closed firelook closed 5 years ago
and now 2018-11-15 14:37:54.078 Error: (Home-Connect) failed to load 'plugin.py', Python Path used was 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Home-Connect-Plugin\;C:\Program Files (x86)\Python37-32\python37.zip;C:\Program Files (x86)\Python37-32\Lib\;C:\Program Files (x86)\Python37-32\DLLs\;C:\Program Files (x86)\Domoticz'. 2018-11-15 14:37:54.079 Error: (lave_vaisselle) Module Import failed, exception: 'ModuleNotFoundError' 2018-11-15 14:37:54.079 Error: (lave_vaisselle) Module Import failed: ' Name: requests' 2018-11-15 14:37:54.079 Error: (lave_vaisselle) Error Line details not available.
See in the wiki:
sudo ln -s /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/requests requests
I am on windows on this is not clear, sorry `C:\Program Files (x86)\Python37-32>pip install requests Requirement already satisfied: requests in c:\program files (x86)\python37-32\lib\site-packages (2.20.1) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\program files (x86)\python37-32\lib\site-packages (from requests) (3.0.4) Requirement already satisfied: idna<2.8,>=2.5 in c:\program files (x86)\python37-32\lib\site-packages (from requests) (2.7) Requirement already satisfied: certifi>=2017.4.17 in c:\program files (x86)\python37-32\lib\site-packages (from requests) (2018.10.15) Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\program files (x86)\python37-32\lib\site-packages (from requests) (1.24.1)
C:\Program Files (x86)\Python37-32> pip install sseclient Requirement already satisfied: sseclient in c:\program files (x86)\python37-32\lib\site-packages (0.0.22) Requirement already satisfied: six in c:\program files (x86)\python37-32\lib\site-packages (from sseclient) (1.11.0) Requirement already satisfied: requests>=2.0.0 in c:\program files (x86)\python37-32\lib\site-packages (from sseclient) (2.20.1) Requirement already satisfied: idna<2.8,>=2.5 in c:\program files (x86)\python37-32\lib\site-packages (from requests>=2.0.0->sseclient) (2.7) Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\program files (x86)\python37-32\lib\site-packages (from requests>=2.0.0->sseclient) (1.24.1) Requirement already satisfied: certifi>=2017.4.17 in c:\program files (x86)\python37-32\lib\site-packages (from requests>=2.0.0->sseclient) (2018.10.15) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\program files (x86)\python37-32\lib\site-packages (from requests>=2.0.0->sseclient) (3.0.4)`
I do not understand the logic behind your symbolic link : I have put them inside your directory on windows and it is ok on windows print needs (), example print (old_string + " not found in " + filename)
now my error is :
2018-12-11 15:40:53.414 Error: (lavevaisselle) 'onHeartbeat' failed 'TypeError':'string indices must be integers'. 2018-12-11 15:40:53.415 Error: (lavevaisselle) ----> Line 140 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Home-Connect-Plugin\plugin.py' 2018-12-11 15:40:53.415 Error: (lavevaisselle) ----> Line 95 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Home-Connect-Plugin\plugin.py' 2018-12-11 15:40:53.415 Error: (lavevaisselle) ----> Line 84 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Home-Connect-Plugin\homeconnecthelper.py'
2018-11-15 11:36:01.317 Error: lave_vaisselle hardware (16) thread seems to have ended unexpectedly
=> is there something else to install ?