#19622: Better error message when "bliss" is not installed
------------------------------+----------------------------------
   Reporter:  jdemeyer        |            Owner:
       Type:  defect          |           Status:  new
   Priority:  minor           |        Milestone:  sage-6.10
  Component:  user interface  |         Keywords:
  Merged in:                  |          Authors:  Jeroen Demeyer
  Reviewers:                  |  Report Upstream:  N/A
Work issues:                  |           Branch:
     Commit:                  |     Dependencies:
   Stopgaps:                  |
------------------------------+----------------------------------
 How to install `bliss`?

 {{{
 sage: G = graphs.PetersenGraph()
 sage: G.automorphism_group(algorithm='bliss')
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)
 <ipython-input-2-8e034558a836> in <module>()
 ----> 1 G.automorphism_group(algorithm='bliss')

 /usr/local/src/sage-config/local/lib/python2.7/site-
 packages/sage/graphs/generic_graph.pyc in automorphism_group(self,
 partition, verbosity, edge_labels, order, return_group, orbits, algorithm)
   20074                 from sage.graphs.bliss import automorphism_group
   20075             except ImportError:
 > 20076                 raise ImportError("You must install the 'bliss'
 package to run this command.")
   20077
   20078             A = automorphism_group(self, partition)

 ImportError: You must install the 'bliss' package to run this command.
 }}}

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

Reply via email to