#18057: Cython interface to libhomfly
-------------------------------------+-------------------------------------
       Reporter:  mmarco             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.3
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:  days74             |    Reviewers:  Jeroen Demeyer,
        Authors:  Miguel Marco       |  Travis Scrimshaw
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/tscrim/libhomfly_cython_interface-18057|  
eeda42566c0e90abe38ee9f7669516a647079c68
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):

 * status:  needs_review => needs_work


Comment:

 When `libhomfly` is not installed:
 {{{
 sage -t src/sage/libs/homfly.pyx
 **********************************************************************
 File "src/sage/libs/homfly.pyx", line 65, in
 sage.libs.homfly.homfly_polynomial_string
 Failed example:
     from sage.libs.homfly import homfly_polynomial_string
 Exception raised:
     Traceback (most recent call last):
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 498, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 861, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.libs.homfly.homfly_polynomial_string[0]>", line
 1, in <module>
         from sage.libs.homfly import homfly_polynomial_string
     ImportError: No module named homfly
 **********************************************************************
 File "src/sage/libs/homfly.pyx", line 91, in
 sage.libs.homfly.homfly_polynomial_dict
 Failed example:
     from sage.libs.homfly import homfly_polynomial_dict
 Exception raised:
     Traceback (most recent call last):
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 498, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 861, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.libs.homfly.homfly_polynomial_dict[0]>", line 1,
 in <module>
         from sage.libs.homfly import homfly_polynomial_dict
     ImportError: No module named homfly
 **********************************************************************
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18057#comment:17>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to