#14171: gap_reset_workspace can fail if directory is missing
---------------------------------+------------------------------------------
Reporter: vbraun | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.8
Component: optional packages | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
---------------------------------+------------------------------------------
As reported on sage-devel (https://groups.google.com/d/topic/sage-devel
/K1ytSY-3Uro/discussion)
I tried "./sage -i database_gap" but it died with an error:
{{{
Installed tomlib database.
Traceback (most recent call last):
File "/.../sage-5.7/local/bin/sage-eval", line 14, in <module>
eval(compile(s,'<cmdline>','exec'))
File "<cmdline>", line 1, in <module>
File "/.../sage-5.7/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 1465, in gap_reset_workspace
for F in os.listdir(GAP_DIR):
OSError: [Errno 2] No such file or directory: '/home/NewUser/.sage/gap'
(...)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14171>
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.