Michael, Thanks for the URL. (Alternately, you could have told me to look in the
maxima.console() works but not maxima.interact() thread.) I do not have a problem with William's fix. To explain why strip_automount_prefix() is necessary, some computer networks only mount directories "on demand". So for example, on one network I see /u/kate whereas the absolute path is /automount/u/kate By the way, the word "automount" could be anything and is under system administrator control. So strip_automount_prefix() just removes this prefix that os.path.abspath() shows. Nick Alexander suggests using os.path.realpath or os.path.normpath. Neither work on this network, and so I suspect those functions are not portable. Kate On Jun 5, 9:16 am, Michel <[EMAIL PROTECTED]> wrote: > This one! > > Hope the URL works. > > http://groups.google.com/group/sage-devel/browse_thread/thread/ea56d4... > > Michel > > On Jun 5, 2:46 pm, Kate <[EMAIL PROTECTED]> wrote: > > > Michael, > > > Which thread? > > > Kate > > > On Jun 4, 2:04 pm, Michel <[EMAIL PROTECTED]> wrote: > > > > William already posted a patch to this in another thread! > > > > On Jun 4, 7:39 pm, Nick Alexander <[EMAIL PROTECTED]> wrote: > > > > > > PS. Strictly speaking one should use os.path.separator instead of > > > > > "/" :-) > > > > > Perhaps os.path.realpath and os.path.normpath are even better? I > > > > think Kate Minola will have to patch this, because such automounted > > > > paths are rare. > > > > > Nick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---