ASKSAGE: Sage Q&A Forum  RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 29 Jan 2018 18:37:30 +0100notebook admin not workinghttps://ask.sagemath.org/question/40861/notebookadminnotworking/Hello,
I have installed sagemath on debian (Stretch) with the debian package on 3 different computers.
When clicking on manage users 500: internal server error
and
raise BuildError(endpoint, values, method, self)
BuildError: Could not build url for endpoint 'users' with values ['reset']. Did you mean 'admin.users' instead?
I have no clue how to fix this or what it is due to...
maybe I need to configure notebook or use different options
Any idea ?
Thankyou,
b.
edited added debian release 9bb16Mon, 29 Jan 2018 18:37:30 +0100https://ask.sagemath.org/question/40861/Readonly Sage" Errorhttps://ask.sagemath.org/question/38589/readonlysageerror/ Hi all,
I am a systems administrator at University of Southern California and I am attempting to include SageMath7.6 in our lab image (around 400 computers, thousands of students). Students log in with nonadministrative active directory accounts,thus when launching SageMath7.6 they get a "readonly" error. How significantly does this affect their use of the application? If I chmod R 777 on the SageMath7.6.app this corrects the issue, but (security issues aside) how does this impact other users that will be using the application and making changes to it? If application changes and configurations are not being stored in the user's profile then how does the application isolate changes from multiple users?
Thanks in advance for your assistance.dkaurlotSun, 20 Aug 2017 12:27:52 +0200https://ask.sagemath.org/question/38589/"Sage for power users" by W. Stein (PDF without error?)https://ask.sagemath.org/question/10333/sageforpowerusersbywsteinpdfwithouterror/I think that the PDF written by William Steing and named "Sage for power users" is a really good documentation.
http://modular.math.washington.edu/books/sagebook/sagebook.pdf
However the are some pages that are not well compiled. Is there a fixed version?
I couldn't find it. Thx!fjnb86Tue, 09 Jul 2013 10:52:52 +0200https://ask.sagemath.org/question/10333/How to migrate user accounts to new Sage notebook server?https://ask.sagemath.org/question/9696/howtomigrateuseraccountstonewsagenotebookserver/Does anybody have a script to migrate a bunch of notebook users to a new sage notebook server...I need to replace my server hardware. I've installed Sage 5.5 on the new hardware and thought I would just move the .sage directory from my old server, but have had no luck with that. There seem to be path issues. The new server does not expect to find the user files already in __store__.
I would like to maintain passwords as well. Thus I think I need the user.pickle, but copying this also causes errors.
The server I am trying to migrate from was running 5.1, but with the Flask notebook.
I haven't yet tried the process of building all the intermediate versions and stepping through them. I also think I may have the same problem, as I am unwilling to try it in place on the server that is still working.
jonathanTue, 08 Jan 2013 11:35:38 +0100https://ask.sagemath.org/question/9696/Can two people use a notebook at the same time?https://ask.sagemath.org/question/8341/cantwopeopleuseanotebookatthesametime/Sage warned me in a red banner (as best I can remember) that someone is viewing the notebook that is was working on.
Was I being given a warning? If so what should I do? Wait until my collaborator has left the notebook.
What happens if we both try to make changes at the same?
We are working online. I get taken to sageb.
David JonahWed, 19 Oct 2011 15:33:18 +0200https://ask.sagemath.org/question/8341/Can you "upgrade" an existing user to have admin privileges?https://ask.sagemath.org/question/8141/canyouupgradeanexistingusertohaveadminprivileges/I see that users are stored in a users.pickle file in ...sage_nb/
But the API doesn't seem to have a way to change the admin property. Only to get or create them.
This question:
[http://ask.sagemath.org/question/497/changingthenameofanotebookuser](http://ask.sagemath.org/question/497/changingthenameofanotebookuser)
asks the similar one of changing the name. It appears you have to programmatically delete and recreate the user.
Creating a user is done with add_user() documented [here](http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html).jekWed, 01 Jun 2011 22:05:18 +0200https://ask.sagemath.org/question/8141/Changing the name of a notebook userhttps://ask.sagemath.org/question/8065/changingthenameofanotebookuser/I'd like to change the name of a user on my server. An alternative would be to delete the user and add them again with the new name. I can't figure out how to do this. The "User Management" interface in the notebook itself has an "Add User" but not a "Del User." In the reference manual I can see that there is a del_user() function for a notebook. But, the part I'm stuck on is:
nb = load_notebook(dir)
I can't figure out what "dir" is. In other words, I don't know how to find out what that directory is. This is a server that I normally start up by doing the notebook() call (that is, I haven't done anything to put it in any particular directory).
This is: Sage Version 4.6
Mike WittSat, 09 Apr 2011 14:33:57 +0200https://ask.sagemath.org/question/8065/Data files on public servers accesshttps://ask.sagemath.org/question/7866/datafilesonpublicserversaccess/Hello!
I use public Sage servers from time to time and I have a question about their work.
For example, let's imagine I created a sheet which got a number 3. The corresponding folder with the same name is created on the server's hard disk. Then all what I do on that sheet is stored in that folder, right?
 If I want to store some data into a file or to create a text file with some table in it to use it further with other software, those files are also stored in the folder "3", right? If so, then can these files be accessed to only from this sheet or from another my sheets too?
 Who is the owner of such files? As far as I understand, when I open any one of my sheets, a new user is logged into a system and all the files created by this user during this session belong to this user.
 Can other users access my files if they get the same username under which I had saved those files?v_2eThu, 13 Jan 2011 09:09:11 +0100https://ask.sagemath.org/question/7866/Number of Sage Users?https://ask.sagemath.org/question/7790/numberofsageusers/Are there any good estimates for the total number of SAGE users? The most recent I've been able to find are William Stein from 2007ages ago in SAGE time.Ethan Van AndelMon, 06 Dec 2010 01:48:47 +0100https://ask.sagemath.org/question/7790/Speedup commonly used Sage functions?https://ask.sagemath.org/question/7740/speedupcommonlyusedsagefunctions/Hi,
Sage has many nice shorthand functions. This makes programming easy (to read, to debug).
But it comes with a price! For instance:
def test1():
for k in xmrange([100]*3): return k
def test2():
for k1 in xrange(100):
for k2 in xrange(100):
for k3 in xrange(100):
return [k1,k2,k3]
timeit('test1()')
timeit('test2()')
>>625 loops, best of 3: 45.9 µs per loop
>>625 loops, best of 3: 1.59 µs per loop
Four questions:

 Can we inform users that "it comes with a price?"
 Can we speed up common, often used functions (easily)?
 For more advanced users, can we provide them with a Cython equivalent?
(named for instance cxmrange)
 Maybe there is a better approach I'm not aware of?rolandSat, 23 Oct 2010 07:16:20 +0200https://ask.sagemath.org/question/7740/