Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESS/Julia Crashes Aquamacs #113

Closed
cortner opened this issue Aug 31, 2014 · 6 comments · Fixed by #549
Closed

ESS/Julia Crashes Aquamacs #113

cortner opened this issue Aug 31, 2014 · 6 comments · Fixed by #549

Comments

@cortner
Copy link

cortner commented Aug 31, 2014

I am running OS X 10.9.4, Julia v0.3.

I installed the latest Aquamacs, deleted the ESS that comes with it and installed the Git development branch. My Preferences.el contains

   (add-to-list 'load-path "~/Dropbox/Admin/Aquamacs/ESS/lisp/")
   (load "ess-site")

Julia is already in the path; the version of ESS installed is 14.08.

When I start julia with M-x julia RET, a Julia console opens in the Terminal (not in Emacs - is that correct?), and Aquamacs becomes unresponsive to any input. I have to kill it.

The same happens with Vincent Goulet's version of Emacs from
http://vgoulet.act.ulaval.ca/en/emacs/mac/.

Thank you for any pointers.

@vspinu
Copy link
Member

vspinu commented Aug 31, 2014

When I start julia with [M-x julia RET], a Julia console opens in the Terminal (not in Emacs - is that correct?), and Aquamacs becomes unresponsive to any input. I have to kill it.

That's not correct. It should open in the Emacs buffer. I think it might be julia thing.

Try M-x shell and then julia in it and see if you get the same behavior. If so, update your julia, check again and then straight to julia bug report.

@cortner
Copy link
Author

cortner commented Aug 31, 2014

When I start julia with [M-x julia RET], a Julia console opens in the Terminal (not in Emacs - is that correct?), and Aquamacs becomes unresponsive to any input. I have to kill it.

That's not correct. It should open in the Emacs buffer. I think it might be julia thing.

Try M-x shell and then julia in it and see if you get the same behavior. If so, update your julia, check again and then straight to julia bug report.

I tried this, using Current Release v0.3.0, and get the message

bash-3.2$ julia
2014-08-31 18:44:51.806 julia[3902:507] App did finish launching

Julia again starts in a separate Terminal, but this time Emacs does not freeze. I will post this on the Julia list.

@juliangehring
Copy link

I can confirm what @cortner has been describing on a linux machine with julia 0.3.0, emacs 24.3.1, and ESS 14.08. The same setup works fine with julia 0.2.

Here the 'ess-buffer' output, after killing the ESS process:

[ess-site.el _2_]: ess-customize-alist=nil                                                                                                            
(S): ess-s-versions-create making M-x defuns for                                                                                                      

(R): ess-r-versions-create making M-x defuns for                                                                                                      
 R-devel.sh                                                                                                                                           
 R-devel                                                                                                                                              

(julia): ess-dialect=nil, buf=*scratch*, start-arg=nil                                                                                                
 current-prefix-arg=nil                                                                                                                               
(inf-ess 1): lang=nil, dialect=nil, tmp-dialect=julia, buf=*scratch*                                                                                  
(inf-ess 1.1): procname=julia temp-dialect=julia, buf-name=*julia*                                                                                    
(inferior-ess) Method #3 start=~/ buf=*julia*                                                                                                         
(ess-setq-vars-LOCAL): language=julia, dialect=julia, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send                                  
(inf-ess 2.1): ess-language=julia, ess-dialect=julia buf=*julia*                                                                                      
(ess-setq-vars-LOCAL): language=julia, dialect=julia, buf=nil, comint..echoes=nil, comint..sender=inferior-ess-input-sender                           
(i-ess 1): buf=*julia*, lang=julia, comint..echo=nil, comint..sender=inferior-ess-input-sender,                                                       
(i-ess end): buf=*julia*, lang=julia, comint..echo=nil, comint..sender=inferior-ess-input-sender,                                                     
(inferior-ess (post inf-ess): start-args= , comint-echoes=nil                                                                                         
Making Process...Buf *julia*, :Proc julia, :Prog julia                                                                                                
 :Args=                                                                                                                                               
Start File=nil                                                                                                                                        
(inferior-ess: waiting for process to start (before hook)

@cortner
Copy link
Author

cortner commented Nov 10, 2014

Does anybody have an idea yet how to fix this issue?

@cortner
Copy link
Author

cortner commented Jan 28, 2015

In my, case the problem was that I used /Applications/Julia-0.X.X.app/Contents/MacOS/Julia instead of /Applications/Julia-0.X.X.app/Contents/Resources/julia/bin/julia. The first is an "app" that launches Julia in a separate terminal. The latter is the one that can be called from command-line. I now got ESS-Julia to work in both Aquamacs and standard Emacs.

From my point of view, this can be closed.

@justmytwospence
Copy link

When I follow the wiki instructions, my minibuffer displays

Type C-h for hep on ESS version 15.09-devel

and then the whole Emacs application freezes up, and I have to force quit.
I'm using the brew cask install julia version of julia.

jabranham added a commit to jabranham/ESS that referenced this issue May 22, 2018
Closes emacs-ess#113 since relying on Emacs's exec-path is probably the best we
can do to properly find the proper executable.
jabranham added a commit to jabranham/ESS that referenced this issue May 22, 2018
Closes emacs-ess#113 since relying on Emacs's exec-path is probably the best we
can do to properly find the proper executable.

A few changes to appease M-x checkdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants