Project

General

Profile

Actions

Bug #8475

closed

Python3 Syntax errors

Added by Matthew Poletiek about 4 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Normal
Category:
-
Target version:
Start date:
11/25/2020
Due date:
% Done:

0%

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

Description

Looks like the current py3 branch has 2 syntax errors. The first I discovered was in chirp/ui/mainapp.py on line 1140.

print query

needs to be

print(query)

Also, in chirp/drivers/vx6.py on line 874

except Exception, e:

needs to be

except (Exception, e):

After these changes were made py3 worked as I expected it to.


Files

py3syntax.patch (1.07 KB) py3syntax.patch Matthew Poletiek, 11/25/2020 10:34 AM
py3syntax.patch (1.07 KB) py3syntax.patch Matthew Poletiek, 12/14/2020 07:59 PM

Related issues 1 (0 open1 closed)

Related to Bug #8545: Python 3 Syntax Errors in Driver FilesClosedMatthew Poletiek12/10/2020

Actions
Actions

Also available in: Atom PDF