Bug #10064
closed"An integer is required" error
Added by Brian Simmons about 2 years ago. Updated almost 2 years ago.
0%
Description
It looks like this has happened with other radios, but I didn't find an answer for the TD-H6.
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
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
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
Updated by Jim Unroe about 2 years ago
Brian, did adding the future module solve this for you?
Jim KC9HI
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.
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
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.
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!