[sage-support] Re: Sage 7.2 not starting up under Mac OS X ver. 10.12
Instead of posting a followup to a thread with the subject not reflecting your problem, please start a new thread. Please also specify how you installed Sage. On Sunday, September 10, 2017 at 3:53:05 PM UTC+1, Kannan Moudgalya wrote: > > I used to run Sage in a old version of Mac OS X, which I have now upgraded > to Sierra. I reinstalled Sage 8, which seems to work fine. On opening the > new Sage, on the browser, I see links to the applications/notebooks that I > previously generated. Unfortunately, these links do not work. I get the > message "Notebook Bug -- missing template > html/notebook/worksheet_page.html". How can I fix these links? > > On Friday, October 21, 2016 at 7:29:45 AM UTC+5:30, kcrisman wrote: >> >> >> >> On Friday, October 7, 2016 at 4:14:34 AM UTC-4, Samuel Dupree wrote: >>> >>> I'm attempting to run Sage 7.2 on a MacBook Pro running Mac OS X ver. >>> 10.12 (Sierra). Sage won't start up and it gives me the following messages: >>> >>> >>> Last login: Fri Oct 7 00:13:52 on ttys000 >>> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >>> --notebook=sagenb >>> -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or >>> directory >>> users-MacBook-Pro:~ user$ >>> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >>> --notebook=sagenb >>> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's >>> writable by an untrusted group. >>> Untrusted users could put files in this directory which might then be >>> imported by your Python code. As a general precaution from similar >>> exploits, you should not execute Python code from this directory >>> ┌┐ >>> │ SageMath version 7.3, Release Date: 2016-08-04 │ >>> │ Type "notebook()" for the browser-based notebook interface.│ >>> │ Type "help()" for help.│ >>> └┘ >>> Please wait while the old SageNB Notebook server starts... >>> Setting permissions of DOT_SAGE directory so only you can read and write >>> it. >>> Traceback (most recent call last): >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", >>> >>> line 225, in >>> launcher(unknown) >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", >>> >>> line 69, in __init__ >>> from sagenb.notebook.notebook_object import notebook >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook_object.py", >>> >>> line 17, in >>> import notebook as _notebook >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook.py", >>> >>> line 35, in >>> from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, >>> save, >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/misc/misc.py", >>> >>> line 196, in >>> import sage.all >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/all.py", >>> >>> line 92, in >>> from sage.misc.all import * # takes a while >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/all.py", >>> >>> line 5, in >>> from .misc import (alarm, cancel_alarm, >>> File >>> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/misc.py", >>> >>> line 143, in >>> os.chmod(DOT_SAGE, _desired_mode) >>> OSError: [Errno 1] Operation not permitted: '*/Users/user/*.sage/' >>> users-MacBook-Pro:~ user$ >>> >>> Any suggestions? >>> >> >> You may be running Sage in a directory you don't have permission for, or >> at least maybe you aren't running it with enough permission to create the >> .sage/ directory (env var DOT_SAGE) that is needed. This is a typical >> error message in that situation. If it's your own computer, that is a >> little surprising, though. >> > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Sage 7.2 not starting up under Mac OS X ver. 10.12
I used to run Sage in a old version of Mac OS X, which I have now upgraded to Sierra. I reinstalled Sage 8, which seems to work fine. On opening the new Sage, on the browser, I see links to the applications/notebooks that I previously generated. Unfortunately, these links do not work. I get the message "Notebook Bug -- missing template html/notebook/worksheet_page.html". How can I fix these links? On Friday, October 21, 2016 at 7:29:45 AM UTC+5:30, kcrisman wrote: > > > > On Friday, October 7, 2016 at 4:14:34 AM UTC-4, Samuel Dupree wrote: >> >> I'm attempting to run Sage 7.2 on a MacBook Pro running Mac OS X ver. >> 10.12 (Sierra). Sage won't start up and it gives me the following messages: >> >> >> Last login: Fri Oct 7 00:13:52 on ttys000 >> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >> --notebook=sagenb >> -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or >> directory >> users-MacBook-Pro:~ user$ >> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >> --notebook=sagenb >> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's >> writable by an untrusted group. >> Untrusted users could put files in this directory which might then be >> imported by your Python code. As a general precaution from similar >> exploits, you should not execute Python code from this directory >> ┌┐ >> │ SageMath version 7.3, Release Date: 2016-08-04 │ >> │ Type "notebook()" for the browser-based notebook interface.│ >> │ Type "help()" for help.│ >> └┘ >> Please wait while the old SageNB Notebook server starts... >> Setting permissions of DOT_SAGE directory so only you can read and write >> it. >> Traceback (most recent call last): >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", >> >> line 225, in >> launcher(unknown) >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", >> >> line 69, in __init__ >> from sagenb.notebook.notebook_object import notebook >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook_object.py", >> >> line 17, in >> import notebook as _notebook >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook.py", >> >> line 35, in >> from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, >> save, >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/misc/misc.py", >> >> line 196, in >> import sage.all >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/all.py", >> >> line 92, in >> from sage.misc.all import * # takes a while >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/all.py", >> >> line 5, in >> from .misc import (alarm, cancel_alarm, >> File >> "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/misc.py", >> >> line 143, in >> os.chmod(DOT_SAGE, _desired_mode) >> OSError: [Errno 1] Operation not permitted: '*/Users/user/*.sage/' >> users-MacBook-Pro:~ user$ >> >> Any suggestions? >> > > You may be running Sage in a directory you don't have permission for, or > at least maybe you aren't running it with enough permission to create the > .sage/ directory (env var DOT_SAGE) that is needed. This is a typical > error message in that situation. If it's your own computer, that is a > little surprising, though. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Sage 7.2 not starting up under Mac OS X ver. 10.12
On Friday, October 7, 2016 at 4:14:34 AM UTC-4, Samuel Dupree wrote: > > I'm attempting to run Sage 7.2 on a MacBook Pro running Mac OS X ver. > 10.12 (Sierra). Sage won't start up and it gives me the following messages: > > > Last login: Fri Oct 7 00:13:52 on ttys000 > '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' > --notebook=sagenb > -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or > directory > users-MacBook-Pro:~ user$ > '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' > --notebook=sagenb > sys:1: RuntimeWarning: not adding directory '' to sys.path since it's > writable by an untrusted group. > Untrusted users could put files in this directory which might then be > imported by your Python code. As a general precaution from similar > exploits, you should not execute Python code from this directory > ┌┐ > │ SageMath version 7.3, Release Date: 2016-08-04 │ > │ Type "notebook()" for the browser-based notebook interface.│ > │ Type "help()" for help.│ > └┘ > Please wait while the old SageNB Notebook server starts... > Setting permissions of DOT_SAGE directory so only you can read and write > it. > Traceback (most recent call last): > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", > > line 225, in > launcher(unknown) > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", > > line 69, in __init__ > from sagenb.notebook.notebook_object import notebook > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook_object.py", > > line 17, in > import notebook as _notebook > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook.py", > > line 35, in > from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, save, > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/misc/misc.py", > > line 196, in > import sage.all > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/all.py", > > line 92, in > from sage.misc.all import * # takes a while > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/all.py", > > line 5, in > from .misc import (alarm, cancel_alarm, > File > "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/misc.py", > > line 143, in > os.chmod(DOT_SAGE, _desired_mode) > OSError: [Errno 1] Operation not permitted: '*/Users/user/*.sage/' > users-MacBook-Pro:~ user$ > > Any suggestions? > You may be running Sage in a directory you don't have permission for, or at least maybe you aren't running it with enough permission to create the .sage/ directory (env var DOT_SAGE) that is needed. This is a typical error message in that situation. If it's your own computer, that is a little surprising, though. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Sage 7.2 not starting up under Mac OS X ver. 10.12
On Friday, October 7, 2016 at 9:51:21 AM UTC-7, slelievre wrote: > > > > Le vendredi 7 octobre 2016 10:14:34 UTC+2, Samuel Dupree a écrit : >> >> I'm attempting to run Sage 7.2 on a MacBook Pro running Mac OS X ver. >> 10.12 (Sierra). Sage won't start up and it gives me the following messages: >> >> >> Last login: Fri Oct 7 00:13:52 on ttys000 >> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >> --notebook=sagenb >> -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or >> directory >> users-MacBook-Pro:~ user$ >> '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' >> --notebook=sagenb >> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's >> writable by an untrusted group. >> Untrusted users could put files in this directory which might then be >> imported by your Python code. As a general precaution from similar >> exploits, you should not execute Python code from this directory >> ┌┐ >> │ SageMath version 7.3, Release Date: 2016-08-04 │ >> │ Type "notebook()" for the browser-based notebook interface.│ >> │ Type "help()" for help.│ >> └┘ >> Please wait while the old SageNB Notebook server starts... >> Setting permissions of DOT_SAGE directory so only you can read and write >> it. >> Traceback (most recent call last): >> ... >> OSError: [Errno 1] Operation not permitted: '*/Users/user/*.sage/' >> users-MacBook-Pro:~ user$ >> >> Any suggestions? >> >> Sam Dupree. >> > > Did you install Sage before upgrading to macOS 10.12 Sierra? > Or did you have Sage installed under OS X 10.11 El Capitan > and then upgrade to macOS 10.12 Sierra? > > Progress on building Sage for macOS 10.12 Sierra is tracked > at Sage trac ticket #21567: > > https://trac.sagemath.org/ticket/21567 > > Yes, but pre-built binaries for OS X 10.11 work on OS X 10.12 (at least in my experience). My guess is that's what the poster is using. John -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Sage 7.2 not starting up under Mac OS X ver. 10.12
Le vendredi 7 octobre 2016 10:14:34 UTC+2, Samuel Dupree a écrit : > > I'm attempting to run Sage 7.2 on a MacBook Pro running Mac OS X ver. > 10.12 (Sierra). Sage won't start up and it gives me the following messages: > > > Last login: Fri Oct 7 00:13:52 on ttys000 > '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' > --notebook=sagenb > -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or > directory > users-MacBook-Pro:~ user$ > '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' > --notebook=sagenb > sys:1: RuntimeWarning: not adding directory '' to sys.path since it's > writable by an untrusted group. > Untrusted users could put files in this directory which might then be > imported by your Python code. As a general precaution from similar > exploits, you should not execute Python code from this directory > ┌┐ > │ SageMath version 7.3, Release Date: 2016-08-04 │ > │ Type "notebook()" for the browser-based notebook interface.│ > │ Type "help()" for help.│ > └┘ > Please wait while the old SageNB Notebook server starts... > Setting permissions of DOT_SAGE directory so only you can read and write > it. > Traceback (most recent call last): > ... > OSError: [Errno 1] Operation not permitted: '*/Users/user/*.sage/' > users-MacBook-Pro:~ user$ > > Any suggestions? > > Sam Dupree. > Did you install Sage before upgrading to macOS 10.12 Sierra? Or did you have Sage installed under OS X 10.11 El Capitan and then upgrade to macOS 10.12 Sierra? Progress on building Sage for macOS 10.12 Sierra is tracked at Sage trac ticket #21567: https://trac.sagemath.org/ticket/21567 -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.