[chirp_devel] [py3] some fixes to get chirpw running with python3, Fixes #7431
Re: Arturo Borrero Gonzalez
I tested chirp from the upstream mercurial repository (py3 branch) today in Debian testing bullseye, and I got it working with python3 with the attached patch.
Hi Arturo and chirp-developers,
thanks for picking this up. I had done some python3 hacking on chirp earlier this year, but apparently never pushed the changes anywhere since they weren't working.
I was able to download the image from a baofeng UV-5RA, modify it and the upload it again.
I confirm that my UV-5R works now as well. Cool.
The python3 patches for the Debian package are there:
https://salsa.debian.org/debian-hamradio-team/chirp/-/tree/master/debian/pat...
py3-print: print foo => print(foo) changes py3-except: except Exception, e => except Exception as e changes py3-fixes: the (small) rest
Only the UV-5R module is tested, there are many other issues remaining in the other modules, but this is a start.
It would be nice if these made into the hg branch.
Thanks, Christoph
participants (1)
-
Christoph Berg