Project

General

Profile

Actions

Bug #9742

closed

Chirp with python3 not working on Linux

Added by Jim Lynch about 2 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/06/2022
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
Debug Log:
I read the instructions above:

Description

At least I can't seem to make it work. I downloaded the chirp-daily-20220202, detared it and then tried to run chirpw and got the following error:

@Traceback (most recent call last):
File "chirpw", line 20, in
from chirp import chirp_common
File "/home/jwl/chirp-daily-20220202/chirp/chirp_common.py", line 979
except errors.InvalidDataError, e:
^
SyntaxError: invalid syntax
@
So I found this site: https://chirp.danplanet.com/projects/chirp/wiki/Linux_Python3
And followed the directions since I'm running Mint 20 which is a derivative of Ubuntu.
I ran this command as indicated in the INSTALL file:
sudo python setup.py install --record files.txt
Then I did a chmod +x chirpc and ./chirpc and it gave me a boatload of errors such as:
@Failed to import /home/jwl/chirp-daily-20220202/chirp.hg/chirp/drivers/lt725uv: invalid syntax (lt725uv.py, line 1396)
Failed to import /home/jwl/chirp-daily-20220202/chirp.hg/chirp/drivers/gmrsuv1: invalid syntax (baofeng_common.py, line 167)
Failed to import /home/jwl/chirp-daily-20220202/chirp.hg/chirp/drivers/ft50: invalid syntax (ft50.py, line 589)
@
Then I attempted to run chirpw and got:
@Traceback (most recent call last):
File "./chirpw", line 139, in
from chirp.ui import mainapp
File "/home/jwl/chirp-daily-20220202/chirp.hg/chirp/ui/mainapp.py", line 33, in
from chirp.drivers import ic9x, kenwood_live, idrp, vx7, vx5, vx6
File "/home/jwl/chirp-daily-20220202/chirp.hg/chirp/drivers/vx6.py", line 874
except Exception, e:
^
SyntaxError: invalid syntax
@
In addition to a bunch of the "Failed to import ..." like before.

Can anyone help?
Thanks.

Actions

Also available in: Atom PDF