[chirp_users] CHIRP on py3

Richard Shaw
Thu Oct 17 06:41:35 PDT 2019


On Wed, Oct 16, 2019 at 3:53 PM Barry Jackson <zen25000 at zen.co.uk> wrote:

> I have tried to build from py3 branch but hit lots of syntax errors,
> mainly except and print missing brackets. (output attached)
>

The exception problem is quite easily fixed, see:

https://docs.python.org/3.3/howto/pyporting.html

Basically they need to be changed from:

except Exception, e:

to

except Exception as e:

The 2to3 conversion program can do this automatically or you can try your
and with sed :)

Thanks,
Richard
KF5OIM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20191017/7ef9540a/attachment.html 


More information about the chirp_users mailing list