Yeah, so the failure's definitely happening in the check for version
guards.  I added a couple print statements in the update script to try
to figure out what's happening; does this look like the right kind of
thing to you?

current sage version:  [4, 6, 2]
hg_all_guards:  ['guards in series file:', ' 1  +4_1_2', ' 2  -4_3_1',
' 3  +4_3_1', ' 1  -4_3_2', ' 2  +4_3_2', ' 2  +4_3_3', ' 1  +4_3_3:',
' 2  +4_3_4', ' 1  -4_4', ' 1  +4_4', ' 2  +4_4_1', ' 1  +4_4_2', ' 1
+4_4_3', ' 1  +4_4_4', ' 2  -4_5', ' 4  +4_5', ' 3  -4_5_2', ' 1
+4_5_2', ' 1  +4_5_3', ' 1  -4_6', ' 1  +4_6', ' 9  -4_6_1', ' 1
+4_6_1', ' 4  -4_6_2', ' 2  +4_6_2', ' 1  -4_7', '45  +4_7', ' 7
+4_7_1', ' 1  +5_0', '150  NONE', ' 3  +coerce', '18  +disabled', ' 3
+experimental', ' 1  +free_to_assign', ' 1  +fun', ' 1
+keep_for_possible_future_use', ' 1  +long_compilation', ' 1
+needs_rebase', ' 1  +not_finished', ' 1  +not_wanted', ' 1
+power_zero', ' 2  +tentative_implementation', ' 1  +words_ng_fixme']
version guards:  []
all guards:  []

The script takes the output of the hg_all_guards() function (given
above) and then uses a method to figure out if it's a new version
guard or not; this check is apparently always returning false.  So the
question is whether the hg_all_guards output above looks sensible, or
whether it's funky somehow (like, say, those leading numerals).

Best,
-tom

On May 12, 9:21 am, "Nicolas M. Thiery" <[email protected]>
wrote:
> On Wed, May 11, 2011 at 11:09:55AM -0700, tom d wrote:
> > <pre>
> > :/mnt/data/sage-4.6.2/devel/sage-combinat$ sage -hg qselect -s
> > guards in series file:
> >  1  +4_1_2
> >  2  -4_3_1
>
> ...
>
> > <pre>
> > info("Updating guards")
> >     system(hg+" qselect -q -n")
> >     system(hg+" qselect "+
> >            " ".join(non_version_guards + version_guards))
> > </pre>
> > When a system hg call happens, does it use sage's local hg install, or
> > does it rely on hg being installed elsewhere on the host system?
> > Because I don't have hg installed outside of sage...
>
> It uses Sage's hg. See the def of `hg` earlier in the file.
>
> Hmm. I am pretty stuck at that point ...
>
> Cheers,
>                                 Nicolas
> --
> Nicolas M. Thi ry "Isil" <[email protected]>http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to