-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
:JupyniumStartSynch hangs and then closes notebook window #79
Comments
Hi, thanks for reporting. I'll need to check with the new neovim version. You can try |
Hmm. It now can start and synch. Occasionally dys-synching and requiring manual click. (actually seems to still be synched, just that the pop up needs to be dismissed) It can't connect to any kernel however. Even when manually running a kernel select command. I may no longer have a specific bug to share. I'm not sure what to look at to debug this as I go. |
Okay. once thing to tell you is that, it's better to install the master branch than using |
No luck and installing from the repo actually created new errors.
I’ll take a break for a moment, temporarily accepting that Jupiter
notebooks are just a wasteland. But I’ll come back to this at some point
for sure! :)
…On Mon, Jun 5, 2023 at 2:36 AM Kiyoon Kim ***@***.***> wrote:
Okay. once thing to tell you is that, it's better to install the master
branch than using pip install jupynium because there are some updates
since the last release that may have fixed some errors.
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH62JJDVXFSCWC2MDLA4Q5LXJWSAFANCNFSM6AAAAAAYZZOSLM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Remember to check the actual error message using |
Interesting. However, if I just run
To be clear: both of the 'Start&Attach' commands open up firefox and jupyter. They only observably diverge when I run 'Start&Synch' -- at which point if I ran '...InTerminal' before everything works and if I didn't then neovim hangs and eventually the webpage (and presumably server) just close out. Going to start playing around with it more, but this is still super exciting for now. |
I'm glad it works somehow. I'm not sure why it only works using terminal. I should add some logging messages in the future version. The terminal feature is supposed to work as a debugging interface, but I didn't experience that it can only work in terminal and not without. So now I should log in a file so we can see what's going on. |
Thanks. Just a quick update, playing with various versions:
This is true in both WezTerm and default Mac terminal. Super happy to have this working. |
By the way, the first and the third version are the same version. Notice they have the same commit number. I don't know what went wrong with the versioning, and maybe something unusual is going on with the installation. The third version is the right version. |
In #83 there is a new file logging feature in a temp directory. Can you update it to the recent commit and check the output of the run and paste it here so we know how it's failing? |
Hmm. I'm sporting version: but using both |
Mac probably has a different temp dir. You can use this python code to figure out import tempfile
tempfile.gettempdir() |
My browser also closes a few moments after I uninstalled the vim plugin and just used the jupynium cli. When calling
It outputs
The browser starts up, showing the jupyter root directory in the only open tab.
At this point the browser has exited and nvim returns to normal mode (the cursor is no longer stuck in command mode). I'm running this in a venv. Here's the output of my
geckodriver: 0.32.2 |
Hi, |
Thank you, that did it. |
@MathisClautrier Thank you. If you want to create a PR that changes the value, feel free to! Otherwise I'll fix it myself sometime. |
Fixed in #86 |
Describe the bug
Neovim Hangs on
:JupyniumStartSynch
(with command selection area open) and then eventually closes the firefox notebook window.Priort to that: It successfully opens a Firefox window with Jupiter notebook with
:JupyniumStartSyncAndAttachToServer
command. :J...StartSynch also does open up one of the files -- it just is never able to do anything with it.The hang and close happens regardless of input from the user. (I can not touch board nor mouse or switch windows -- either way the same result.)
Final output in nvim command line:
Instal versions:
GeckoDriver: 0.33.0
NVIM: 0.9.1
Jupyter Notebook: 6.5.4
Python: 3.11.3
macOS: 13.4
To Reproduce
Run the exact descriptions in the QuickStart section
Expected behavior
A clear and concise description of what you expected to happen.
Output when using
jupynium
commandUnable to open jupynium via command line, despite it being an installed Python module
jupynium 0.1.dev1+fg5faa4b
(SideNote: this plugin sounds amazing. It would solve a huge gap -- making notebooks civilized coding environments.)
The text was updated successfully, but these errors were encountered: