Hi

I do not get this error on a PPA install. Do you get this?

sage: %config DisplayFormatter
DisplayFormatter options
----------------------
DisplayFormatter.active_types=<List>
    Current: [u'text/plain']
    List of currently active mime-types to display. You can use this to set
a
    white-list for formats to display.
    Most users will not need to change this value.
DisplayFormatter.plain_text_only=<Bool>
    Current: False
sage:

Regards,
Jan



On 13 March 2015 at 03:46, patrick bobbitt <[email protected]>
wrote:

> I've installed the binaries for Ubuntu 14.04 using the PPA:
>
> apt-add-repository -y ppa:aims/sagemath
> apt-get update
> apt-get install sagemath-upstream-binary
>
> When I follow the basic tutorial for making plots I get an error (ANY help
> would be appreciated... similar errors barf out with just about any sort of
> plot):
>
> sage: circle((0,0), 1, rgbcolor=(1,1,0))
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/formatters.py:239:
> FormatterWarning: Exception in text/plain formatter: unexpected unindent
> (parser.py, line 670)
>   FormatterWarning,
> ---------------------------------------------------------------------------
> KeyError                                  Traceback (most recent call last)
> <ipython-input-1-0176f8791dbc> in <module>()
> ----> 1 circle((Integer(0),Integer(0)), Integer(1),
> rgbcolor=(Integer(1),Integer(1),Integer(0)))
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc
> in __call__(self, result)
>     251             self.write_output_prompt()
>     252             format_dict, md_dict = self.compute_format_data(result)
> --> 253             self.write_format_data(format_dict, md_dict)
>     254             self.update_user_ns(result)
>     255             self.log_output(format_dict)
>
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc
> in write_format_data(self, format_dict, md_dict)
>     172         # newline, even if all the prompt separators are ''. This
> is the
>     173         # standard IPython behavior.
> --> 174         result_repr = format_dict['text/plain']
>     175         if '\n' in result_repr:
>     176             # So that multi-line strings line up with the left
> column of
>
> KeyError: 'text/plain'
>
>  --
> You received this message because you are subscribed to the Google Groups
> "sage-support" 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-support.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to