-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Make Maxima not read global config files #5295
Comments
comment:1
The key here seems to be the First to show the effect of the option:
So, with the above
After applying attached patch "bug5295.patch" the result should be
Since serious testing of this option involves making files in very sensitive locations, I think including a doctest for this behaviour is inadvisable. |
Change maxima interface to look at $DOT_SAGE/maxima rather than "~/.maxima" |
comment:2
Attachment: bug5295.patch.gz |
comment:3
Here's how to replicate the errors with Sage 4.3.1.rc0. Create a hidden directory in your home directory called ".maxima":
Under the hidden directory ".maxima", create the Maxima initialization file "maxima-init.mac" with some initialization code:
Now load the version of Maxima that is shipped with Sage. This should result in some errors thrown by Maxima:
I might be missing something here. But after applying bug5295.patch, I still received the same error:
It also failed when I loaded Maxima from within a Sage session:
|
comment:4
The patch fixes that the maxima expect interface from within sage If someone wants the maxima distributed with sage to never look at |
comment:5
However, should someone want to do this anyway, then the environment variable $MAXIMA_USERDIR should do the trick. Thus,
could just go into sage_env or something similar. This would be an alternative to the attached patch. |
comment:6
Looks good. Work as advertised. |
Author: Nils Bruin |
Reviewer: Minh Van Nguyen |
Merged: sage-4.3.2.alpha0 |
From http://groups.google.com/group/sage-devel/browse_thread/thread/e7f7ddd0ad86971d
Component: build
Author: Nils Bruin
Reviewer: Minh Van Nguyen
Merged: sage-4.3.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/5295
The text was updated successfully, but these errors were encountered: