Roomba980-Python icon indicating copy to clipboard operation
Roomba980-Python copied to clipboard

Got it working with Roomba i7 firmware 3.2.9 on WIN10 Python 3.7

Open emanuelgollob opened this issue 3 years ago • 1 comments

With paho-mqtt version 1.2.3 I got this error:

[E 2020-09-10 10:56:46,243] Error setting TLS: Traceback (most recent call last): File "c:\users\emanu\anaconda3\envs\irobot\lib\site-packages\paho\mqtt\client.py", line 643, in tls_set f = open(ca_certs, "r") FileNotFoundError: [Errno 2] No such file or directory: '/etc/ssl/certs/ca-certificates.crt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\users\emanu\anaconda3\envs\irobot\lib\site-packages\roomba\roomba.py", line 338, in setup_client tls_version=ssl.PROTOCOL_TLS, ciphers='DEFAULT@SECLEVEL=1') File "c:\users\emanu\anaconda3\envs\irobot\lib\site-packages\paho\mqtt\client.py", line 645, in tls_set raise IOError(ca_certs+": "+err.strerror) OSError: /etc/ssl/certs/ca-certificates.crt: No such file or directory

After replacing paho-mqtt version 1.2.3 with paho-mqtt version 1.5.0 everything worked fine. These package versions worked for me:

appdirs==1.4.3 numpy==1.19.1 olefile==0.44 opencv-python==3.2.0.7 packaging==16.8 paho-mqtt==1.5.0 Pillow==6.2.0 pyparsing==2.2.0 six==1.10.0

emanuelgollob avatar Sep 10 '20 11:09 emanuelgollob

I will be posting a new Python 3.6 version in a few days. Supports 980, s9, Braava jet m6.

should fix most of these legacy issues.

NickWaterton avatar Dec 29 '20 03:12 NickWaterton