Page 1 of 1

Mavericks (OSX 10.9): cannot start Neuron

Posted: Thu Nov 21, 2013 12:50 am
by PeterR
I recently updated my Mac Powerbook to Mavericks (OS X 10.9),
then downloaded and installed the latest NEURON.

When I try to run any of the NEURON Apps I get the following FAILURE, e.g.:

*****
"neurondemo.app" cannot be opened because it is from an unidentified
developer."
*****

How can I get around this?

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Thu Nov 21, 2013 10:42 am
by ted
I guess NEURON for OS X doesn't come with a recognized "Apple Developer ID." Costs $99/year to get one; not likely we'll bother with that. Your choices, if you want to use NEURON:
--switch to some other OS (Linux is nice)
--check out Apple's own documentation to find out how to circumvent this "feature" of 10.9. If you find something that works, it would be a terrific favor to other 10.9 users to post what you discover here (or at least a URL to the solution). Googling
mavericks unidentified developer
turns up some plausible hits.

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri Nov 29, 2013 4:40 am
by JMGomes
Dear PeteR,
There is a short way to disable this annoying Mavericks feature. In the Preference Pane, go to « Security and Privacy », unlock the pane (will require root password), enable « Authorize applications downloaded from: » > « Anywhere » .

This may allow you to start NEURON, but so far it seems that you'll need to do use some more trickery, e.g. for compiling NMODL files (see http://www.neuron.yale.edu/phpBB/viewto ... b64ed4f828 ).

Good luck!

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Sat Dec 07, 2013 7:48 pm
by PeterR
I found the offical Apple way of circumventing the Unidentified Developer problem, which applies to just one App not all of them.
====
You can choose to override your security settings and open the app anyway.

In the Finder, locate the app you want to open. Most apps can be found in the Applications folder.
Press the Control-key, then click the app icon.
Choose Open from the shortcut menu.
Click Open.

The app is saved as an exception to your security settings, and you will be able to open it in the future by double-clicking it, just like any authorized app.

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 9:02 am
by stephanmg
Dear all,

after downloading and installing NEURON from the dmg for Mavericks I'm unable to execute NEURON, i. e. it just appears a terminal, no GUI etc.
Previosuly, Mountain Lion, worked flawless... I'm curious how to resolve this issue.

That's not the unauthorized App problem, which I figured out previously also for other apps with Mavericks.

Best,
Stephan

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 9:10 am
by ted
The web site has several URLs for dmgs--which one did you use?

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 9:50 am
by stephanmg
Hey Ted,

i used OS X 10.7 and later (64 bit) - and i've installed XQuartz latest.

Best,
Stephan

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 12:32 pm
by ted
Suppose you start NEURON and you get its xterm with the oc> prompt.
What is the first line that NEURON prints in this terminal?
What happens if you execute the command
load_file("nrngui.hoc")
?

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 2:20 pm
by stephanmg
Hey,

I just get a plain "xterm" or "MacTerm" - no OC> Prompt or NEURON specific stuff at all.

Best,
Stephan

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Fri May 30, 2014 3:51 pm
by hines
What happens if you open Terminal from /Applications/Utiliites and in that terminal type
/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv
Do you get an oc> prompt?

if so, try
load_file("nrngui.hoc")

if not, try
/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv -nopython
Do you get an oc> prompt?

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Mon Jun 02, 2014 3:00 am
by stephanmg
Dear Ted,

Code: Select all

dyld: Library not loaded: /Applications/NEURON-7.3/nrn/x86_64/lib/libnrnoc.0.dylib
  Referenced from: /Volumes/NEURON-7.3/NEURON-7.3/nrn/x86_64/bin/nrniv
  Reason: image not found
Trace/BPT trap: 5
Best,
Stephan

Re: Mavericks (OSX 10.9): cannot start Neuron

Posted: Wed Jun 04, 2014 11:32 am
by stephanmg
Dear Ted&Hines,

i found the solution to my problem.
I just needed to start my application from within the applications folder, somehow this fixes it when i run it via a terminal/shell.

I think this could be somehow related to the LD_LIBRARY_PATH or DYLD_LIBRARY_PATH on MacOSX?

Best,
Stephan