irashavel@Iras-MBP Downloads % sudo xattr -d com.apple.quarantine fix_mac_sage9_2.tgz
xattr: fix_mac_sage9_2.tgz: No such xattr: com.apple.quarantine
I installed open SSL using Homebrew. I reinstalled Sagemath 9.2. But I still have the same message from Jupyter.
.
I installed the 9.2 fix. The response to the second line of the script *I think* is telling me the quarantine attribute is not present:
“No such xattr: com.apple.quarantine”:
The 3rd line runs fine.
I changed the 4th line to
/Applications/SageMath-9.2/sage -python -m fix_mac_sage9_2.fix
To be consistent with the name of the .app file. Here is what I get:
“irashavel@Iras-MBP Downloads % /Applications/SageMath-9.2/sage -python -m fix_mac_sage9_2.fix
zsh: no such file or directory: /Applications/SageMath-9.2/sage
irashavel@Iras-MBP Downloads % “
Same problem if I use
/Applications/SageMath-9.2 -python -m fix_mac_sage9_2.fix
The script is supposed to be:
cd ~/Downloads
sudo xattr -d com.apple.quarantine fix_mac_sage9_2.tgz
tar xf fix_mac_sage9_2.tgz
/Applications/SageMath/sage -python -m fix_mac_sage9_2.fix
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/ca9d143d-c556-4136-87d4-593f87a55fd0n%40googlegroups.com.
I installed the 9.2 fix. The response to the second line of the script *I think* is telling me the quarantine attribute is not present:
“No such xattr: com.apple.quarantine”
“irashavel@Iras-MBP Downloads % /Applications/SageMath-9.2/sage -python -m fix_mac_sage9_2.fix
zsh: no such file or directory: /Applications/SageMath-9.2/sage
Looks like I got further but here is the log:
Please wait while the Sage Jupyter Notebook server starts...
Traceback (most recent call last):
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage-notebook", line 218, in <module>
launcher(unknown)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage-notebook", line 39, in __init__
main(argv)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/jupyter_core/application.py", line 270, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/traitlets/config/application.py", line 663, in launch_instance
app.initialize(argv)
File "</Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/notebook/notebookapp.py", line 2021, in initialize
super(NotebookApp, self).initialize(argv)
File "</Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/decorator.py:decorator-gen-6>", line 2, in initialize
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/jupyter_core/application.py", line 246, in initialize
self.load_config_file()
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/jupyter_core/application.py", line 179, in load_config_file
self.log.debug("Searching %s for config files", self.config_file_paths)
File "/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/jupyter_core/application.py", line 87, in config_file_paths
path.insert(0, py3compat.getcwd())
PermissionError: [Errno 1] Operation not permitted
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/784b1134-000b-430a-b927-f41978898afdn%40googlegroups.com.
Thanks Nathan! That got me passed that problem. Now:
irashavel@Iras-MBP /applications % SageMath-9.2.app/sage -python -m fix_mac_sage9_2.fix
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: Error while finding module specification for 'fix_mac_sage9_2.fix' (ModuleNotFoundError: No module named 'fix_mac_sage9_2')
It sounds like I did not properly install fix_mac_sage9-2
From: <sage-s...@googlegroups.com> on behalf of Nathan Dunfield <nat...@dunfield.info>
Reply-To: <sage-s...@googlegroups.com>
Date: Tuesday, December 29, 2020 at 11:31 AM
To: sage-support <sage-s...@googlegroups.com>
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/784b1134-000b-430a-b927-f41978898afdn%40googlegroups.com.
I solved my problem. I set permissions so that Sage had access to my disk.
Thanks to everyone and Happy New Year