It seems the ipython kernel manager could not find/start ijulia kernel.

Have you reinstall IJulia? Try `Pkg.add("IJulia")` in Julia REPL

On Friday, February 28, 2014 11:20:54 AM UTC-5, Jon Norberg wrote:
>
> Hi, anyone know how to help me with getting ijulia to run again (using 
> mavericks osx). I have clean install latest julia. I added a soft link so 
>
> captiveportal-49-129:~ jon$ which julia
> /usr/local/bin/julia
>
> and typing julia starts julia as expected from anywhere
>
> Starting python wight he julia profile works and opens a webpage with the 
> files. 
>
> captiveportal-49-129:~ jon$ ipython notebook --profile julia
> 2014-02-28 17:15:39.482 [NotebookApp] Using existing profile dir: 
> u'/Users/jon/.ipython/profile_julia'
> 2014-02-28 17:15:39.488 [NotebookApp] Using MathJax from CDN: 
> http://cdn.mathjax.org/mathjax/latest/MathJax.js
> 2014-02-28 17:15:39.498 [NotebookApp] Serving notebooks from local 
> directory: /Users/jon
> 2014-02-28 17:15:39.498 [NotebookApp] The IPython Notebook is running at: 
> http://127.0.0.1:8998/
> 2014-02-28 17:15:39.498 [NotebookApp] Use Control-C to stop this server 
> and shut down all kernels (twice to skip confirmation).
>
> But opening one of the ijulia files opened the page but the terminal gives:
>
> 2014-02-28 17:15:48.342 [tornado.application] ERROR | Uncaught exception 
> POST /kernels?notebook=74403c31-b655-4406-b36c-6c5f19fc03ed (127.0.0.1)
> HTTPRequest(protocol='http', host='127.0.0.1:8998', method='POST', 
> uri='/kernels?notebook=74403c31-b655-4406-b36c-6c5f19fc03ed', 
> version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Origin': '
> http://127.0.0.1:8998', 'Content-Length': '0', 'Accept-Language': 
> 'en-us', 'Accept-Encoding': 'gzip, deflate', 'Host': '127.0.0.1:8998', 
> 'Accept': 'application/json, text/javascript, */*; q=0.01', 'User-Agent': 
> 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 
> (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11', 'Connection': 
> 'keep-alive', 'Referer': '
> http://127.0.0.1:8998/74403c31-b655-4406-b36c-6c5f19fc03ed', 
> 'X-Requested-With': 'XMLHttpRequest'})
> Traceback (most recent call last):
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/tornado/web.py",
>  
> line 1141, in _when_complete
>     callback()
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/tornado/web.py",
>  
> line 1162, in _execute_method
>     self._when_complete(method(*self.path_args, **self.path_kwargs),
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/tornado/web.py",
>  
> line 2297, in wrapper
>     return method(self, *args, **kwargs)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/html/services/kernels/handlers.py",
>  
> line 46, in post
>     kernel_id = km.start_kernel(notebook_id, cwd=nbm.notebook_dir)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/html/services/kernels/kernelmanager.py",
>  
> line 86, in start_kernel
>     kernel_id = super(MappingKernelManager, self).start_kernel(**kwargs)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/multikernelmanager.py",
>  
> line 115, in start_kernel
>     km.start_kernel(**kwargs)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/manager.py",
>  
> line 205, in start_kernel
>     **kw)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/manager.py",
>  
> line 161, in _launch_kernel
>     return launch_kernel(kernel_cmd, **kw)
>   File 
> "/Users/jon/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/launcher.py",
>  
> line 251, in launch_kernel
>     stdin=_stdin, stdout=_stdout, stderr=_stderr, cwd=cwd, env=os.environ)
>   File 
> "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/subprocess.py",
>  
> line 709, in __init__
>     errread, errwrite)
>   File 
> "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/subprocess.py",
>  
> line 1326, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
> 2014-02-28 17:15:48.344 [tornado.access] ERROR | 500 POST 
> /kernels?notebook=74403c31-b655-4406-b36c-6c5f19fc03ed (127.0.0.1) 14.90ms
>
> Anyone know why this is? Can't it find julia despite me setting it up that 
> way?
>
> Thanks for any help
>

Reply via email to