emacs-eaf / eaf-jupyter Goto Github PK
View Code? Open in Web Editor NEWJupyter client
License: GNU General Public License v3.0
Jupyter client
License: GNU General Public License v3.0
EAF buffer information:
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 60, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 170, in new_buffer
self.create_buffer(buffer_id, url, module_path, arguments)
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 187, in create_buffer
app_buffer = module.AppBuffer(buffer_id, url, arguments)
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/app/jupyter/buffer.py", line 41, in __init__
self.add_widget(EafJupyterWidget(self.kernel,
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/app/jupyter/buffer.py", line 69, in __init__
(jupyter_dark_mode == "follow" and theme_mode == "dark"))
NameError: name 'theme_mode' is not defined
Traceback (most recent call last):
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 60, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 250, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '6ee6-a5d2-dc00-6547-dc49-411b-c986'
Traceback (most recent call last):
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/core/utils.py", line 60, in on_signal_received
self._func(obj, *args, **kwargs)
File "/home/nbfields/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 250, in update_views
view = View(self.buffer_dict[buffer_id], view_info)
KeyError: '6ee6-a5d2-dc00-6547-dc49-411b-c986'
Describe the bug
Attempting to open the eaf Jupyter plugin results in the above error output and no opening of jupyter-qtconsole in or out of Emacs.
To Reproduce
type M-x eaf-open-jupyter
followed by the python3 kernel.
Expected behavior
Jupyter would open and provide no error.
Versions (please complete the following info):
Additional context
I don't doubt that this is a mistake on my end and not an actual bug in EAF or any of its packages, but I also don't know how to resolve it.
Thanks for the application,
I am currently using pyvenv
to switch the virtual environment.
Is it possible to support virtual environment for eaf-jupyter?
when i type M-x eaf-open-jupyter, then in the minibuffer, it is displaying: [EAF/jupyter] Please install qtconsole first.
however, i have installed the package!
i type this in my Emacs's shell---pip list
then it tells me that i have installed qtconsole and its version is 5.0.2
what can i do for making this work?
Use Case
I would like to edit a Python script using Emacs' built-in Python mode and use eaf-jupyter
console as the Python interpreter.
When using Emacs Python mode typically one launches a Python interpreter REPL using C-c C-p
. There after it is possible to send blocks of code being edited to this REPL. For example C-c C-c
sends the whole buffer. Is it possible to do the same using eaf-jupyter
REPL.
Describe the solution you'd like
It would be very useful to be able to use eaf-jupyter
as a replacement for the standard Python REPL built into Emacs (which is launched by C-c C-p
). A suitable alternative workflow for eaf-jupyter
would be
eaf-open-jupyter
eaf-jupyter
console as the REPL.C-c C-c
sends the contents to of the Python script buffer to the eaf-jupyter
for execution.If this feature is already available, please do consider documenting it in the README or elsewhere.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.