quinnj / Sublime-IJulia

An IJulia Frontend for Sublime Text 3
90 stars 16 forks source link

Julia process launches but in terminal window, not in sublime #59

Closed rwjackson closed 9 years ago

rwjackson commented 10 years ago

This is the console message I get when trying to open a new sublime window iJulia process:

Writing file /Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/Sublime-IJulia.sublime-settings with encoding UTF-8 (atomic) reloading Packages/User/Sublime-IJulia.sublime-settings no command for selector: noop: Starting IJulia backend... Command Executed: /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-7.json" Traceback (most recent call last): File "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/IJulia/IJulia.py", line 51, in start_kernel self.kernel = Kernel.Kernel(self.id,self.cmd,self) File "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/IJulia/Kernel.py", line 245, in init self.context = Context() File "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/IJulia/Kernel.py", line 112, in init self.ptr = zmq.zmq_ctx_new() NameError: global name 'zmq' is not defined

quinnj commented 10 years ago

Looks like it's not finding your ZMQ library. You can tell sublime where to find it by editing your Preferences=>Packages=>Sublime-IJulia - User settings (if it's blank, just copy over from Default). Under your OS, just edit the key to zmq. Let me know if that makes sense.

rwjackson commented 10 years ago

Thanks. That’s what I thought, too, but I’m pretty sure I’ve set it up accurately.

This is what I have in my User settings:

{ "osx": { "zmq_shared_library": "/Users/randalljackson/.julia/v0.3/Homebrew/deps/usr/Cellar/zeromq32/3.2.4/lib/libzmq.3.dylib", "commands": [ { "command_name": "default", "julia": "/Applications/Julia-0.3.0.app/Contents/MacOS/Julia", "julia_args": "", "ijulia_kernel": "~/.Julia/v0.3/IJulia/src/kernel.jl" } ] } }

libzmq.dylib is a link to libzmq.3.dylib, I’ve tried using both in the path with the same result.

Here is the file structure from 3.2.4 on:

On Sep 11, 2014, at 5:47 PM, Jacob Quinn notifications@github.com wrote:

Looks like it's not finding your ZMQ library. You can tell sublime where to find it by editing your Preferences=>Packages=>Sublime-IJulia - User settings (if it's blank, just copy over from Default). Under your OS, just edit the key to zmq. Let me know if that makes sense.

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

If you open up julia from the console, can you do dlopen("..path/to/zmq")? If it returns a Ptr{Void} then you're right, that's not the issue, but that's teh sure fire way to make sure.

rwjackson commented 10 years ago

I get:

So I’m missing the proper path, I guess?

Any suggestions as to where to look?

On Sep 11, 2014, at 6:05 PM, Jacob Quinn notifications@github.com wrote:

If you open up julia from the console, can you do dlopen("..path/to/zmq")? If it returns a Ptr{Void} then you're right, that's not the issue, but that's teh sure fire way to make sure.

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Not sure how you're formatting you reply, but it's getting lost on github (I just see a blank paragraph). From within julia, you should be able to run using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) to find the path to your library.

rwjackson commented 10 years ago

Sorry, I had pasted in a screen shot of:

julia> dlopen("..path/to/zmq") ERROR: could not load module ..path/to/zmq: dlopen(..path/to/zmq.dylib, 1): image not found in dlopen at c.jl:19

I found the path: julia> using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) "/Users/randalljackson/.julia/v0.3/Homebrew/deps/usr/lib/libzmq.dylib"

julia>

Made the changes:

Writing file /Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/Sublime-IJulia.sublime-settings with encoding UTF-8 (atomic) reloading Packages/User/Sublime-IJulia.sublime-settings

Now opening a process still opens Julia in a terminal, but now the console reports:

Starting IJulia backend... Command Executed: /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json" Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Kernel died, closing sockets.... Sockets closed...

Seems I’m getting closer!

On Sep 11, 2014, at 6:14 PM, Jacob Quinn notifications@github.com wrote:

Not sure how you're formatting you reply, but it's getting lost on github (I just see a blank paragraph). From within julia, you should be able to run using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) to find the path to your library.

— Reply to this email directly or view it on GitHub.

rwjackson commented 10 years ago

I really appreciate you taking the time to help me! I’m a Mac user in a Windows world here….

On Sep 11, 2014, at 6:14 PM, Jacob Quinn notifications@github.com wrote:

Not sure how you're formatting you reply, but it's getting lost on github (I just see a blank paragraph). From within julia, you should be able to run using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) to find the path to your library.

— Reply to this email directly or view it on GitHub.

rwjackson commented 10 years ago

fyi, here is my user file now:

{ "osx": { "zmq_shared_library": "/Users/randalljackson/.julia/v0.3/Homebrew/deps/usr/lib/libzmq.dylib", "commands": [ { "command_name": "default", "julia": "/Applications/Julia-0.3.0.app/Contents/MacOS/Julia", "julia_args": "", "ijulia_kernel": "~/.Julia/v0.3/IJulia/src/kernel.jl" } ] } }

On Sep 11, 2014, at 6:24 PM, Randall Jackson rwjaxonn@gmail.com wrote:

Sorry, I had pasted in a screen shot of:

julia> dlopen("..path/to/zmq") ERROR: could not load module ..path/to/zmq: dlopen(..path/to/zmq.dylib, 1): image not found in dlopen at c.jl:19

I found the path: julia> using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) "/Users/randalljackson/.julia/v0.3/Homebrew/deps/usr/lib/libzmq.dylib"

julia>

Made the changes:

Writing file /Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/Sublime-IJulia.sublime-settings with encoding UTF-8 (atomic) reloading Packages/User/Sublime-IJulia.sublime-settings

Now opening a process still opens Julia in a terminal, but now the console reports:

Starting IJulia backend... Command Executed: /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json" Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Kernel died, closing sockets.... Sockets closed...

Seems I’m getting closer!

On Sep 11, 2014, at 6:14 PM, Jacob Quinn notifications@github.com wrote:

Not sure how you're formatting you reply, but it's getting lost on github (I just see a blank paragraph). From within julia, you should be able to run using ZMQ; Sys.dlpath(dlopen(ZMQ.zmq)) to find the path to your library.

— Reply to this email directly or view it on GitHub.

cortner commented 10 years ago

@rwjackson: this was the state I was at as well. Later, I tried setting up a similar system in EMACS (ESS-Julia mode), and had similar problems. The ESS developers suggested that it could be a bug in Julia.

Neither have really been taken on it seems.

quinnj commented 10 years ago

@rwjackson, sorry for the delay. The next step is to run /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json" straight from the terminal/command line and see if that works.

rwjackson commented 10 years ago

No worries on the delay, this is a long-haul question,and not urgent. And if I can help you solve the setup for this one Mac, it will with luck be generalizable enough to post for future users. None of my Mac friends have been able to install successfully.

Here is the terminal command and response:

Randall-Jacksons-iMac-2:~ randalljackson$ /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json" 2014-09-15 13:33:58.813 Julia[15464:507] App did finish launching Randall-Jacksons-iMac-2:~ randalljackson$

The result was a launched Julia process in a second terminal window.

=======================>

Last login: Mon Sep 15 13:33:54 on ttys000 Randall-Jacksons-iMac-2:~ randalljackson$ exec '/Applications/Julia-0.3.0.app/Contents/Resources/julia/bin/julia' () | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | |_ | Type "help()" for help. | | | | | | |/ ` | | | | || | | | (| | | Version 0.3.0 (2014-08-20 20:43 UTC) / |_'||_|'_| | Official http://julialang.org/ release |__/ | x86_64-apple-darwin13.3.0

julia>

On Sep 14, 2014, at 6:14 PM, Jacob Quinn notifications@github.com wrote:

@rwjackson, sorry for the delay. The next step is to run /Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json" straight from the terminal/command line and see if that works.

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Hmmm.....interesting. What version of OSX are you on? I'll do some research, but it's odd that it's opening it in a separate window. Probably something with how I'm using python's subprocess.Popen to spawn the julia process.

rwjackson commented 10 years ago

10.9.4

On Sep 15, 2014, at 3:27 PM, Jacob Quinn notifications@github.com wrote:

Hmmm.....interesting. What version of OSX are you on? I'll do some research, but it's odd that it's opening it in a separate window. Probably something with how I'm using python's subprocess.Popen to spawn the julia process.

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Ok, can you try the following:

From within sublime, open the console by typing ctrl+` (control+backtick), then enter the following commands:

import subprocess, shlex

k = subprocess.Popen('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"', shell=True, creationflags = 0)

k.poll()

Report if any new windows are opened and what the return value of k.poll() is.

Close any windows if they opened, then run:

k = subprocess.Popen(shlex.split('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"'), shell=False, creationflags = 0)

