davidbrochart / jpterm

Jupyter in the terminal.
https://davidbrochart.github.io/jpterm
MIT License
259 stars 5 forks source link

macos: Crashes when in Notebook or Console menus, can't seem to use the application at all #87

Open nok-ko opened 7 months ago

nok-ko commented 7 months ago

Running on mac OS Sonoma, with jpterm version… either 2.3 or 0.2.11? I’m not sure how to read the version information from pip and the program doesn't come support for a --version command line flag.

(Output from pip inspect)

// [...]
    {
      "metadata": {
        "metadata_version": "2.3",
        "name": "jpterm",
        "version": "0.2.11",
        "summary": "Jupyter in the terminal",
// [...]
    }

I can get as far as this menu:

image

Trying to select anything in that Select dropdown by pressing Enter puts the program into this state: image

Quitting with Ctrl-C just yields a message about handling the KeyboardInterrupt, which is of no diagnostic value.

^C^CException ignored in: <module 'threading' from '/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py'>
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1583, in _shutdown
    lock.acquire()
KeyboardInterrupt:
davidbrochart commented 7 months ago

Did you try to create a new notebook? What was in the dropdown menu? Can you try to click instead of hitting Enter?

nok-ko commented 7 months ago

Selecting by clicking doesn’t result in a crash. This is the content within the dropdown:

image
davidbrochart commented 7 months ago

I see there is nothing in the dropdown menu, but you should at least see python3. Do you have ipykernel installed? Could you show the output of pip list? Are you running in local mode or through a server (with jpterm --server ...)?

nok-ko commented 7 months ago

Sorry for the delayed response. ipykernel is installed. This is the output of pip list: pip-list.txt

(Perhaps the packages are outdated; I’ll check later. Regular Jupyter notebooks do work.)

I get the same result running jpterm with and without the --host flag pointing to the URL that jupyter notebook prints to stdout.