#14483: Helpful message if GAP fails to load a package
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: jdemeyer
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.10
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Dmitrii Pasechnik
Authors: Nathann Cohen | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Changes (by jferreira):
* status: needs_review => needs_work
Comment:
{{{
sage -t devel/sage/sage/groups/perm_gps/permgroup.py
**********************************************************************
File "/Applications/sage/devel/sage/sage/groups/perm_gps/permgroup.py",
line 152:
sage: sage.groups.perm_gps.permgroup.load_hap()
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/bin/ncadoctest.py", line 1231, in
run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Applications/sage/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Applications/sage/local/bin/ncadoctest.py", line 1172, in
run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_1[2]>", line 1, in <module>
sage.groups.perm_gps.permgroup.load_hap()###line 152:
sage: sage.groups.perm_gps.permgroup.load_hap()
File "/Applications/sage/local/lib/python/site-
packages/sage/groups/perm_gps/permgroup.py", line 157, in load_hap
gap.load_package("hap")
File "/Applications/sage/local/lib/python/site-
packages/sage/interfaces/gap.py", line 511, in load_package
raise RuntimeError('Error loading Gap package %s'%pkg)
RuntimeError: Error loading Gap package hap
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14483#comment:18>
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.