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

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

Open
nok-ko opened this issue Mar 26, 2024 · 4 comments

Comments

@nok-ko
Copy link

nok-ko commented Mar 26, 2024

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/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py'>
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1583, in _shutdown
    lock.acquire()
KeyboardInterrupt:
@davidbrochart
Copy link
Owner

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
Copy link
Author

nok-ko commented Mar 26, 2024

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

@davidbrochart
Copy link
Owner

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
Copy link
Author

nok-ko commented Mar 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants