<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<font size="-1">Hey Martin,<br>
<br>
Good to hear from you! Hmmm.. I'm using Centos6 here and it does
have an option to put Python27 on to the side so I guess I can
give that a try. It's just strange to me that certain drivers
would use Python2.7 syntax but others would be fine with 2.6
syntax. I must say, this lack of backwards compatibility that
Python has continued to show (especially) through it's various
Python3 generations is frustrating!<br>
<br>
Thanks for the tip and I'll report back what I see.<br>
<br>
--David<br>
KI6ZHD<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 07/18/2020 09:39 PM, Martin Cooper
wrote:<br>
</div>
<blockquote
cite="mid:CAGEtHi+8XXu-kD8+Mwsw0qye82Kj88Tuj9q481GXtmCeD4p62g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi David,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Chirp is
written for Python 2.7, which is why you're seeing the error.
Dictionary comprehensions were introduced with 2.7. It's
possible that you're just unlucky in trying to use a driver
that uses a 2.7 feature, but given that 2.7 is the target
version, it's also quite possible that you'd run into more
problems if you worked around this one. (If you wanted to try,
google for dictionary comprehensions in 2.6, but don't be too
surprised if you hit something else shortly thereafter.)</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">That 2.7 is
the target platform isn't well documented. There's a note in
the wiki for a Win32 dev env that says "<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:12px">chirp
is currently written for Python 2.7 and above</span>",
though in the same para it also says it "will generally run on
Python 2.6.x". That latter likely depends on the features you
want to use. The KK7DS Python runtime for Mac OSX, needed for
Chirp on a Mac, is also a packaging of Python 2.7.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Martin.</div>
<div class="gmail_default" style="font-size:small">KD6YAM</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jul 18, 2020 at 7:18
PM David Ranch <<a moz-do-not-send="true"
href="mailto:chirp@trinnet.net">chirp@trinnet.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> <font size="-1"><br>
Hello Everyone,<br>
<br>
I've been a happy Chirp user for a long time but haven't
upgraded for some time. I was previously running the TIP
version back from Feb 3 2018 (chirp-hg-e3b90fa8c316) and
that worked well but once I fetched the newest version
with:<br>
<br>
wget <a moz-do-not-send="true"
href="http://d-rats.com/hg/hgwebdir.cgi/chirp.hg/archive/tip.tar.gz"
target="_blank">http://d-rats.com/hg/hgwebdir.cgi/chirp.hg/archive/tip.tar.gz</a><br>
<br>
Both of these newest versions give me the below errors:<br>
<br>
</font><font size="-1"><font size="-1"><font size="-1">lrwxrwxrwx
1 dranch dranch 21 Jul 18 19:09 chirp-tip-newest
-> chirp-hg-37a6a6d6f425<br>
</font>lrwxrwxrwx 1 dranch dranch 21 Jul
12 13:22 chirp-tip-newest -> chirp-hg-061e53a8a2cc<br>
<br>
<br>
The errors I'm seeing are:<br>
</font>--<br>
$ ./chirpw<br>
Traceback (most recent call last):<br>
File "./chirpw", line 24, in <module><br>
from chirp.drivers import *<br>
File
"/home/archive/Chirp/chirp-hg-37a6a6d6f425/chirp/drivers/anytone778uv.py",
line 192<br>
for val in TONE_MAP_VAL_TO_TONE}<br>
^<br>
SyntaxError: invalid syntax<br>
--<br>
</font><font size="-1"><br>
It was mentioned by Jim Unroe to install the "future" pip
package but installing version 0.18.2 didn't help. Any
thoughts?<br>
<br>
--David<br>
KI6ZHD<br>
</font> </div>
_______________________________________________<br>
chirp_users mailing list<br>
<a moz-do-not-send="true"
href="mailto:chirp_users@intrepid.danplanet.com"
target="_blank">chirp_users@intrepid.danplanet.com</a><br>
<a moz-do-not-send="true"
href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users"
rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
This message was sent to Martin Cooper at <a
moz-do-not-send="true" href="mailto:mfncooper@gmail.com"
target="_blank">mfncooper@gmail.com</a><br>
To unsubscribe, send an email to <a moz-do-not-send="true"
href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com"
target="_blank">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 David Ranch at <a class="moz-txt-link-abbreviated" href="mailto:chirp@trinnet.net">chirp@trinnet.net</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>
</body>
</html>