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

"secure coding" warning message when starting jlab on MacOS Sonoma #745

Open
russ-schumacher opened this issue Jan 9, 2024 · 2 comments
Labels
bug os:macos Issues specific to macOS

Comments

@russ-schumacher
Copy link

Description

After upgrading to MacOS Sonoma (14.2.1), when running "jlab" from the command line, it throws a warning message:
"WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES."

Reproduce

  1. Run "jlab" from the command line.
  2. The warning message appears in the terminal window.

Expected behavior

No warning message.

Context

  • Operating System and version: MacOS Sonoma, 14.2.1
  • JupyterLab-Desktop version: 4.0.7-1
  • Installer: installed from .dmg file

When starting jlab from the command line, it gives this warning message, but otherwise everything works fine. It's possible that this warning message can be safely ignored, but it's possible that there's a security issue (or just that more security checks were added in Sonoma.) From googling this issue, there are other reports of it for other software packages (e.g., matplotlib/matplotlib#27389), but not a lot of suggested fixes other than ignoring it. One comment also indicates that it's fixed with python 3.12.

The warning also appears when running other commands like "jlab env info".

Copy link

welcome bot commented Jan 9, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@JasonWeill
Copy link

matplotlib fixed this warning in matplotlib/matplotlib#27670.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug os:macos Issues specific to macOS
Projects
None yet
Development

No branches or pull requests

2 participants