Bug #4801
openSuds library required for RadioReference.com
0%
Description
OS: OS X 10.10.5 (Yosemite)
Chirp Version: Various
Error Message: "Suds library required for RadioReference.com import. Try installing your distribution's python-suds package."
Before dismissing this out-of-hand, understand that I have looked up and tried every "solution" for this problem that I have found on the internet, including in your bug tracker.
I've tried both using the downloaded chirp binary after installing kk7ds, and installing it via homebrew with and without kk7ds.
I've tried manually installing suds via pip and easy_install, with and without sudo, in both kk7ds and homebrew-installed python.
I've tried manually copying the suds package files to both kk7ds and the homebrew-installed python.
Attempts to install suds, using and not using --target folder invariably tell me suds is already installed.
I've tried building from source.
I've tried removing and re-installing via homebrew and manually.
By the way: "which python" always shows the homebrew-installed version:
$ which python
#=> /usr/local/bin/python
$ ls -la /usr/local/bin/python
#=> lonny admin 34 Mar 23 19:12 /usr/local/bin/python -> ../Cellar/python/2.7.13/bin/python
I am aware that a similar bug was rejected in 2014 as being a duplicate of a "solved" issue, but none of those solutions have so far worked.
One example, with all prior builds first uninstalled:
lonny$ brew install tdsmith/ham/chirp
Updating Homebrew...
==> Installing chirp from tdsmith/ham
==> Downloading http://trac.chirp.danplanet.com/chirp_daily/daily-20170406/chirp-daily-20170406.tar.gz
Already downloaded: /Users/lonny/Library/Caches/Homebrew/chirp-20170406.tar.gz
==> Downloading https://files.pythonhosted.org/packages/5c/79/5dae7494b9f5ed061cff9a8ab8d6e1f02db352f3facf907d9eb614fb80e9/virtualenv-15.0.2.tar.gz
Already downloaded: /Users/lonny/Library/Caches/Homebrew/chirp--homebrew-virtualenv-15.0.2.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/tmp/chirp--homebrew-virtualenv-20170507-41419-psn3dk/target --single-version-externally-managed --record=installed.txt
==> python -s /tmp/chirp--homebrew-virtualenv-20170507-41419-psn3dk/target/bin/virtualenv -p python /usr/local/Cellar/chirp/20170406/libexec
==> Downloading https://files.pythonhosted.org/packages/1f/3b/ee6f354bcb1e28a7cd735be98f39ecf80554948284b41e9f7965951befa6/pyserial-3.2.1.tar.gz
Already downloaded: /Users/lonny/Library/Caches/Homebrew/chirp--pyserial-3.2.1.tar.gz
==> /usr/local/Cellar/chirp/20170406/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/chirp--pyserial-20170507-41419-1ora9ab/pyserial-3.2.1
==> /usr/local/Cellar/chirp/20170406/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/chirp-20170507-41419-s0ygnw/chirp-daily-20170406
Files
Updated by Lonny Eachus over 7 years ago
- File Screen Shot 2017-05-07 at 2.33.21 PM.png Screen Shot 2017-05-07 at 2.33.21 PM.png added
- File Screen Shot 2017-05-07 at 2.33.38 PM.png Screen Shot 2017-05-07 at 2.33.38 PM.png added
Right after "successfully" installing chirp as above, as per the instructions on your site, I do this:
Radio > Query data source > RadioReference.com
Result: see first screenshot. (I do have an account.)
I click OK. Result: see second screenshot.
No amount of trying online "solutions" has yet changed this. It is 100% consistent.
Updated by Joe chiarelli over 6 years ago
Im having this issue too. Ive installed suds and still not working.
Updated by Todd Skobjak about 6 years ago
I third this notion. I have a Mac OS X 10.13 (High Sierra). No matter what I've done, I cannot get the RadioReference Frequency Database to query so that I can use it. Please advise.
skobie
Updated by Remi T almost 5 years ago
Can confirm and update that all of the above is still current.
I too am running into this issue when attempting to Query external data from radioreference.com
Updated by Adam Hall almost 5 years ago
Try typing this from the Terminal.app:
sudo easy_install -z suds
Then restart CHIRP.app
I would call this at least a bug that requires better documentation at a minimum.
Updated by Bernhard Hailer almost 5 years ago
- Subject changed from Suds **Read before rejecting.** to Suds library required for RadioReference.com
- Description updated (diff)
- Status changed from New to Feedback
- Target version set to chirp-legacy
Updated by Lonny Eachus almost 5 years ago
Adam Hall wrote:
Try typing this from the Terminal.app:
sudo easy_install -z suds
Then restart CHIRP.app
I would call this at least a bug that requires better documentation at a minimum.
This did fix the problem, in my MacOS Mojave.
It took almost 3 years for me to find out about using easy_install... I agree that it should be much better documented.
Updated by Peter Kolodgy over 4 years ago
Lonny Eachus wrote:
Adam Hall wrote:
Try typing this from the Terminal.app:
sudo easy_install -z suds
Then restart CHIRP.app
I would call this at least a bug that requires better documentation at a minimum.
This did fix the problem, in my MacOS Mojave.
It took almost 3 years for me to find out about using easy_install... I agree that it should be much better documented.
cannot get chirp daily to find suds-python library to query radioreference. Im on OSX 10.6.8 snow leopard have tried all the steps and terminal scrips nothing works. Also, new versions of chirp wont open.
Updated by Les Niles over 4 years ago
Having the same problem -- no method of installing SUDS allowed chirp to find it. I found a workaround. The problem is that the various methods I tried for installing SUDS put it either in /usr/local/lib/python2.7/site-packages/ or deep inside /opt/kk7ds, neither of which are in the PYTHONPATH defined in the "chirp" launcher script. I don't know the "right" way to fix this, but the simple work-around is
ln -s /usr/local/lib/python2.7/site-packages/suds Applications/CHIRP.app/Contents/Resources/site-packages
Updated by Nigel Goldsborough over 4 years ago
Also having the same problem as Les, however the work-around doesn't seem to work with the current version of Python (3.8.2).
Some actual support, or a Chirp launcher fix would be amazing.
Updated by Dennis Ionkin over 4 years ago
Still receiving error message after successfully installing suds package.
Chirp can't find the suds package?
Searching for suds
Best match: suds 0.4
Processing suds-0.4-py2.7.egg
suds 0.4 is already the active version in easy-install.pth
Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/suds-0.4-py2.7.egg
Processing dependencies for suds
Finished processing dependencies for suds
Any updates on this?
Updated by Dennis Ionkin over 4 years ago
I was able to bypass the error message and connect to the database.
I temporarily removed the 2.7 folder from: /Library/Frameworks/Python.framework/Versions/
And ran: sudo easy_install -z suds
It installed the suds package to: /Library/Python/2.7/suds-packages
That bypassed the error message.
I also tried copying the site-packages folder from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
To: /Library/Python/2.7/
That also bypassed the error message.
I guess the suds package needs to be in /Library/Python/2.7/site-packages/.
I connected to the Radio Reference database but it was unable to retrieve any memories. I don't understand any of this so I am unsure why it doesn't work. I hope we can get a solution to this.
Updated by G N about 4 years ago
Well there are other tickets about this that are closed that point to this... I still see after a couple years that it's not being addressed? Any ideas if this will be fixed?
On Catalina and apparently even with Suds installed this breaks.
It be nice if the dev would chime in here and at least provide an answer...
Updated by Phil Pesce over 3 years ago
Adam Hall wrote:
Try typing this from the Terminal.app:
sudo easy_install -z suds
Then restart CHIRP.app
I would call this at least a bug that requires better documentation at a minimum.
Confirming that this did solve my problem after a wasted hour of searching.
Using macOS Big Sur 11.3
Updated by Benjamin Bytheway over 3 years ago
I just ran into this. Since I have a different python installed and in my path by default (from homebrew), I go things to work by making sure to specify which python to use:
@sudo /usr/bin/easy_install -z suds@
Hopefully that helps the next user that runs into this.