[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #XWP-701895]: problems running multiple copies of IDV on Yosemite



Hi again.

Actually there is a solution here and it is dead simple.

The IDV on OS X is started by this shell script (run_script) buried in
IDV.app. Here is that script:

##!/bin/sh
cd /Applications/IDV_5.0u2
/Applications/IDV_5.0u2/runIDV 

I simply changed it to this:

#!/bin/sh
cd /Applications/IDV_5.0u2
/Applications/IDV_5.0u2/runIDV &
exit 0

With the ampersand, the IDV runs in the background with two benefits.

1/ You can start multiple instances of the IDV.

2/ You can *kill* multiple instances of the IDV without messing up Yosemite.


Try the nightly build!

-Julien


> Wow, these system level considerations are bcoming quite time consuming. 
> Sorry.
> 
> 
> I got through yesterday by logging in as a dummy user on my machine.
> Perhaps manual launch in a Terminal would work too, but this was easy.
> I slouch into the learned helplessness of the App age.
> (and some users may be truly helpless, so it is worth making it work).
> 
> 
> Thanks and keep up the good work!
> 
> Brian
> 
> 
> 
> 
> On Jan 22, 2015, at 1:03 PM, Unidata IDV Support <address@hidden> wrote:
> 
> > Don and Brian,
> >
> > I think we may be conflating multiple issues here so let me describe each
> > problem.
> >
> > Issue #1
> >
> > On Yosemite and Mavericks, if you try to start the IDV more than once via 
> > the
> > dock or icon, the second time will fail. On Mavericks the icon bounces 
> > until you
> > kill the first instance (and never starts the second instance). On Yosemite 
> > the
> > icon is in the dock and never goes away even if you kill the first instance.
> >
> > Issue #2
> >
> > On top of Issue #1, an additional problem on Yosemite, is if you go to the 
> > Force
> > Quit window, the IDV icon is there, but you cannot kill it nor does it show 
> > up
> > in the process table or the Activity Monitor. Moreover, when you try to 
> > shutdown
> > your Mac for the day, you can't because the Dock thinks the IDV is still
> > running. Again, force quitting won't work and the IDV is not in any process
> > table. Eventually I have to "sudo shutdown -h now"
> >
> > Problem #2 is a real pain in the neck. I have been researching and 
> > experimenting
> > with various solutions.
> >
> > The run_script that is in the IDV.app has no "exit 0", but that makes no
> > difference according to my tests.  I tried starting the run_script via
> > AppleScript, but that does not work either.
> >
> > At this point, I think we have a bug in Yosemite which I will try to
> > minimally reproduce with a "shell script app", and send a bug report.
> >
> > That is where I am at.
> >
> > -Julien
> >
> >
> >> Thanks.  One more note about 5.0u2 on 10.9 - it doesn't hang the system
> >> like it does on Yosemite, but it doesn't start a new one either.  It
> >> used to start a new instance, so I'm wondering if there's still
> >> something else going on with 5.0u2.
> >>
> >> Don
> >>
> >> On 1/20/15 11:33 AM, Unidata IDV Support wrote:
> >>> Don,
> >>>
> >>> Yes, I can confirm this.
> >>>
> >>> I am getting the message "You can’t open the application “IDV” because it 
> >>> is not
> >>> responding."
> >>>
> >>> Poking around the Internet, you can find other applications having the 
> >>> same
> >>> problems on yosemite, but I have yet to see a solution referenced. We 
> >>> will keep looking.
> >>> Let us know if you find anything on your end.
> >>>
> >>> BTW, the workaround is to run the IDV (multiple times if you want) from 
> >>> the
> >>> terminal.
> >>>
> >>> Best,
> >>>
> >>> Unidata IDV Support
> >>>
> >>>
> >>>
> >>>> Hi-
> >>>>
> >>>> My desktop was upgraded to Yosemite (10.10.1) recently and I've also
> >>>> upgraded to IDV 5.0u2.  If I have the IDV running and try to start
> >>>> another instance, the second instance does not start.  However, even
> >>>> after I exit the first instance, the icon in the dock has a dot under it
> >>>> indicating that the IDV is running.   If I go to the Force Quit..
> >>>> option, I see that IDV is listed, but I can't kill it.  If I try to shut
> >>>> my machine down, it won't do it because it says the IDV is running and I
> >>>> have to close it first.
> >>>>
> >>>> So...
> >>>>
> >>>> - Can you recreate this problem on a Yosemite system?
> >>>> - is there any other info I can give you?
> >>>>
> >>>> Thanks.
> >>>>
> >>>> Don
> >>>> --
> >>>> Don Murray
> >>>> NOAA/ESRL/PSD and CU-CIRES
> >>>> 303-497-3596
> >>>> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>>>
> >>>>
> >>>
> >>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: XWP-701895
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>
> >> --
> >> Don Murray
> >> NOAA/ESRL/PSD and CU-CIRES
> >> 303-497-3596
> >> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: XWP-701895
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> 
> *********************************************
> Brian Mapes, Professor
> Department of Atmospheric Sciences
> Meteorology and Physical Oceanography Program
> RSMAS, University of Miami
> 4600 Rickenbacker Causeway
> Miami, FL 33149-1098
> 
> phone: (305) 421-4275
> fax: (305) 421-4696
> email: address@hidden
> Web: http://www.rsmas.miami.edu/users/bmapes/
> **********************************************
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: XWP-701895
Department: Support IDV
Priority: Normal
Status: Closed