On Sat, Oct 31, 2009 at 15:00, William Stein <[email protected]> wrote:
>
> On Sat, Oct 31, 2009 at 6:50 AM, Minh Nguyen <[email protected]> wrote:
>>
>> Hi Kjetil,
>>
>> On Sun, Nov 1, 2009 at 12:41 AM, Kjetil Halvorsen <[email protected]>
>> wrote:
>>
>> <SNIP>
>>
>>> What does this mean?
>>
>> It means you have successfully compiled Sage from source and now you
>> have a working local installation of Sage. As for the doctest
>> failures, you might want to provide a link to the full test log and
>> we'll see what we could do to resolve the doctest failures. We'd be
>> interested to know what the failures are.
>
>
> sage -t "devel/sage/sage/server/notebook/cell.py"
>
> is harmless since that code is no longer used.
>
> The other failure in free_module.py -- you should post it.
OK. Here is the relevant part of test.log:
sage -t "devel/sage/sage/modules/free_module.py"
**********************************************************************
File "/home/kjetil/sage-4.2/devel/sage/sage/modules/free_module.py", line 2496:
sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
Exception raised:
Traceback (most recent call last):
File "/home/kjetil/sage-4.2/local/bin/ncadoctest.py", line 1231,
in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/kjetil/sage-4.2/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/home/kjetil/sage-4.2/local/bin/ncadoctest.py", line 1172,
in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_70[11]>", line 1, in <module>
W = M.submodule([x*B[Integer(0)], Integer(2)*B[Integer(1)]-
x*B[Integer(2)]]); W###line 2496:
sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 2508, in submodule
V = self.span(gens, check=check,
already_echelonized=already_echelonized)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 2424, in span
self.ambient_module(), gens, check=check,
already_echelonized=already_echelonized)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 5428, in __init__
echelonize=True, already_echelonized=already_echelonized)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 4531, in __init__
basis = self._echelonized_basis(ambient, basis)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 4644, in _echelonized_basis
d = self._denominator(basis)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py",
line 4752, in _denominator
d = sage.rings.integer.Integer(B[0].denominator())
File "free_module_element.pyx", line 958, in
sage.modules.free_module_element.FreeModuleElement.denominator
(sage/modules/free_module_element.c:8227)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 343, in lcm
return lcm_func(self, singular, have_ring)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 451, in lcm_func
lcm =
self._singular_(have_ring=have_ring).lcm(right._singular_(have_ring=have_ring))
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 339, in _singular_
return _singular_func(self, singular, have_ring)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 383, in _singular_func
self.parent()._singular_(singular).set_ring() #this is expensive
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 196, in _singular_
return self._singular_init_(singular)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py",
line 241, in _singular_init_
self.__singular = singular.ring(self.characteristic(), _vars,
order=order, check=False)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/interfaces/singular.py",
line 899, in ring
R = self('%s,%s,%s'%(char, vars, order), 'ring')
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/interfaces/singular.py",
line 662, in __call__
return SingularElement(self, type, x, False)
File
"/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/interfaces/singular.py",
line 1111, in __init__
raise TypeError, x
TypeError: Unable to start singular because the command 'Singular
-t --ticks-per-sec 1000' failed.
**********************************************************************
File "/home/kjetil/sage-4.2/devel/sage/sage/modules/free_module.py", line 2501:
sage: W.ambient_module()
Expected:
Ambient free module of rank 3 over the principal ideal domain
Univariate Polynomial Ring in x over Rational Field
Got:
Ambient free module of rank 3 over the principal ideal domain Integer Ring
**********************************************************************
1 items had failures:
2 of 13 in __main__.example_70
***Test Failed*** 2 failures.
For whitespace errors, see the file
/home/kjetil/.sage//tmp/.doctest_free_module.py
[15.5 s]
Kjetil
>
> William
>
> >
>
--
"... an entire human genome would fit on a music CD."
--- www.thinkgene.com
--~--~---------~--~----~------------~-------~--~----~
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-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---