#17254: Upgrade to Singular-4-0-1
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  3a512cd7e08e21a4a4e66bfe9179290601717ba0
  u/jakobkroeker/ticket.17254.squashed|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by john_perry):

 Well, this is bad.
 {{{
 sage: R=PolynomialRing(GF(32003),'x',7)
 sage: I = sage.rings.ideal.Cyclic(R,7).homogenize()
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)
 <ipython-input-2-59ae6a3e91c7> in <module>()
 ----> 1 I = sage.rings.ideal.Cyclic(R,Integer(7)).homogenize()

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/rings/ideal.pyc in Cyclic(R, n, homog, singular)
    1607         n = R.ngens()
    1608
 -> 1609     singular.lib("poly")
    1610     R2 = R.change_ring(RationalField())
    1611     R2._singular_().set_ring()

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/singular.pyc in lib(self, lib, reload)
     783         if not reload and lib in self.__libs:
     784             return
 --> 785         self.eval('LIB "%s"'%lib)
     786         self.__libs.append(lib)
     787

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/singular.pyc in eval(self, x, allow_semicolon,
 strip, **kwds)
     585             x += ';'
     586
 --> 587         s = Expect.eval(self, x, **kwds)
     588
     589         if s.find("error") != -1 or s.find("Segment fault") != -1:

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/expect.pyc in eval(self, code, strip,
 synchronize, locals, allow_use_file, split_lines, **kwds)
    1220                 elif split_lines:
    1221                     return '\n'.join([self._eval_line(L,
 allow_use_file=allow_use_file, **kwds)
 -> 1222                                         for L in code.split('\n')
 if L != ''])
    1223                 else:
    1224                     return self._eval_line(code,
 allow_use_file=allow_use_file, **kwds)

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/expect.pyc in _eval_line(self, line,
 allow_use_file, wait_for_prompt, restart_if_needed)
     817         try:
     818             if self._expect is None:
 --> 819                 self._start()
     820             E = self._expect
     821             try:

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/singular.pyc in _start(self, alt_message)
     410         """
     411         self.__libs = []
 --> 412         Expect._start(self, alt_message)
     413         # Load some standard libraries.
     414         self.lib('general')   # assumed loaded by
 misc/constants.py

 /Applications/sage-6.7/local/lib/python2.7/site-
 packages/sage/interfaces/expect.pyc in _start(self, alt_message,
 block_during_init)
     427                 # Change pexpect errors to RuntimeError
     428                 raise RuntimeError("unable to start %s because the
 command %r failed: %s\n%s" %
 --> 429                         (self.name(), cmd, e,
 self._install_hints()))
     430         except BaseException:
     431             self._expect = None

 RuntimeError: unable to start singular because the command 'Singular -t
 --ticks-per-sec 1000' failed: The command was not found or was not
 executable: Singular.
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17254#comment:50>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to