Problem getting rshell.py to run on linux mint 17.3
Posted: Mon Jan 04, 2016 7:56 am
I'm having trouble getting rshell to run on linux mint 17.3. I am reasonably confident that I have python3 installed (i.e. if I type python3 on the console, I get the following output ...Python 3.4.3 (default, Oct 14 2015, 20:28:29) ...) I installed pyserial using the following sudo pip3 install pyserial. However when I try and start rshell.py I get the following output, Any suggestions on what to do next? It is my gut feeling that it is something to do with pyserial or the serial connection..
Traceback (most recent call last):
File "./rshell.py", line 2222, in <module>
main()
File "./rshell.py", line 2203, in main
autoscan()
File "./rshell.py", line 224, in autoscan
if is_micropython_usb_device(port):
File "./rshell.py", line 156, in is_micropython_usb_device
if port['ID_BUS'] != 'usb' or port['SUBSYSTEM'] != 'tty':
File "/usr/local/lib/python3.4/dist-packages/serial/tools/list_ports_common.py", line 83, in __getitem__
raise IndexError('{} > 2'.format(index))
IndexError: ID_BUS > 2
Traceback (most recent call last):
File "./rshell.py", line 2222, in <module>
main()
File "./rshell.py", line 2203, in main
autoscan()
File "./rshell.py", line 224, in autoscan
if is_micropython_usb_device(port):
File "./rshell.py", line 156, in is_micropython_usb_device
if port['ID_BUS'] != 'usb' or port['SUBSYSTEM'] != 'tty':
File "/usr/local/lib/python3.4/dist-packages/serial/tools/list_ports_common.py", line 83, in __getitem__
raise IndexError('{} > 2'.format(index))
IndexError: ID_BUS > 2