#14042: Failure in "R --version" test in sage/misc/interpreter.py
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: jason
Type: defect | Status: new
Priority: blocker | Milestone: sage-5.7
Component: misc | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
------------------------+---------------------------------------------------
This happens on some OS X installations:
{{{
sage -t --long -force_lib devel/sage/sage/misc/interpreter.py
dyld: Library not loaded:
/Users/buildbot/sage-5.2/local/lib/libreadline.6.2.dylib
Referenced from:
/Users/buildbot/build/sage/bsd-1/bsd_upgrade_5.2/build/sage-5.7.beta2/local/lib/R//lib/libR.dylib
Reason: image not found
sh: line 1: 13937 Trace/BPT trap R --version
**********************************************************************
File
"/Users/buildbot/build/sage/bsd-1/bsd_upgrade_5.2/build/sage-5.7.beta2/devel
/sage-main/sage/misc/interpreter.py", line 189:
sage: os.WIFEXITED(status) and os.WEXITSTATUS(status) == 0
Expected:
True
Got:
False
**********************************************************************
}}}
The problem is that `split()` doesn't do what was intented:
{{{
sage: cmd="R --version"
sage: cmd.split(' |\n\t;&',1)
['R --version']
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14042>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.