Hi!

I get the following bug with
sage: version()
'SageMath version 7.3, Release Date: 2016-08-04'

Any idea what the problem might be? I installed jmol with sage -f jmol
and do have java installed.

Thank you!

Anne


sage: RootSystem(['A',3]).ambient_space().plot()
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-5-13d7f28d2794> in <module>()
----> 1 RootSystem(['A',Integer(3)]).ambient_space().plot()

/Applications/sage/local/lib/python2.7/site-packages/IPython/core/displayhook.py
 
in __call__(self, result)
    244             self.start_displayhook()
    245             self.write_output_prompt()
--> 246             format_dict, md_dict = self.compute_format_data(result)
    247             self.update_user_ns(result)
    248             self.fill_exec_result(result)

/Applications/sage/local/lib/python2.7/site-packages/IPython/core/displayhook.py
 
in compute_format_data(self, result)
    150 
    151         """
--> 152         return self.shell.display_formatter.format(result)
    153 
    154     def write_format_data(self, format_dict, md_dict=None):

/Applications/sage/local/lib/python2.7/site-packages/sage/repl/display/formatter.py
 
in format(self, obj, include, exclude)
    148         # First, use Sage rich output if there is any
    149         PLAIN_TEXT = u'text/plain'
--> 150         sage_format, sage_metadata = self.dm.displayhook(obj)
    151         assert PLAIN_TEXT in sage_format, 'plain text is always 
present'
    152         if sage_format.keys() != [PLAIN_TEXT]:

/Applications/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py
 
in displayhook(self, obj)
    764         self._backend.set_underscore_variable(obj)
    765         plain_text, rich_output = self._rich_output_formatter(obj, 
dict())
--> 766         return self._backend.displayhook(plain_text, rich_output)
    767 
    768     def display_immediately(self, obj, **rich_repr_kwds):

/Applications/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_ipython.py
 
in displayhook(self, plain_text, rich_output)
    264             return ({u'text/plain': msg}, {})
    265         elif isinstance(rich_output, OutputSceneJmol):
--> 266             msg = self.launch_jmol(rich_output, 
plain_text.text.get_unicode())
    267             return ({u'text/plain': msg}, {})
    268         elif isinstance(rich_output, OutputSceneWavefront):

/Applications/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_ipython.py
 
in launch_jmol(self, output_jmol, plain_text)
    363         jdata = JmolData()
    364         if not jdata.is_jvm_available() and not DOCTEST_MODE:
--> 365             raise RuntimeError('jmol cannot run, no suitable java 
version found')
    366         launch_script = output_jmol.launch_script_filename()
    367         from sage.env import SAGE_LOCAL

RuntimeError: jmol cannot run, no suitable java version found

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to