Ryan Hinton wrote:
> I am working with our school IT staff to install Sage.  I compiled it
> in a temporary location, they copied it to an "official" location (and
> ran it once to regenerate path-dependencies), and now I'm trying to
> run the doctests.  But I get failures like the following because I
> don't have write-access to the installed location.
> 
> $ ./sage -t devel/sage/sage/algebras/algebra.py
> sage -t  "devel/sage/sage/algebras/algebra.py"
> Traceback (most recent call last):
>   File "/share/apps/contrib/sage-4.1/local/bin/sage-doctest", line
> 754, in <module>
>     test_file(argv[1], library_code = library_code)
>   File "/share/apps/contrib/sage-4.1/local/bin/sage-doctest", line
> 587, in test_file
>     open(f,"w").write(s)
> IOError: [Errno 13] Permission denied: './.doctest_algebra.py'
>          [0.2 s]
> exit code: 256
> 
> When my CWD is in my home directory (i.e. I have write access), it
> tries to write the doctest files to '.../sage-4.1/
> tmp/.doctest_algebra.py'.
> 
> So the question: how can I skip writing these files, or specify what
> location these files should be created?
> 

Is this the same problem?

http://groups.google.com/group/sage-support/browse_thread/thread/af6d95445f76cbe9#

(that was a post from yesterday)

The ticket from this last post is: 
http://trac.sagemath.org/sage_trac/ticket/6861

Two requests in two days, an ocean apart; wow, sounds like something 
needs to be done to resolve this...

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to