[chirp_devel] MacOSX - KK7DS Python Runtime Package

Jay Moran, N2JCM
Mon Jul 16 11:41:22 PDT 2012


First off, my bad for not keeping up with a project I find valuable enough
to actually contribute cash and effort to. I should have been following
along over the last 10 months, but I fell away and haven't checked back in.
I got a new rig for the car (Yaesu FT-7900) and needed to program it, so
downloaded everything to my new Mac Book Air 11", and nothing. Actually
from the console I was getting the following message, but would get nothing
while clicking on it from the Mac Finder.

LSOpenURLsWithRole() failed with error -10810 for the file
/Users/jay/Downloads/chirp-daily-20120714.app.

Not very descriptive, which led me to wondering what was going on. I keep
Mac Ports up-to-date on my machine, all of the needed Python libraries were
installed, but no go. I find my way to the startup script at:

/Users/jay/Downloads/chirp-daily-20120714.app/Contents/MacOS

And I see that all of the work that was put into allowing folks who already
have Python2.7 and the needed libraries installed has been removed. That
was there so we didn't have to download and pollute our systems with the
KK7DS Python runtime. This was the pertinent parts of the Feb 15, 2012
script:

41     if [ ! -x /opt/kk7ds/bin/python2.5 ]; then
 42         ERRMSG=$ERRMSG"The KK7DS Python runtime for OSX is not
installed\n"
 43                 # check macports Python
 44                 if [ ! -x /opt/local/bin/python2.7 ]; then
 45                         ERRMSG=$ERRMSG"The Macport Python2.7 runtime
for OSX is not installed\n";
 46                 else
 47                         ERRMSG=" ";
 48                         NORUNTIME=0;
 49                         RUNPYTHON="/opt/local/bin/python2.7";
 50
 51                         if [ -z "`port -q installed py27-gtk`" ]; then
 52                                 ERRMSG=$ERRMSG"The Macport py27-gtk
module for OSX is not installed\n";
 53                                 let "NORUNTIME += 1";
 54                         fi
 55                         if [ -z "`port -q installed py27-libxml2`" ];
then
 56                                 ERRMSG=$ERRMSG"The Macport py27-libxml2
module for OSX is not installed\n";
 57                                 let "NORUNTIME += 1";
 58                         fi
 59                         if [ -z "`port -q installed py27-serial`" ];
then
 60                                 ERRMSG=$ERRMSG"The Macport py27-serial
module for OSX is not installed\n";
 61                                 let "NORUNTIME += 1";
 62                         fi
 63                 fi

Is there any particular reason these (or something similar) parts of the
startup script aren't in there any longer? Are there more libraries in
KK7DS's runtime package these days that is going to prevent the current
Daily Build from working correctly? I've temporarily hacked the script
since I know I have everything needed (at least from prior versions)
installed and things SEEM to be working, but I'm at work and no cable/radio
to test with at the moment to test with, and frankly I'd prefer to know I'm
not missing something vital before using it anyway.

Again, apologies for not keeping up, and I didn't have a good way to search
the mailing list archive for more information. I did find the posts back in
August of last year with Gerrit, but not much else along the lines of
changing the script.

Thanks in advance for taking the time to answer, and I'll try to keep up
with things a bit better in the future. Apologies!

Jay, N2JCM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20120716/d11141d7/attachment-0001.html 


More information about the chirp_devel mailing list