k.poll()

And report the same.

rwjackson commented 10 years ago

On Sep 15, 2014, at 4:03 PM, Jacob Quinn notifications@github.com wrote:

Ok, can you try the following:

From within sublime, open the console by typing ctrl+` (control+backtick), then enter the following commands:

import subprocess, shlex

k = subprocess.Popen('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"', shell=True, creationflags = 0)

Julia process in new window

k.poll() return value = 0

Report if any new windows are opened and what the return value of k.poll() is.

Close any windows if they opened, then run:

k = subprocess.Popen(shlex.split('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"'), shell=False, creationflags = 0)

Julia process in new window

k.poll() And report the same.

return value = 0 — Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Ok how about

startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW

 k = subprocess.Popen(shlex.split('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"'), shell=False, startupinfo=startupinfo)

k.poll() # run this a couple times for 10-15 seconds, report if there's more than one return value over the 15 seconds
rwjackson commented 10 years ago

Can’t get past the first line:

startupinfo = subprocess.STARTUPINFO() Traceback (most recent call last): File "", line 1, in NameError: name 'subprocess' is not defined

On Sep 15, 2014, at 4:31 PM, Jacob Quinn notifications@github.com wrote:

Ok how about

startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW

k = subprocess.Popen(shlex.split('/Applications/Julia-0.3.0.app/Contents/MacOS/Julia /Users/randalljackson/.Julia/v0.3/IJulia/src/kernel.jl "/Users/randalljackson/Library/Application Support/Sublime Text 3/Packages/User/profile-3.json"'), shell=False, startupinfo=startupinfo)

k.poll() # run this a couple times for 10-15 seconds, report if there's more than one return value over the 15 seconds — Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

ah, you need to do import subprocess first.

rwjackson commented 10 years ago

Wish I was better able to help from this end!

import subprocess

startupinfo = subprocess.STARTUPINFO() Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'STARTUPINFO'

On Sep 15, 2014, at 4:38 PM, Jacob Quinn notifications@github.com wrote:

ah, you need to do import subprocess first.

— Reply to this email directly or view it on GitHub.

rwjackson commented 10 years ago

Would there be value/interest in setting up a time/day to Skype our way through this?

On Sep 15, 2014, at 4:43 PM, Randall Jackson rwjaxonn@gmail.com wrote:

Wish I was better able to help from this end!

import subprocess

startupinfo = subprocess.STARTUPINFO() Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'STARTUPINFO'

On Sep 15, 2014, at 4:38 PM, Jacob Quinn notifications@github.com wrote:

ah, you need to do import subprocess first.

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Yeah, that would be great. Are weekends generally good for you?

rwjackson commented 10 years ago

Weekends are generally good, although I will be away this week Saturday morning through Sunday evening. As an academic, I have a relatively flexible schedule through the week. After 3 any day but Thursday this week and all day on Friday would be open. Otherwise it would have to be sometime Monday or later. If weekdays are not good, then weekend after this would be doable.

If at work, I can even set up a GoToMeeting session so you can observe my work directly.

Randy

On Sep 15, 2014, at 6:56 PM, Jacob Quinn notifications@github.com wrote:

Yeah, that would be great. Are weekends generally good for you?

— Reply to this email directly or view it on GitHub.

rwjackson commented 10 years ago

My schedule this weekend is more flexible. Still want to have a go at this?

Randy

On Sep 15, 2014, at 8:08 PM, Randy Jackson rwjaxonn@gmail.com wrote:

Weekends are generally good, although I will be away this week Saturday morning through Sunday evening. As an academic, I have a relatively flexible schedule through the week. After 3 any day but Thursday this week and all day on Friday would be open. Otherwise it would have to be sometime Monday or later. If weekdays are not good, then weekend after this would be doable.

If at work, I can even set up a GoToMeeting session so you can observe my work directly.

Randy

On Sep 15, 2014, at 6:56 PM, Jacob Quinn notifications@github.com wrote:

Yeah, that would be great. Are weekends generally good for you?

— Reply to this email directly or view it on GitHub.

quinnj commented 10 years ago

Unfortunately I'm out of town this weekend. I may have access to a mac though, so I may try to take a stab at it in some downtime and try to report what I find. Let's keep in touch for next week; my schedule has been really hectic getting ready for this trip, so it should be a little easier to coordinate something afterwards.

-Jacob

On Wed, Sep 24, 2014 at 1:18 PM, rwjackson notifications@github.com wrote:

My schedule this weekend is more flexible. Still want to have a go at this?

Randy

On Sep 15, 2014, at 8:08 PM, Randy Jackson rwjaxonn@gmail.com wrote:

Weekends are generally good, although I will be away this week Saturday morning through Sunday evening. As an academic, I have a relatively flexible schedule through the week. After 3 any day but Thursday this week and all day on Friday would be open. Otherwise it would have to be sometime Monday or later. If weekdays are not good, then weekend after this would be doable.

If at work, I can even set up a GoToMeeting session so you can observe my work directly.

Randy

On Sep 15, 2014, at 6:56 PM, Jacob Quinn notifications@github.com wrote:

Yeah, that would be great. Are weekends generally good for you?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-56706104 .

rwjackson commented 10 years ago

No worries, I just wanted to be sure that I wasn’t slowing progress on this front, because I now have several colleagues who’d like to have a good solution.

Just let me know if there’s anything I can do to help.

Randy

On Sep 25, 2014, at 10:08 AM, Jacob Quinn notifications@github.com<mailto:notifications@github.com> wrote:

Unfortunately I'm out of town this weekend. I may have access to a mac though, so I may try to take a stab at it in some downtime and try to report what I find. Let's keep in touch for next week; my schedule has been really hectic getting ready for this trip, so it should be a little easier to coordinate something afterwards.

-Jacob

On Wed, Sep 24, 2014 at 1:18 PM, rwjackson notifications@github.com<mailto:notifications@github.com> wrote:

My schedule this weekend is more flexible. Still want to have a go at this?

Randy

On Sep 15, 2014, at 8:08 PM, Randy Jackson rwjaxonn@gmail.com<mailto:rwjaxonn@gmail.com> wrote:

Weekends are generally good, although I will be away this week Saturday morning through Sunday evening. As an academic, I have a relatively flexible schedule through the week. After 3 any day but Thursday this week and all day on Friday would be open. Otherwise it would have to be sometime Monday or later. If weekdays are not good, then weekend after this would be doable.

If at work, I can even set up a GoToMeeting session so you can observe my work directly.

Randy

On Sep 15, 2014, at 6:56 PM, Jacob Quinn notifications@github.com<mailto:notifications@github.com> wrote:

Yeah, that would be great. Are weekends generally good for you?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-56706104 .

— Reply to this email directly or view it on GitHubhttps://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-56823409.

Randall W Jackson, Benedum Distinguished Scholar Professor, Department of Geology and Geography Director, Regional Research Institute West Virginia University 886 Chestnut Ridge Rd. Rm 501 Morgantown WV 26506

Adjunct Professor: Geography, The Ohio State University Economics, Agricultural and Resource Economics, WVU Office: 304-293-8734 Cell: 304-685-4747 Fax: 304-293-6699 http://www.rri.wvu.edu

rwjackson commented 10 years ago

Hi Jacob,

I thought it might somehow be helpful to know I’ve just had a similar experience when trying to set up LightTable for Julia; i.e., a Julia process launches, but in a terminal window rather than in LightTable. Hoping that the commonality might provide a clue….

Randy

On Sep 25, 2014, at 12:15 PM, Randall Jackson rwjackson@mail.wvu.edu<mailto:rwjackson@mail.wvu.edu> wrote:

No worries, I just wanted to be sure that I wasn’t slowing progress on this front, because I now have several colleagues who’d like to have a good solution.

Just let me know if there’s anything I can do to help.

Randy

On Sep 25, 2014, at 10:08 AM, Jacob Quinn notifications@github.com<mailto:notifications@github.com> wrote:

Unfortunately I'm out of town this weekend. I may have access to a mac though, so I may try to take a stab at it in some downtime and try to report what I find. Let's keep in touch for next week; my schedule has been really hectic getting ready for this trip, so it should be a little easier to coordinate something afterwards.

-Jacob

On Wed, Sep 24, 2014 at 1:18 PM, rwjackson notifications@github.com<mailto:notifications@github.com> wrote:

My schedule this weekend is more flexible. Still want to have a go at this?

Randy

On Sep 15, 2014, at 8:08 PM, Randy Jackson rwjaxonn@gmail.com<mailto:rwjaxonn@gmail.com> wrote:

Weekends are generally good, although I will be away this week Saturday morning through Sunday evening. As an academic, I have a relatively flexible schedule through the week. After 3 any day but Thursday this week and all day on Friday would be open. Otherwise it would have to be sometime Monday or later. If weekdays are not good, then weekend after this would be doable.

If at work, I can even set up a GoToMeeting session so you can observe my work directly.

Randy

On Sep 15, 2014, at 6:56 PM, Jacob Quinn notifications@github.com<mailto:notifications@github.com> wrote:

Yeah, that would be great. Are weekends generally good for you?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-56706104 .

— Reply to this email directly or view it on GitHubhttps://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-56823409.

Randall W Jackson, Benedum Distinguished Scholar Professor, Department of Geology and Geography Director, Regional Research Institute West Virginia University 886 Chestnut Ridge Rd. Rm 501 Morgantown WV 26506

Adjunct Professor: Geography, The Ohio State University Economics, Agricultural and Resource Economics, WVU Office: 304-293-8734 Cell: 304-685-4747 Fax: 304-293-6699 http://www.rri.wvu.eduhttp://www.rri.wvu.edu/

Randall Jackson, Director Regional Research Institute, WVU http://www.rri.wvu.edu

Pureti commented 10 years ago

I have problem setting julia in Sublime text3

_Kernel Died_

Console message reloading plugin IJulia.init reloading plugin IJulia.IJulia reloading plugin IJulia.JuliaSyntax reloading plugin IJulia.Kernel plugins loaded Starting IJulia backend... Command Executed: Applications/Julia-0.3.3/Contents/Resources/julia/bin/julia /Users/administrator/.julia/v0.3/IJulia/src/kernel.jl "/Users/administrator/Library/Application Support/Sublime Text 3/Packages/User/profile-1.json" Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Heartbeat didn't get a response Kernel died, closing sockets.... Sockets closed...

how to fix this?

quinnj commented 9 years ago

Hey everyone, really sorry to not respond sooner, but the past couple months have been crazy with finishing grad school, the holidays, and moving across the country to start a new job. I'm getting settled now, so I'm happy to help troubleshoot if anyone's interested (I understand if not). I even have a Mac now, so hopefully that helps in the troubleshooting phase. Sorry again.

cortner commented 9 years ago

Hi - I hope the following is helpful:

I noticed that in all instructions above you write /Applications/Julia-0.X.X.app/Contents/MacOS/Julia as the correct path to Julia. In fact, the correct path is /Applications/Julia-0.X.X.app/Contents/Resources/julia/bin/julia

In my own settings I use

"osx": {
    "zmq_shared_library": "/usr/local/Cellar/zeromq/3.2.4/lib/libzmq.dylib",
    "commands": [
        {
            "command_name": "default",
            "julia": "julia",
            "julia_args": "",
            "ijulia_kernel": "~/.julia/v0.3/IJulia/src/kernel.jl"
        }
    ]
},

with /Applications/Julia-0.X.X.app/Contents/Resources/julia/bin/ in the path.

quinnj commented 9 years ago

Thanks for the addition @cortner. I also just updated the front page README with some extra tips and instructions, so hopefully that helps. Again, if anyone has specific issues they'd like some help to debug, I'm more than happy to help now. I could do a Google Hangouts or whatever if that's helpful.

rwjackson commented 9 years ago

Thanks so much! The Julia process now launches in Sublime as it should.

On Jan 28, 2015, at 3:12 PM, cortner notifications@github.com wrote:

Hi - I hope the following is helpful:

I noticed that in all instructions above you write /Applications/Julia-0.X.X.app/Contents/MacOS/Julia as the correct path to Julia. In fact, the correct path is /Applications/Julia-0.X.X.app/Contents/Resources/julia/bin/julia

In my own settings I use

"osx": { "zmq_shared_library": "/usr/local/Cellar/zeromq/3.2.4/lib/libzmq.dylib", "commands": [ { "command_name": "default", "julia": "julia", "julia_args": "", "ijulia_kernel": "~/.julia/v0.3/IJulia/src/kernel.jl" } ] }, with /Applications/Julia-0.X.X.app/Contents/Resources/julia/bin/ in the path.

— Reply to this email directly or view it on GitHub https://github.com/quinnj/Sublime-IJulia/issues/59#issuecomment-71906736.

quinnj commented 9 years ago

Alright! Awesome. I'll close this for now then. If others have issues with the kernel dying, let's move the discussion to #60.

Pureti commented 9 years ago

thanks for the help, its working. Julia-0.X.X.app-> i missed .app earlier.