<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000">This is the third post I have read in the
last couple of weeks that mentions a bug in COM port handling where the
COM port number is above 10. I believe this is an straightforward fix.<br>
<br>
The problem appear to be in platform.py which generates a list of
available COM ports. It correctly starts by using the '//./' prefix, but
then strips it for display purposes. When it the program then tries to
use a port from the created list that is above COM9, this will fail
because for port above 9 Windows requires the prefix, i.e. //./COM10.
The program needs to retain the '//./' prefix or have two name fields
keeping the display name separate from the system name.<br>
<br>
Since I don't know how the program is compiled/packaged into .exe/.dll
files on Windows, I can't actually test my theory at present, however a
quick an dirty fix might be to simply change line 43 in platform.py
from:<br>
<br>
43 if portname.startswith("\\"):<br>
44 portname = portname[4:]<br>
<br>
to;<br>
<br>
43 if (i<10 && portname.startswith("\\")):<br>
44 portname = portname[4:]<br>
<br>
This may not look pretty in the ports list but it might at least make it
functional. I seem to recall from some time ago that ports below 10
must not have the prefix whereas it is necessary for 10 and above, but
it was a long time ago. The other option might be to simply comment out
lines 43 and 44 but that may then fail for ports below 10. Of course
since the Windows version is compiled/packaged, the user is not in a
position to make this change and and test so I am hoping the developers
will see this info.<br>
<br>
Regards.<br>
<br>
<br>
<span>Alexandre Souza wrote on 06/01/2021 01:30:</span><br>
<blockquote type="cite"
cite="mid:CANdZFKRdqA4Bw2MPaa09C5LyFcJtbbrD6tcKA2eoEuFvrTxhEA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="auto">Please, when complaining about serial port errors
here, put the number of your serial port in the message. I BELIEVE there
is a bug on serial port handling above com10...<br><br><div
data-smartmail="gmail_signature">Enviado do meu Tele-Movel</div></div>
<br>
<div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter, 5
de jan de 2021 22:24, Mark Dixon <<a
href="mailto:mdixon@dixemail.com" moz-do-not-send="true">mdixon@dixemail.com</a>>
escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Billy<br>
<br>
I find that I can only get Chirp to work with my BaoFeng UV-5REs when I<br>
do it with Linux. I get the same as you when I use Windows. It might be<br>
the cable (I use the one I got when I bought the UV5REs), or it might be<br>
the software, but if you can get access to a Linux you should be okay<br>
even with a basic after-market cable.<br>
<br>
Kind regards, Mark Dixon, VK6EZ.<br>
<br>
On 6/01/2021 2:06 am, Billy Joe Higginbotham Jr via chirp_users wrote:<br>
> I can’t get my radio to link with my computer. I have the uv-5r and
run Windows 7 on my computer. I keep get the message (An error has
occurred could not open port [Error 2] The system cannot find the file
specified.) It like the Chirp can’t see my radio. <br>
><br>
> Sent from Billy’s IPhone <br>
_______________________________________________<br>
chirp_users mailing list<br>
<a href="mailto:chirp_users@intrepid.danplanet.com" target="_blank"
rel="noreferrer" moz-do-not-send="true">chirp_users@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users"
rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
This message was sent to Alexandre Souza - PU2SEX at <a
href="mailto:alexandre.tabajara@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true">alexandre.tabajara@gmail.com</a><br>
To unsubscribe, send an email to <a
href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com"
target="_blank" rel="noreferrer" moz-do-not-send="true">chirp_users-unsubscribe@intrepid.danplanet.com</a></blockquote></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
chirp_users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:chirp_users@intrepid.danplanet.com">chirp_users@intrepid.danplanet.com</a>
<a class="moz-txt-link-freetext" href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a>
This message was sent to John Chajecki at <a class="moz-txt-link-abbreviated" href="mailto:subs@qcontinuum.plus.com">subs@qcontinuum.plus.com</a>
To unsubscribe, send an email to <a class="moz-txt-link-abbreviated" href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com">chirp_users-unsubscribe@intrepid.danplanet.com</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>John.<br>
</div>
</body></html>