Project

General

Profile

Actions

Bug #10064

closed

"An integer is required" error

Added by Brian Simmons about 2 years ago. Updated almost 2 years ago.

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

0%

Estimated time:
Chirp Version:
daily
Model affected:
TD-H6
Platform:
MacOS
Debug Log:
I read the instructions above:

Description

It looks like this has happened with other radios, but I didn't find an answer for the TD-H6.

Actions #1

Updated by Jim Unroe about 2 years ago

  • Status changed from New to Feedback

I'm not really a mac user but I do have a MacBook Air. I've not had this problem because I am staying at Catalina.

I believe that with the introduction of macOS Monterey, Apple has removed Python2 (which CHIRP still requires). I believe that the solution for this issue is to manually install Python2.

See the MacOS 12.3+ (Monterey) section of the "MacOS Tips":https://chirp.danplanet.com/projects/chirp/wiki/MacOS_Tips page.

Jim KC9HI

Actions #2

Updated by Brian Simmons about 2 years ago

Thanks for the quick reply, Jim! I should have included that the program works for my UV-5Rs, but not my new TD-H6. Sorry for being a doofus here — I didn't think about it until just now. I do have Python installed.

-Brian

Actions #3

Updated by Jim Unroe about 2 years ago

Brian Simmons wrote:

Thanks for the quick reply, Jim! I should have included that the program works for my UV-5Rs, but not my new TD-H6. Sorry for being a doofus here — I didn't think about it until just now. I do have Python installed.

-Brian

This is because the TD-H6 is programmed with the ga510.py driver. The ga510.py driver requires the future module. The future module is not included in the MacOS Unified Application. So you will have to install it yourself (if it can be installed -- I have never bothered to install the future module on my mac because I do my CHIRP programming using Windows (mostly) and Linux). If I needed to add the future module to Linux I would use a command in terminal similar to "pip install future".

See the "pypi.org future":https://pypi.org/project/future/ page.

Jim KC9HI

Actions #4

Updated by Brian Simmons about 2 years ago

Awesome — thanks, Jim!

Actions #5

Updated by Jim Unroe about 2 years ago

Brian, did adding the future module solve this for you?

Jim KC9HI

Actions #6

Updated by Brian Simmons about 2 years ago

It worked like a dream — thanks!

Actions #7

Updated by Eric Yerington about 2 years ago

I am having the same issue with a RadioOddity GA-510. I tried restarting Chirp and the radio but every time I try to read from the radio it gives the message about an integer is required. I just checked and I DO have Python 2.7 installed.

Actions #8

Updated by Jim Unroe about 2 years ago

Eric Yerington wrote:

I am having the same issue with a RadioOddity GA-510. I tried restarting Chirp and the radio but every time I try to read from the radio it gives the message about an integer is required. I just checked and I DO have Python 2.7 installed.

Because you don't have the future module installed. See "note 3":https://chirp.danplanet.com/issues/10064#note-3 above.

Jim KC9HI

Actions #9

Updated by Brian Hendrix about 2 years ago

I'm not able to download from radio with the same error -- the message about an integer being required. The "pip install future" was successful but still get the error. I'm trying to download from a Baofeng BF-H6.

Actions #10

Updated by Brian Hendrix about 2 years ago

My bad! I needed to get out of Chirp and restart it after installing "future" -- it works now!

Actions #11

Updated by Dan Smith almost 2 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF