-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cannot run jpterm #63
Comments
Thanks for reporting the issue. |
Thanks for the response! Here is what I have done so far:
Then I ran
|
For context I am running on Kubuntu 22.04 with python 3.10 |
It's |
Giving it a try, we make some progress! Opening a created notebook I can see it! However, when starting a notebook I get this: $ jpterm --server http://localhost:8888/?token=b6f246b12ca4eebfe1c84d1dd0cafa8df96b38f8b1d04620
╭──────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────╮
│ /home/ddkn/tmp/jupyter/lib/python3.10/site-packages/txl_launcher/components.py:39 in on_button_pressed │
│ │
│ 36 │ async def on_button_pressed(self, event: Button.Pressed) -> None: ╭────────── locals ───────────╮ │
│ 37 │ │ document = self.documents[event.button.id]() │ document = NotebookEditor() │ │
│ 38 │ │ self.main_area.show(document) │ event = Pressed() │ │
│ ❱ 39 │ │ await document.open() │ self = _Launcher() │ │
│ 40 ╰─────────────────────────────╯ │
│ 41 │
│ 42 class LauncherComponent(Component): │
│ │
│ /home/ddkn/tmp/jupyter/lib/python3.10/site-packages/txl_notebook_editor/components.py:104 in open │
│ │
│ 101 │ async def open(self, path: str | None = None) -> None: ╭──────────── locals ────────────╮ │
│ 102 │ │ if path is None: │ kernel_name = Select.BLANK │ │
│ 103 │ │ │ kernel_name = await self.select_kernel() │ path = None │ │
│ ❱ 104 │ │ │ path = await self.create_empty_notebook(kernel_name) │ self = NotebookEditor() │ │
│ 105 │ │ │ self.main_area.set_label(path) ╰────────────────────────────────╯ │
│ 106 │ │ self.path = path │
│ 107 │ │ self.ynb = await self.contents.get(self.path, type="notebook", format="json") │
│ │
│ /home/ddkn/tmp/jupyter/lib/python3.10/site-packages/txl_notebook_editor/components.py:83 in create_empty_notebook │
│ │
│ 80 │ │ │ i += 1 ╭──────────── locals ────────────╮ │
│ 81 │ │ kernel_name = Select.BLANK │ │
│ 82 │ async def create_empty_notebook(self, kernel_name: str) -> str: │ self = NotebookEditor() │ │
│ ❱ 83 │ │ kernel = self.kernelspecs["kernelspecs"][kernel_name] ╰────────────────────────────────╯ │
│ 84 │ │ path = await self.get_untitled() │
│ 85 │ │ ynb = ydocs["notebook"]() │
│ 86 │ │ ynb.set( │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: Select.BLANK I assume we need to run the dev version for that as we need to create and run commands correct? |
Latest versions of Textual have breaking changes, it should work with |
Thanks for the heads up and all the help! I will close this issue. Cheers, |
Hello,
I have installed
jpterm==0.1.22
and it is not able to run,I have the following installed,
Assuming asphalt has an issue?
Appreciate any feedback!
The text was updated successfully, but these errors were encountered: