On 9/20/07, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> I have two newbie development questions.
>
> 1. When I make changes to, say, devel/sage-branch/sage/graphs/graph.py,
> I don't see those changes available in SAGE.  For example, I added a
> function to the Graph class, but I couldn't access that function when I
> started up SAGE.  Eventually I accidentally did "sage -b branch", which
> looked like it copied and recompiled the graph.py file in the build
> directory and my changes worked fine.  To see changes that I make in the
> source files, is that the proper procedure? (i.e., do sage -b branch
> before launching sage, even though devel/sage already points to
> sage-branch?)
>

Do "sage -br" everytime.

> 2. Something seems wrong with my mercurial installation.  I can't figure
> out where something might be misconfigured, though.  I get errors about
> hgext/hct when using hg_sage inside of sage, but when running hg outside
> of sage, everything seems fine.  I can find hct.py in
> /usr/local/lib/python2.5/site-packages/hgext/.  Does anyone have any
> idea where I can poke to find out what's wrong?  I'm running Ubuntu.
>
>
> Here's some relevant info:
>
> $ sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8.4.2, Release Date: 2007-09-13                     |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> Loading SAGE library. Current Mercurial branch is: graphs
> hg_sage: hg_sage.status()
> Getting status of modified or unknown files:
> cd "/home/grout/sage/sage-2.8.3/devel/sage" && hg status
> *** failed to import extension hgext/hct: No module named hgext/hct
> *** failed to import extension hgext/hct: No module named hgext/hct
> M sage/graphs/graph.py
>
> ---
>
> Branch: graphs
> sage:
> Exiting SAGE (CPU time 0m0.01s, Wall time 0m23.53s).
> $ cd "/home/grout/sage/sage-2.8.3/devel/sage" && hg status
> M sage/graphs/graph.py
> [EMAIL PROTECTED]:~/sage/sage-2.8.3/devel/sage$ cat /home/grout/.hgrc
> [ui]
> username = Jason Grout <[EMAIL PROTECTED]>
> ignore=~/.hgignore
>
> [extensions]
> #hgext.convert=
> $ ls -las /usr/local/lib/python2.5/site-packages/hgext/hct.py
> 4 -rw-r--r-- 1 root staff 1151 2007-09-06 16:23
> /usr/local/lib/python2.5/site-packages/hgext/hct.py
> $
> Thanks,
>
> Jason
>
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to