NickWaterton / Roomba980-Python

Python program and library to control iRobot Roomba 980 Vacuum Cleaner
MIT License
377 stars 106 forks source link

Connectionrefused error #46

Open crashf opened 5 years ago

crashf commented 5 years ago

[I 2018-12-20 13:25:12,184] [I 2018-12-20 13:25:12,186] Program Started [I 2018-12-20 13:25:12,186] [I 2018-12-20 13:25:12,187] Roomba.py Version: 1.2.3 [I 2018-12-20 13:25:12,187] Python Version: 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] [I 2018-12-20 13:25:12,187] Paho MQTT Version: 1.2.3 [I 2018-12-20 13:25:12,188] CV Version: 3.4.4 [I 2018-12-20 13:25:12,190] PIL Version: 5.3.0 [I 2018-12-20 13:25:12,190] to Exit [I 2018-12-20 13:25:12,190] Roomba 980 MQTT data Interface [I 2018-12-20 13:25:12,191] reading info from config file ./config.ini [I 2018-12-20 13:25:12,191] Creating Roomba object 192.168.88.55 [I 2018-12-20 13:25:12,193] CONTINUOUS connection [I 2018-12-20 13:25:12,193] connecting Roomba 192.168.88.55 [I 2018-12-20 13:25:12,194] Posting DECODED data [I 2018-12-20 13:25:12,197] MAP: Maps Enabled [I 2018-12-20 13:25:12,203] MAP: openening existing map no text image [W 2018-12-20 13:25:12,204] MAP: map no text image problem: [Errno 2] No such file or directory: u'./Dustin Beiber 2map_notext.png': set to None [W 2018-12-20 13:25:12,265] error loading font: cannot open resource, loading default font [I 2018-12-20 13:25:12,279] MAP: home_pos: (400,750) [I 2018-12-20 13:25:12,289] MAP: Initialisation complete [I 2018-12-20 13:25:12,290] Connecting Dustin Beiber 2 [I 2018-12-20 13:25:12,292] Setting TLS [E 2018-12-20 13:25:12,293] Error: global name 'FileNotFoundError' is not defined Traceback (most recent call last): File "C:\Python27\Scripts\roomba-script.py", line 9, in load_entry_point('Roomba980-Python==1.2.3', 'console_scripts', 'roomba')() File "C:\Users\wayne\Desktop\Roomba980-Python\roomba__main__.py", line 572, in main myroomba.connect() File "C:\Users\wayne\Desktop\Roomba980-Python\roomba\roomba.py", line 290, in connect if not self._connect(): File "C:\Users\wayne\Desktop\Roomba980-Python\roomba\roomba.py", line 320, in _connect if exc_type == socket.error or exc_type == ConnectionRefusedError: NameError: global name 'ConnectionRefusedError' is not defined