I just changed all to absolute paths, and called the file using an absolute path. It works now. So I guess I made a mistake earlier. So, I guess there are no bugs in attach.
Still, this is not a good solution to me, since that would force me to modify all the files if I move the directory around, or change from one computer to a different one. The best solution I did was to do the symlinks to .sage. I still don't understand what happens if I change the DIR variable. Thanks. I guess my wish is to be able to change the working directory, at least for files that are attached. Thanks a bunch. On Feb 3, 3:25 pm, William Stein <wst...@gmail.com> wrote: > On Tue, Feb 3, 2009 at 12:28 PM, Nathan Carter <nathancart...@gmail.com> > wrote: > > > Does the directory argument to notebook() do what you want? (See > > notebook? for more info.) > > That makes a completely separate sage notebook server whose local files > are stored in the given directory. > > Michael Abshoff: > > > This sounds like a bug in attach to me, i.e. attach with an absolute > > path should not prepend $DOT_SAGE. Should be easy enough to fix. > > I agree that this sounds like a bug in attach. > > William --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---