Project

General

Profile

Actions

Bug #9981

closed

Chirp won't Launch(Open) on Mac 12.4 Monterey

Added by Adam Queen over 1 year ago. Updated over 1 year ago.

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

0%

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

Description

I originally got CHIRP to launch with my operating system and was working fine, then I tried to launch Radio Reference and put in my login and zip, it gave me a SUDS error. I did a bunch of research and it told me to paste codes into Terminal. There were 2 codes, the first one didn't do anything, the 2nd code seemed to work, then I closed CHIRP and tried to relaunch and It won't even open. I've tried trashing it, re downloading the program running all the Python apps. Nothing. I'm at a loss to what to do next, I can't seem to find any information that will help me.

Thanks.

Adam

Actions #1

Updated by Adam Queen over 1 year ago

Here is what happens when I drag the EXEC from MACOS into Terminal:

Last login: Wed Aug 10 14:29:26 on ttys000
-bash: /Users/adamqueen/.profile: is a directory

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ codesign --force --deep --sign - /Applications/CHIRP.app
/Applications/CHIRP.app: replacing existing signature
adams-MacBook-Pro:~ adamqueen$ /Applications/CHIRP.app/Contents/MacOS/chirp
Traceback (most recent call last):
File "/Applications/CHIRP.app/Contents/MacOS/../Resources/chirp/chirpw", line 24, in
from chirp.drivers import *
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/alinco.py", line 17, in
from chirp import chirp_common, bitwise, memmap, errors, directory, util
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/directory.py", line 22, in
from chirp import chirp_common, util, radioreference, errors
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/radioreference.py", line 22, in
from suds.client import Client
File "build/bdist.macosx-10.9-x86_64/egg/suds/client.py", line 23, in
File "build/bdist.macosx-10.9-x86_64/egg/suds/bindings/binding.py", line 23, in
File "build/bdist.macosx-10.9-x86_64/egg/suds/sax/document.py", line 23, in
File "build/bdist.macosx-10.9-x86_64/egg/suds/sax/element.py", line 23, in
File "build/bdist.macosx-10.9-x86_64/egg/suds/sax/text.py", line 25, in
TypeError: Error when calling the metaclass bases
nonempty slots not supported for subtype of 'str'
adams-MacBook-Pro:~ adamqueen$

Actions #2

Updated by Tony Fuller over 1 year ago

Hi Adam,

From the error you posted %build/bdist.macosx-10.9-x86_64% seems suspiciously old, like OS X 10.9 old, which is almost 9 years old. I have no idea what %nonempty slots not supported for subtype of 'str'% means at all.

I would suggest removing suds to see if that allows CHIRP to launch again. Hopefully you installed some old version of suds using pip, in which case

pip uninstall suds

should ask you if you want to remove the suds package. Press [y] then [enter] to confirm.

Actions #3

Updated by Adam Queen over 1 year ago

Thanks for the info... I just tried this. Here is the response.

Last login: Wed Aug 10 15:39:43 on ttys000
-bash: /Users/adamqueen/.profile: is a directory

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ pip uninstall suds
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: Skipping suds as it is not installed.
adams-MacBook-Pro:~ adamqueen$

Maybe I need to uninstall Python?

Actions #4

Updated by Adam Queen over 1 year ago

is there a way to start from scratch? It worked when I first installed it, I just couldn't use RadioReference. that's where this all started from. Although, if I can't use Radio Reference with the app, then it's hard to justify even using the app. I guess it is quicker to type in frequencies than do it via the radio. Anyway... I digress... I'm just trying to get up and running.

Thanks so much.

Actions #5

Updated by Tony Fuller over 1 year ago

Hey Adam,

Starting from scratch would mean something like reinstalling the OS, which I don't think is the right path.

Let's see if we can figure out where suds it located. Can you run the following in a terminal / command prompt and post back the result?

python -c 'import suds; print(suds.file)'

Actions #6

Updated by Adam Queen over 1 year ago

absolutely. Here ya go:

