[chirp_devel] [PATCH] Support pySerial 3+. Fixes #3167 #3209 #3521 #3671 #3703

David Ranch
Sat Feb 3 11:47:56 PST 2018


Hey Tom,

Just a FYI but I tried the last few versions of Chirp on my Centos6 
machine with PySerial and I kept getting the following when trying to 
download a Kenwood TH-F6A radio:
--
./chirpw
Traceback (most recent call last):
   File "/home/archive/Chirp/chirp-hg-e3b90fa8c316/chirp/ui/mainapp.py", 
line 1582, in mh
     self.do_download(*args)
   File "/home/archive/Chirp/chirp-hg-e3b90fa8c316/chirp/ui/mainapp.py", 
line 681, in do_download
     timeout=0.25)
   File "/usr/lib/python2.6/site-packages/serial/serialutil.py", line 
240, in __init__
     self.open()
   File "/usr/lib/python2.6/site-packages/serial/serialposix.py", line 
272, in open
     self._reconfigure_port(force_update=True)
   File "/usr/lib/python2.6/site-packages/serial/serialposix.py", line 
345, in _reconfigure_port
     ispeed = ospeed = getattr(termios, 'B{}'.format(self._baudrate))
ValueError: zero length field name in format
--

I then installed Python-Serial and things started to work.  So.. it 
seems this backward compatibility has become broken.

--David
KI6ZHD


On 06/08/2016 12:49 PM, David Ranch via chirp_devel wrote:
>
> Hello Tom,
>
>>
>> Yes, I made an effort to keep it backwards-compatible. I tested
>> against the version in the kk7ds runtime for OS X, as I figured this
>> would be the most difficult thing to upgrade in the Chirp ecosystem.
>
> Ok.. great!  I'll give a test with my various radios to make sure they 
> work with my TH-F6A (one of the drivers that it seems you've updated 
> so far).
>
>
> --David
> KI6ZHD

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20180203/5eec2096/attachment-0001.html 


More information about the chirp_devel mailing list