#9873: Create Mac Application that people love to use
------------------------------------------------+---------------------------
Reporter: iandrus | Owner: iandrus
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-wishlist
Component: user interface | Keywords: mac
Author: Ivan Andrus | Upstream: N/A
Reviewer: Karl-Dieter Crisman, Jason Grout | Merged:
Work_issues: |
------------------------------------------------+---------------------------
Comment(by jason):
One more problem I found. If you delete (or move) your .sage directory,
then there is a problem starting up the server since it requests an admin
password. Here is the log:
{{{
Starting Notebook
----------------------------------------------------------------------
| Sage Version 4.5.2, Release Date: 2010-08-05 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Please wait while the Sage Notebook server starts...
Setting permissions of DOT_SAGE directory so only you can read and write
it.
/tmp/sage-mac-app/local/lib/python/getpass.py:79: GetPassWarning: Can not
control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Enter new password: ...
The notebook files are stored in: sage_notebook.sagenb
Please choose a new password for the Sage Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your
password
and connect to your machine could access or delete your files.
NOTE: Only the md5 hash of the password you type is stored by Sage.
You can change your password by typing notebook(reset=True).
Traceback (most recent call last):
File "/tmp/sage-mac-app/local/bin/sage-notebook", line 36, in <module>
notebook(port=8000)
File
"/Users/grout/projects/sagenb-0.8.2/src/sagenb/sagenb/notebook/notebook_object.py",
line 217, in __call__
return self.notebook(*args, **kwds)
File
"/Users/grout/projects/sagenb-0.8.2/src/sagenb/sagenb/notebook/run_notebook.py",
line 194, in notebook_twisted
passwd = get_admin_passwd()
File
"/Users/grout/projects/sagenb-0.8.2/src/sagenb/sagenb/notebook/run_notebook.py",
line 424, in get_admin_passwd
passwd = getpass.getpass("Enter new password: ")
File "/tmp/sage-mac-app/local/lib/python/getpass.py", line 79, in
unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/tmp/sage-mac-app/local/lib/python/getpass.py", line 114, in
fallback_getpass
return _raw_input(prompt, stream)
File "/tmp/sage-mac-app/local/lib/python/getpass.py", line 130, in
_raw_input
raise EOFError
EOFError
}}}
The same sort of thing happens if the notebook tries to upgrade an old
notebook (pre-2009 or so). The user is prompted to enter Y/N to whether
they want to upgrade.
The first problem is definitely a problem, since every new user will have
it happen to them.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9873#comment:33>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.