Thanks Carl,

I am pretty sure I used a relative pathname... the only command I
typed was the first line. The "cd" command was produced by sage; this
was in fact the only pathname that would actually find the file.

When I use an absolute pathname instead, the error is:

 "finance/FinanceDate.py does not exist!"

instead of

"abort: /finance/FinanceDate.py not under root"




On Mar 2, 12:07 am, Carl Witty <carl.wi...@gmail.com> wrote:
> On Sun, Mar 1, 2009 at 11:12 PM, Phaedon Sinis <phaedonsi...@gmail.com> wrote:
>
> > -------------------
> > sage: hg_sage.add('/finance/FinanceDate.py')
> > Adding file /finance/FinanceDate.py
> > cd "/Users/phaedonsinis/sage/devel/sage" && hg add  "/finance/
> > FinanceDate.py"
> > abort: /finance/FinanceDate.py not under root
> > -------------------
>
> Here, you're giving hg_sage.add() an absolute path name, where you
> probably wanted a relative one.  I'm not sure what your current
> directory is when you type the command, so I can't tell you the actual
> relative pathname to use, but using an absolute pathname you would
> type something like:
>
> hg_sage.add('/Users/phaedonsinis/sage/devel/sage/finance/FinanceDate.py')
>
> Carl
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to