Skip to content
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

No action on JupyniumStartAndAttachToServer and "Not an editor command JupyniumExecuteSelectedCells" #106

Open
pablocael opened this issue Feb 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pablocael
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

For JupyniumStartAndAttachToServer command:

Just open a .ju.py file and use the command:

:JupyniumStartAndAttachToServer

Nothing happens.

for Not an editor command JupyniumExecuteSelectedCells" error message:

Steps to reproduce the behavior:

  1. Create a simple test.ju.py file
  2. Create a simple cell usin #%% separator
  3. Press space, x to execute the Cell

Expected behavior
Cell executed.

Logs in /tmp/jupynium/logs/

2024-02-15 17:58:15,677 - jupynium.cmds.jupynium:   93 - INFO - Using firefox profile: None
2024-02-15 17:58:17,337 - jupynium.cmds.jupynium:  397 - INFO - Writing Jupyter Notebook server log to: /tmp/tmpbuacinx0
2024-02-15 17:58:18,490 - jupynium.cmds.jupynium:  546 - INFO - No nvim attached. Waiting for nvim to attach. Run jupynium --nvim_listen_addr /tmp/example (use `:echo v:servername` of nvim)
2024-02-15 17:58:21,852 - jupynium.cmds.jupynium:  592 - INFO - Browser disconnected. Quitting Jupynium.
2024-02-15 17:58:21,859 - jupynium.cmds.jupynium:  608 - SUCCESS - Piecefully closed as the browser is closed.
2024-02-15 17:58:21,875 - jupynium.cmds.jupynium:  344 - INFO - Jupyter Notebook server (pid=1304524) has been killed.

Operation system: Linux Fedora 39

@pablocael pablocael added the bug Something isn't working label Feb 15, 2024
@kiyoon
Copy link
Owner

kiyoon commented Feb 15, 2024

If it can't attach to the server, then it can't execute anything.
So let's focus on getting it to attach.

  1. Can you try :JupyniumStartAndAttachToServerInTerminal and see if it's the same message?
  2. Does your firefox work with command firefox?
  3. Does your firefox work with Selenium with this simple code?
    from selenium import webdriver
    driver = webdriver.Firefox()
    driver.get("https://www.selenium.dev/selenium/web/web-form.html")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants