2009/6/19 Nick Alexander <ncalexan...@gmail.com>: > >> I wanted to try out this feature. Here is what happened. I built >> 4.0.2.rc3 from scratch, made a clone called test, cd'd into >> devel/sage-test, initialised MQ by "sage -hg qinit". And then: >> >> j...@host-57-89%sage -merge -c >> Traceback (most recent call last): >> File "/home/jec/sage-current/local/bin/sage-apply-ticket", line 20, >> in <module> >> import sage.misc.hg as hg >> File "/home/jec/sage-4.0.2.rc3/devel/sage-tests/sage/misc/hg.py", >> line 43, in <module> >> from misc import tmp_filename, branch_current_hg, embedded >> File "/home/jec/sage-4.0.2.rc3/devel/sage-tests/sage/misc/misc.py", >> line 28, in <module> >> import sage.misc.prandom as random >> File "/home/jec/sage-4.0.2.rc3/devel/sage-tests/sage/misc/ >> prandom.py", >> line 56, in <module> >> from sage.misc.randstate import current_randstate >> ImportError: No module named randstate >> >> Similar error with any other sage -merge command. Am I doing >> something wrong? > > I think I had this problem based on the current directory. Could you > try in a different directory? (I think this is a sage-wide problem > but I can't say with certainty.)
Now it works! With 4.0.2 I did "sage -clone tests", did not cd anywhere (so I'm in my home dir), did no "sage -hg" stuff, and then "sage -merge -c" worked and so did "sage -merge 5307" All seemed well with that test (all etsts passed, etc), but the final lines of output are All tests passed! Popping patches from queue ... cd "/home/jec/sage-4.0.2/devel/sage" && hg qpop -a cd "/home/jec/sage-4.0.2/devel/sage" && hg qdelete trac_5307.patch Building failed with SystemExit: 0 -- what's with the "failed" in the last line? This is going to be a brilliantly useful feature! John > > Nick > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---