Comments (9)
This is an issue with the Ruby kernel (SciRuby/iruby#29) βΒ it just needs to skip the signature check when it's given an empty signing key.
I probably won't have time to write a PR for this myself in the next couple of days (I'm coming up against a paper deadline for a conference). It looks like you can just add another clause at this line and skip the check if the key is empty. It would be great if you or someone else would write a pull request to fix it!
from hydrogen.
should be fixed in sciruby/iruby master. But what about implementing signatures in hydrogen?
from hydrogen.
I reinstalled iruby from sciruby/iruby master. But it is still not working yet. The complete shell output is
[32394:0602/155941:INFO:CONSOLE(97)] "Available kernels:", source: /home/kaidu/.atom/packages/Hydrogen/lib/kernel-manager.coffee (97)
[32394:0602/155941:INFO:CONSOLE(84)] "sending execute", source: /home/kaidu/.atom/packages/Hydrogen/lib/kernel.coffee (84)
[32394:0602/155941:INFO:CONSOLE(100)] "<IDS|MSG>,,{"msg_id":"69fbfbca-4bde-4d7b-aca3-65a6ad760382","username":"","session":0,"msg_type":"execute_request","version":"5.0"},{},{},{"code":"x=5\nx","silent":false,"store_history":true,"user_expressions":{},"allow_stdin":false}", source: /home/kaidu/.atom/packages/Hydrogen/lib/kernel.coffee (100)
[32394:0602/155941:INFO:CONSOLE(133)] "shell message:", source: /home/kaidu/.atom/packages/Hydrogen/lib/kernel.coffee (133)
from hydrogen.
Maybe my fix wasn't correct and @willwhitney can help out when he has time. I am totally not into atom/hydrogen, haven't used it yet.
from hydrogen.
After installing IRuby from master I get the following error (for any code, run either in Hydrogen or the notebook). Have I just done something wrong installing?
NoMethodError: undefined method `local_variable_defined?' for #<Binding:0x007fd8d20bc838>
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/backend.rb:9:in `eval'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/kernel.rb:87:in `execute_request'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/kernel.rb:47:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/kernel.rb:37:in `run'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/command.rb:74:in `run_kernel'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/lib/iruby/command.rb:33:in `run'
/Library/Ruby/Gems/2.0.0/gems/iruby-0.2.4/bin/iruby:5:in `<top (required)>'
/usr/bin/iruby:23:in `load'
/usr/bin/iruby:23:in `<main>'
from hydrogen.
And yeah, I do want to add signing to Hydrogen at some point. At present it only ever starts kernels on localhost and can't connect to remote kernels, so it's not critical.
from hydrogen.
@willwhitney this means your ruby version is too old. But the problem in iruby with no signatures should be fixed.
from hydrogen.
It is working now if I save the file before running hydrogen!
It's a bit strange, as in the console output it seems that hydrogen is sending the expression and not the filename. However, saving the file solves the problem.
from hydrogen.
OK, glad it's working for you now!
@minad thanks for the quick fix!
from hydrogen.
Related Issues (20)
- hydrogen fails to install on Atom HOT 2
- fialedto activate
- npm WARN deprecated [email protected] HOT 2
- Failed to activate the Hydrogen package HOT 18
- [email protected] failed
- Interactive input in output area
- VSCode: port or alternative HOT 12
- Uncaught Error: Cannot find module 'lodash/debounce'Require stack:- $ATOM_HOME/packages\Hydroge... HOT 3
- Uncaught error: no native build was found for platforms HOT 4
- Please port to Vs Code or any other IDE HOT 1
- Uncaught Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=85 uv... HOT 2
- TypeError when using hydrogen with pulsar HOT 4
- Hi, If the notebook in "not trusted" mode. Just click on it and make it trusted then save the file. It will work fine.
- SCRIPT WONT EXECUTE. HOT 1
- can't rebuild zeromq for pulsar
- Newly installed python modules cannot be found by hydrogen in pulsar
- [18:30] r p npm WARN deprecated [email protected]: this library is no longer supported [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic
- deleted
- Is this going to be maintained? HOT 5
- Publish Hydrogen to Pulsar Package Repository HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen.