#11519: Singular hiccups when identifying its version
-----------------------------------+----------------------------------------
Reporter: kedlaya | Owner: malb
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: commutative algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Kiran Kedlaya
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Example from Sage 4.7. Note that this only happens on the first call
during a session; subsequent calls return correctly.
{{{
sage: singular.version()
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
/home/kedlaya/<ipython console> in <module>()
/home/kedlaya/sage-complete/local/lib/python2.6/site-
packages/sage/interfaces/singular.pyc in version(self)
1033 EXAMPLES:
1034 """
-> 1035 return singular_version()
1036
1037 def _function_class(self):
/home/kedlaya/sage-complete/local/lib/python2.6/site-
packages/sage/interfaces/singular.pyc in singular_version()
1931 EXAMPLES:
1932 """
-> 1933 return singular.eval('system("--version");')
1934
1935
/home/kedlaya/sage-complete/local/lib/python2.6/site-
packages/sage/interfaces/singular.pyc in eval(self, x, allow_semicolon,
strip, **kwds)
548
549 if s.find("error") != -1 or s.find("Segment fault") != -1:
--> 550 raise RuntimeError, 'Singular error:\n%s'%s
551
552 if get_verbose() > 0:
RuntimeError: Singular error:
? cannot open `help.cnf`
Singular for x86_64-Linux version 3-1-1 (3114-2011052318) May 23 2011
18:59:10
with
factory(@(#) factoryVersion = 3.1.1),libfac(3.1.1,Feb 2010),
GMP(4.2),NTL(5.4.2),64bit,static readline,Plural,DBM,
dynamic modules,dynamic
p_Procs,OM_CHECK=0,OM_TRACK=0,random=1308341733
CC= gcc -O2 -g -fPIC -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux
-DHAVE_CONFIG_H,
CXX= g++ -O2 -g -fPIC -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux
-DHAVE_CONFIG_H (4.4.3)
argv[0] : Singular-3-1-1
SearchPath: /home/kedlaya/sage-
complete/local/share/singular:/home/kedlaya/sage-complete/local/LIB
Singular : /home/kedlaya/sage-complete/local/bin/Singular
BinDir : /home/kedlaya/sage-complete/local/bin
RootDir : /home/kedlaya/sage-complete/local
DefaultDir:
InfoFile :
IdxFile :
HtmlDir :
ManualUrl : http://www.singular.uni-kl.de/Manual/3-1-1
ExDir :
Path : /home/kedlaya/sage-complete/local/bin:/home/kedlaya/sage-
complete:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
EmacsDir :
Available HelpBrowsers: dummy, emacs,
Current HelpBrowser: dummy
? error occurred in or before STDIN line 25: `system("--version");`
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11519>
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.