Last login: Thu Aug 11 16:18:01 on ttys000
-bash: /Users/adamqueen/.profile: is a directory

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ python -c 'import suds; print(suds.file)'
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/suds_community-1.1.2-py2.7.egg/suds/init.pyc
adams-MacBook-Pro:~ adamqueen$

Actions #7

Updated by Tony Fuller over 1 year ago

Hey Adam,

Ok it's installed to the place it should be (python2.7/site-packages) and I think I realized my mistake with yesterdays uninstall command. Try this one instead:

python -m pip uninstall suds

If you get an error about permissions you may need to add sudo in front of python -m to elevate your privileges.

Hope that helps remove suds.
Tony

Actions #8

Updated by Adam Queen over 1 year ago

OK here's what I'm getting. Not sure what this means. Says skipping suds because it's not installed.

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ sudo python -m pip uninstall suds
Password:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/Users/adamqueen/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: Skipping suds as it is not installed.
adams-MacBook-Pro:~ adamqueen$

Actions #9

Updated by Tony Fuller over 1 year ago

Hey Adam,

Did you try without sudo? I did a quick experiment and if it was installed without sudo then that is how it needs to be uninstalled. (I learned something new today)

Sorry for so much back and forth, I appreciate your patience!

Tony

Actions #10

Updated by Adam Queen over 1 year ago

I did... I think it gave the same response. Here it is again. I just appreciate the help. I have no clue what I'm doing with "Terminal". I'll go back and forth as much as possible to just get it going. Thank you!

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ python -m pip uninstall suds
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: Skipping suds as it is not installed.
adams-MacBook-Pro:~ adamqueen$

Actions #11

Updated by Tony Fuller over 1 year ago

Hey Adam,

I see it now, you have

suds_community

not

suds

So try this command in the command prompt:

python -m pip uninstall suds_community

Actions #12

Updated by Adam Queen over 1 year ago

Alright!!! we got an uninstall! What's next?

Last login: Fri Aug 12 10:20:21 on ttys001
-bash: /Users/adamqueen/.profile: is a directory

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
adams-MacBook-Pro:~ adamqueen$ python -m pip uninstall suds_community

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Uninstalling suds-community-1.1.2:
Would remove:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/suds_community-1.1.2-py2.7.egg
Proceed (y/n)? Your response ('') was not one of the expected responses: y, n
Proceed (y/n)? y
Successfully uninstalled suds-community-1.1.2
adams-MacBook-Pro:~ adamqueen$

Actions #13

Updated by Tony Fuller over 1 year ago

See if CHIRP launches now :)

If CHIRP does launch then we can install the real suds package and not suds_community

Actions #14

Updated by Adam Queen over 1 year ago

OK.... Chirp opens again... great news!

I just tried to launch RadioReference and got this code:

Suds library required for RadioReference.com import
Try installing your distributions python-suds package.

Anyway to get this working? Thank you again.

Actions #15

Updated by Tony Fuller over 1 year ago

To install suds, close CHIRP then try this command in the command prompt

pip install suds

Then launch CHIRP again

Actions #16

Updated by Adam Queen over 1 year ago

OK.. I'm not getting the same suds message, so that's good. However It's telling me invalid username and password. I did just login to RadioReference online, so it's the correct username and password.

What do you think?

Actions #17

Updated by Adam Queen over 1 year ago

Final Update....

Turns out I needed to use my call sign instead of username. I'm in... I'm working.

Thank you so much for getting me up and running. Maybe that "pip install suds" should be in the mac monterey help section, so people don't get confused and you don't have to deal with this top again. hahaha.... Seriously though... Thank you so much!

Adam Queen.

Actions #18

Updated by Tony Fuller over 1 year ago

Hey Adam,

I'm so glad we got things fixed up.

I'll see where a good place is to add the suds install command. The same command works on Windows and Linux so we may just need a new Radio Reference wiki page.

Tony

Actions #19

Updated by Adam Queen over 1 year ago

Thank you again Tony! Have a great weekend.

Actions #20

Updated by Dan Smith over 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF