-
Notifications
You must be signed in to change notification settings - Fork 16
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
KeyError: 'data' after starting up Kernel , IJulia console doesn't finish starting up #73
Comments
I can confirm the issue is with IJulia 1.0.0, It works after reverting to IJulia 0.2.4 . |
Hi, I've tried a fresh install of Julia and Sublime (build 3083) and followed the same instructions as above. Had the exact same error. I also tried to revert to Julia v. 0.2.4 (& also tried 0.2.5), using the command in Julia:
And I still get the same error. Is there any new updates on this? Not sure if this if this is a compatibility issue with the latest stable versions of Julia and Sublime. Thank you!Here is my Julia version& Sys info Julia Version 0.4.0 (2015-10-08 06:20 UTC) |
I finally got it working on Julia 0.3.0. Version 0.4.0 works as well. What's weird is that when I start Sublime, the very first console that I open will not display anything, and only when I open the console (with cmd+shift+p) the second time will the Julia logo actually shows up. This works with subsequent consoles that I open as well. Not sure why this is, but attached is my screen shot and specific sublime-console errors: The screens in order from the left to the right: 1) test.jl, 2) first console: blank & gave the "KeyError: 'data'", 3) second console: it works, 4) third console: it also works. I've replicated this behavior on two machines: Machine 1 (MacPro Late 2013 with OS X Yosemite 10.10.5): Machine 2 (MacBook Pro 2013 with OS X Yosemite 10.10.5): Hopefully this is helpful for anyone who is out there struggling with the same problems. Would love to hear if there is a permanent fix to this. |
I can try replicating this on my machine if you could let me know how you got it to work ? If I understand it correctly, just unpinning IJulia and opening the IJulia console two times led to this oddity? |
Hi I have been trying to figure out what happened to my working installation of Sublime-IJulia and am coming up short.
Here is the console message which logs a KeyError in Kernel.py. The Kernel starts up but the IJulia welcome message doesn't show up and there is no prompt, instead ticker message reads "IJulia Kernel is working" with these messages in the console. I had a working installation and am not sure what might be the issue here.
Starting IJulia backend...
Command Executed: /Applications/Julia-0.3.8.app/Contents/Resources/julia/bin/julia /Users/druid/.julia/v0.3/IJulia/src/kernel.jl "/Users/druid/Library/Application Support/Sublime Text 3/Packages/User/profile-1.json"
Exception in thread Thread-3:
Traceback (most recent call last):
File "./threading.py", line 901, in _bootstrap_inner
File "/Users/druid/Library/Application Support/Sublime Text 3/Packages/IJulia/Kernel.py", line 412, in run
r = self.handlers.get(m, self.pyin_h)()
File "/Users/druid/Library/Application Support/Sublime Text 3/Packages/IJulia/Kernel.py", line 378, in stdout_h
data = self.get_stdout()
File "/Users/druid/Library/Application Support/Sublime Text 3/Packages/IJulia/Kernel.py", line 328, in get_stdout
data = m.content['data']
KeyError: 'data'
If helpful, here is the Julia version info
Julia Version 0.3.8
Commit 79599ad (2015-04-30 23:40 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
I tried a fresh install of sublime text (Build 3083) and reinstalling Package Control and reinstalling the IJulia package and the correct user settings for ZMQ and julia kernel path etc but still get the same KeyError message and can see a successful Julia Kernel in my process list, so I am stumped. I do remember updating Julia using Pkg.Update() but I don't think that matters here. Thanks.
The text was updated successfully, but these errors were encountered: