#9865: Unable to start singular because the command 'Singular -t --ticks-per-sec
1000' failed
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  mvngu
       Type:  defect   |      Status:  new  
   Priority:  major    |   Milestone:       
  Component:  doctest  |    Keywords:       
     Author:           |    Upstream:  N/A  
   Reviewer:           |      Merged:       
Work_issues:           |  
-----------------------+----------------------------------------------------

Old description:

> Reported by Dan Drake on [http://groups.google.com/group/sage-
> devel/browse_thread/thread/23fd468a4d406389/56ad02c448380af9?#56ad02c448380af9
> sage-devel] and [http://groups.google.com/group/sage-
> release/browse_thread/thread/a865f2fa728335c0/2fbf4ba1859e76bb#2fbf4ba1859e76bb
> sage-release]:
> {{{
> Two builds of 4.3.4 are not doctesting properly for me; both are failing
> the doctest for free_module.py because Singular won't start. The
> failures always end with "TypeError: Unable to start singular because
> the command 'Singular -t --ticks-per-sec 1000' failed."
>
> This happens on two virtual machines: one running Ubuntu Hardy, the
> other running Ubuntu Lucid. I've tried rebuilding Singular, but it
> didn't work in either case. I tried a couple of the doctests manually,
> and they seemed to work, and I can start Singular using the above
> command with no troubles.
>
> I've built 4.3.4 on two different machines (not virtual machines) and
> everything works fine. I'm attaching a log of the failed doctest. Any
> ideas?
> }}}
> Tracebacks:
> {{{
> sage -t  "devel/sage/sage/modules/free_module.py"
> **********************************************************************
> File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
> 2533:
>     sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1231, in
> run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File "/home/alex/sage-4.3.4/local/bin/sagedoctest.py", line 38, in
> run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1172, in
> run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_69[11]>", line 1, in <module>
>         W = M.submodule([x*B[Integer(0)], Integer(2)*B[Integer(1)]-
> x*B[Integer(2)]]); W###line 2533:
>     sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 2545, in submodule
>         V = self.span(gens, check=check,
> already_echelonized=already_echelonized)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 2461, in span
>         self.ambient_module(), gens, check=check,
> already_echelonized=already_echelonized)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 5446, in __init__
>         echelonize=True, already_echelonized=already_echelonized)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4553, in __init__
>         basis = self._echelonized_basis(ambient, basis)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4666, in _echelonized_basis
>         d = self._denominator(basis)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4774, 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:8071)
>       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/rings/polynomial/polynomial_singular_interface.py", line
> 196, in _singular_
>         return self._singular_init_(singular)
>       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 897, in ring
>         R = self('%s,%s,%s'%(char, vars, order), 'ring')
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 660, in __call__
>         return SingularElement(self, type, x, False)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 1109, in __init__
>         raise TypeError, x
>     TypeError: Unable to start singular because the command 'Singular -t
> --ticks-per-sec 1000' failed.
>
> **********************************************************************
> File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
> 2538:
>     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
> **********************************************************************
> File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
> 2681:
>     sage: W = M.submodule_with_basis([x*B[0], 2*B[0]- x*B[2]]); W
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1231, in
> run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File "/home/alex/sage-4.3.4/local/bin/sagedoctest.py", line 38, in
> run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1172, in
> run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_71[15]>", line 1, in <module>
>         W = M.submodule_with_basis([x*B[Integer(0)],
> Integer(2)*B[Integer(0)]- x*B[Integer(2)]]); W###line 2681:
>     sage: W = M.submodule_with_basis([x*B[0], 2*B[0]- x*B[2]]); W
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 2687, in submodule_with_basis
>         V = self.span_of_basis(basis=basis, check=check,
> already_echelonized=already_echelonized)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 2602, in span_of_basis
>         already_echelonized=already_echelonized)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4577, in __init__
>         w = self._echelonized_basis(ambient, basis)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4666, in _echelonized_basis
>         d = self._denominator(basis)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/modules/free_module.py", line 4774, 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:8071)
>       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/rings/polynomial/polynomial_singular_interface.py", line
> 196, in _singular_
>         return self._singular_init_(singular)
>       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 897, in ring
>         R = self('%s,%s,%s'%(char, vars, order), 'ring')
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 660, in __call__
>         return SingularElement(self, type, x, False)
>       File "/home/alex/sage-4.3.4/local/lib/python/site-
> packages/sage/interfaces/singular.py", line 1109, in __init__
>         raise TypeError, x
>     TypeError: Unable to start singular because the command 'Singular -t
> --ticks-per-sec 1000' failed.
>
> **********************************************************************
> 2 items had failures:
>    2 of  13 in __main__.example_69
>    1 of  16 in __main__.example_71
> ***Test Failed*** 3 failures.
> For whitespace errors, see the file
> /home/alex/.sage//tmp/.doctest_free_module.py
>          [13.0 s]
> }}}
>
> Minh Nguyen reports seeing the same error a Debian 5.0 machine
> (gcc100.fsffrance.org, AMD Opteron(tm) Processor 252 @ 2647.708 MHz).
> [http://wiki.sagemath.org/devel/BuildFarm/sage-4.5.3?action=AttachFile&do=get&target=gcc100.fsffrance.log.bz2
> Here] is the test log.

New description:

 Reported by Dan Drake on [http://groups.google.com/group/sage-
 devel/browse_thread/thread/23fd468a4d406389/56ad02c448380af9?#56ad02c448380af9
 sage-devel] and [http://groups.google.com/group/sage-
 release/browse_thread/thread/a865f2fa728335c0/2fbf4ba1859e76bb#2fbf4ba1859e76bb
 sage-release]:
 {{{
 Two builds of 4.3.4 are not doctesting properly for me; both are failing
 the doctest for free_module.py because Singular won't start. The
 failures always end with "TypeError: Unable to start singular because
 the command 'Singular -t --ticks-per-sec 1000' failed."

 This happens on two virtual machines: one running Ubuntu Hardy, the
 other running Ubuntu Lucid. I've tried rebuilding Singular, but it
 didn't work in either case. I tried a couple of the doctests manually,
 and they seemed to work, and I can start Singular using the above
 command with no troubles.

 I've built 4.3.4 on two different machines (not virtual machines) and
 everything works fine. I'm attaching a log of the failed doctest. Any
 ideas?
 }}}
 Tracebacks:
 {{{
 #!python
 sage -t  "devel/sage/sage/modules/free_module.py"
 **********************************************************************
 File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
 2533:
     sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
 Exception raised:
     Traceback (most recent call last):
       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1231, in
 run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/alex/sage-4.3.4/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1172, in
 run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_69[11]>", line 1, in <module>
         W = M.submodule([x*B[Integer(0)], Integer(2)*B[Integer(1)]-
 x*B[Integer(2)]]); W###line 2533:
     sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 2545, in submodule
         V = self.span(gens, check=check,
 already_echelonized=already_echelonized)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 2461, in span
         self.ambient_module(), gens, check=check,
 already_echelonized=already_echelonized)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 5446, in __init__
         echelonize=True, already_echelonized=already_echelonized)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4553, in __init__
         basis = self._echelonized_basis(ambient, basis)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4666, in _echelonized_basis
         d = self._denominator(basis)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4774, 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:8071)
       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/rings/polynomial/polynomial_singular_interface.py", line
 196, in _singular_
         return self._singular_init_(singular)
       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 897, in ring
         R = self('%s,%s,%s'%(char, vars, order), 'ring')
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 660, in __call__
         return SingularElement(self, type, x, False)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 1109, in __init__
         raise TypeError, x
     TypeError: Unable to start singular because the command 'Singular -t
 --ticks-per-sec 1000' failed.

 **********************************************************************
 File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
 2538:
     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
 **********************************************************************
 File "/home/alex/sage-4.3.4/devel/sage/sage/modules/free_module.py", line
 2681:
     sage: W = M.submodule_with_basis([x*B[0], 2*B[0]- x*B[2]]); W
 Exception raised:
     Traceback (most recent call last):
       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1231, in
 run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/alex/sage-4.3.4/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/alex/sage-4.3.4/local/bin/ncadoctest.py", line 1172, in
 run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_71[15]>", line 1, in <module>
         W = M.submodule_with_basis([x*B[Integer(0)],
 Integer(2)*B[Integer(0)]- x*B[Integer(2)]]); W###line 2681:
     sage: W = M.submodule_with_basis([x*B[0], 2*B[0]- x*B[2]]); W
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 2687, in submodule_with_basis
         V = self.span_of_basis(basis=basis, check=check,
 already_echelonized=already_echelonized)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 2602, in span_of_basis
         already_echelonized=already_echelonized)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4577, in __init__
         w = self._echelonized_basis(ambient, basis)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4666, in _echelonized_basis
         d = self._denominator(basis)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/modules/free_module.py", line 4774, 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:8071)
       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/rings/polynomial/polynomial_singular_interface.py", line
 196, in _singular_
         return self._singular_init_(singular)
       File "/home/alex/sage-4.3.4/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/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 897, in ring
         R = self('%s,%s,%s'%(char, vars, order), 'ring')
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 660, in __call__
         return SingularElement(self, type, x, False)
       File "/home/alex/sage-4.3.4/local/lib/python/site-
 packages/sage/interfaces/singular.py", line 1109, in __init__
         raise TypeError, x
     TypeError: Unable to start singular because the command 'Singular -t
 --ticks-per-sec 1000' failed.

 **********************************************************************
 2 items had failures:
    2 of  13 in __main__.example_69
    1 of  16 in __main__.example_71
 ***Test Failed*** 3 failures.
 For whitespace errors, see the file
 /home/alex/.sage//tmp/.doctest_free_module.py
          [13.0 s]
 }}}

 Minh Nguyen reports seeing the same error a Debian 5.0 machine
 (gcc100.fsffrance.org, AMD Opteron(tm) Processor 252 @ 2647.708 MHz) with
 a trial "final" 4.5.3 (essentially the same as 4.5.3.rc0).
 
[http://wiki.sagemath.org/devel/BuildFarm/sage-4.5.3?action=AttachFile&do=get&target=gcc100.fsffrance.log.bz2
 Here] is the test log.

--

Comment(by mpatel):

 I've just seen this error while testing the trial "final" 4.5.3 on t2:
 {{{
 #!python
 sage -t -long  devel/sage/sage/crypto/mq/sr.py
 **********************************************************************
 File "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/devel/sage-
 main/sage/crypto/mq/sr.py", line 118:
     sage: for V in I.variety():
        for k,v in sorted(V.iteritems()):
           print k,v
        print
 Exception raised:
     Traceback (most recent call last):
       File
 
"/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 
"/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 
"/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[20]>", line 1, in <module>
         for V in I.variety():###line 118:
     sage: for V in I.variety():
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 407,
 in __call__
         return self.f(self._instance, *args, **kwds)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line
 2092, in variety
         d = self.dimension()
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 407,
 in __call__
         return self.f(self._instance, *args, **kwds)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line
 1010, in dimension
         v = self._groebner_basis_singular_raw()
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line
 1175, in _groebner_basis_singular_raw
         S = self._singular_().groebner()
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 517,
 in _singular_
         self.ring()._singular_(singular).set_ring()
       File "sage_object.pyx", line 583, in
 sage.structure.sage_object.SageObject._singular_
 (sage/structure/sage_object.c:6315)
       File "sage_object.pyx", line 379, in
 sage.structure.sage_object.SageObject._interface_
 (sage/structure/sage_object.c:3374)
       File "pbori.pyx", line 1190, in
 sage.rings.polynomial.pbori.BooleanPolynomialRing._singular_init_
 (sage/rings/polynomial/pbori.cpp:10968)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/rings/quotient_ring.py", line 756, in _singular_init_
         self.__R._singular_().set_ring()
       File "multi_polynomial_libsingular.pyx", line 994, in
 
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular._singular_
 (sage/rings/polynomial/multi_polynomial_libsingular.cpp:9038)
       File "multi_polynomial_libsingular.pyx", line 1135, in
 
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular._singular_init_
 (sage/rings/polynomial/multi_polynomial_libsingular.cpp:9607)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/singular.py", line 890, in ring
         self.eval(s)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/singular.py", line 546, in eval
         s = Expect.eval(self, x, **kwds)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 983, in eval
         return '\n'.join([self._eval_line(L, **kwds) for L in
 code.split('\n') if L != ''])
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 634, in _eval_line
         return self._eval_line_using_file(line)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 621, in
 _eval_line_using_file
         s = self._eval_line(self._read_in_file_command(tmp_to_use),
 allow_use_file=False)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 637, in _eval_line
         self._start()
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/singular.py", line 375, in _start
         Expect._start(self, alt_message)
       File
 "/scratch/mpatel/tmp/bb/slave/t2_scratch/build/sage-4.5.3/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 458, in _start
         self.__name, cmd, self._install_hints())
     RuntimeError: Unable to start singular because the command 'Singular
 -t --ticks-per-sec 1000' failed.

 **********************************************************************
 1 items had failures:
    1 of  28 in __main__.example_0
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mpatel/.sage/tmp/.doctest_sr.py
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9865#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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-trac?hl=en.

Reply via email to