Bug #209

need py27-suds for osx

Added by Rob Walker about 8 years ago. Updated about 1 month ago.

Status:Blocked Start date:06/08/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:MacOS
Model affected:(All models)

Description

I am using the daily build from 2012.06.08 on OSX.

When I try to use the radioreference.com importer, I get the following error:

"

Suds library required for RadioReference.com import. Try installing your distribution's python-suds package.

"

I suspect that this error message would make perfect sense, and would be easy to fix, if I were using an awesome OS, like linux. However, I am stuck on OSX for now. :-) I am using the kk7ds python package, and even though I have done "[617]rwalker@a:~$ sudo port install py27-suds" , I continue to get the same error from chirp. Maybe chirp could point to my local python27 install instead?

Thanks,
Rob

CHIRP-suds.zip - Files needed to add suds to the CHIRP unified build (464.6 kB) Barry Nelson, 04/20/2020 01:34 pm

Screen Shot 2020-04-20 at 4.27.10 PM.png - Premium account required? (53.1 kB) Barry Nelson, 04/20/2020 01:34 pm


Related issues

related to Bug #4801: Suds library required for RadioReference.com Feedback 05/07/2017
duplicated by Bug #1929: Query Data Source RadioReference Rejected 09/23/2014
duplicated by Bug #491: RR.com import error - SUDS needed? (on Mountain Lion) Rejected 02/03/2013

History

Updated by Rob Walker about 8 years ago

I think I may have solved this.

cd
mkdir src
cd src
wget https://fedorahosted.org/releases/s/u/suds/python-suds-0.4.1.tar.gz
tar -zxvf python-suds-0.4.1.tar.gz
cd python-suds-0.4.1
sudo /opt/kk7ds/bin/python2.7 ./setup.py install

restart chirp
get new error about not being a premium subscriber at radioreference.com :-)

Updated by Tom Hayward about 8 years ago

  • Status changed from New to Blocked

I'm glad you found a workaround. The plan was to eventually include suds in the Python Runtime distribution. The new plan is to replace the Python Runtime with a solution that will use the system's python. Once this is implemented, installing suds normally (like with port install py27-suds) will work.

Updated by Sean Petrow almost 6 years ago

Here's what I did to get this working without building it myself, if anyone else runs into this:

Context: since the KK7DS python runtime gets installed to /opt/kk7ds on my machine, I was thinking that I could just copy my suds module over and it would work, since I installed Python 2.7 as a system framework in OSX 10.7.5 ( http://wolfpaulus.com/jounal/mac/installing_python_osx/ has info if you're interested in doing this), and it did.

sudo pip install --install-option="--prefix=/opt/kk7ds" suds

(note that I'm using Python 2.7.8)

Here's a more manual way if you already have suds installed for Python 2.7:

cd /opt/kk7ds/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
cp -R /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/suds ./  # note the difference in /System vs /opt/kk7ds
# Quit and re-launch CHIRP

+1 for a solution that can use system python and fail back to the custom runtime if required, and thanks for the very helpful software :)

Updated by Joe chiarelli about 2 years ago

This helped me thanks

Updated by Barry Nelson 3 months ago

I have attached a zip file, I believe if these files are added to the unified CHIR build for OS X it should fix this issue, but I have not been able to fully test since the import feature seems to require a premium account.

Updated by Barry Nelson 3 months ago

Ok, radioreference granted me premium access so I could resolve this issue, and I was able to connect successfully after adding the extra files in the previously attached zip file were added to the package.

Updated by Bernhard Hailer 3 months ago

Looks like we can close this issue?

Updated by Barry Nelson 2 months ago

Do not close it yet. I just tested the most recent Mac package and it is still missing the suds python package. I have sent another email to Dan Smith with the files that need to be included asking him to please include it by default. Once it is fixed in the default Mac build then we can close this.

Updated by Barry Nelson about 1 month ago

This is STILL not fixed in the latest build, which I just tested, even though I attached a fix to this thread a month ago! Who can I contact to get this added??

Updated by Bernhard Hailer about 1 month ago

  • Target version set to chirp-daily

Barry, thanks for working on this! You might want to join the developers mailing list as described in Developers and push it there.

Also available in: Atom PDF