Project

General

Profile

Actions

Bug #3703

closed

icom radio detect fails with pySerial 3+

Added by Ryan Barber over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/31/2016
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Windows
Debug Log:
I read the instructions above:

Description

When attempting to detect icom radio.

rfb@slate:~/Projects/chirp.hg$ ./chirpw

(process:32732): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
ERROR: --- Exception Dialog: 'Serial' object has no attribute 'setBaudrate' ---
ERROR: Traceback (most recent call last):
  File "/home/rfb/Projects/chirp.hg/chirp/ui/clone.py", line 175, in run
    cs.radio_class = detect.DETECT_FUNCTIONS[vendor](cs.port)
  File "/home/rfb/Projects/chirp.hg/chirp/detect.py", line 76, in detect_icom_radio
    result = _detect_icom_radio(ser)
  File "/home/rfb/Projects/chirp.hg/chirp/detect.py", line 42, in _detect_icom_radio
    ser.setBaudrate(9600)
AttributeError: 'Serial' object has no attribute 'setBaudrate'

ERROR: ----------------------------

Actions

Also available in: Atom PDF