← Back to team overview

aesthete-team team mailing list archive

Plot failure

 

Hi all,

When I try to plot x^2 (using Plot x^2 in Glypher) I get the following, and no graph appears:

Loaded style : Petrel
Loaded style : Kea
Loaded style : Pukeko Chick (3x2 lines)
Loaded style : Pukeko
<Element families at 0x63e9780>
equality_family
<Element families at 0x63e9af0>
equality_family
<Element families at 0x63e9d70>
space_family
WARNING : Could not parse PG '/usr/share/aesthete/defs/order.txt', continuing without: Start tag expected, '<' not found, line 1, column 1 {0: 'best', 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right', 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center', 9: 'upper center', 10: 'center'}
Traceback (most recent call last):
  File "/usr/bin/aesthete_ime", line 126, in plot_source
    glancer.source_action(aname)
File "/usr/lib64/python2.7/site-packages/aesthete/glancer/Glancer.py", line 347, in <lambda>
    self.load_series(get_object_from_dictionary(s))
File "/usr/lib64/python2.7/site-packages/aesthete/glancer/Glancer.py", line 358, in load_series
    self.new_plotter("2D Plot", GlancerPlot)
File "/usr/lib64/python2.7/site-packages/aesthete/glancer/Glancer.py", line 387, in new_plotter self.plotter = plotter(self.fig, queue_draw=self.queue_draw, env=self.get_aenv()) File "/usr/lib64/python2.7/site-packages/aesthete/glancer/Plot.py", line 296, in __init__
    GlancerPlotLike.__init__(self, "GlancerPlot", fig, queue_draw, env=env)
File "/usr/lib64/python2.7/site-packages/aesthete/glancer/Plot.py", line 226, in __init__
    AObject.__init__(self, aname_root, env, view_object=False)
File "/usr/lib64/python2.7/site-packages/aobject/aobject.py", line 941, in __init__
    self.init_properties(property_manager)
File "/usr/lib64/python2.7/site-packages/aobject/aobject.py", line 980, in init_properties
    self.append_properties()
File "/usr/lib64/python2.7/site-packages/aobject/aobject.py", line 1595, in append_properties
    pref==val])
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1207, in append
    return self._do_insert(parent, -1, row)
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1199, in _do_insert
    row, columns = self._convert_row(row)
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 831, in _convert_row
    result.append(self._convert_value(cur_col, value))
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 883, in _convert_value raise ValueError('Expected a bool for column %i but got %s' % (column, type(value)))
ValueError: Expected a bool for column 6 but got <type 'numpy.bool_'>
<space_array type="space_array" lhs="pos0" num_ops="2"><mes><me name="entity"/><me name="phrase"/><me name="phrasegroup"/><me name="binary_expression"/><me name="space_array"/></mes><characteristics><ch name="_bodmasable"/><ch name="_bodmasable"/></characteristics><inherited_properties><ip name="font_size" value="52.5" type="float"/><ip name="bold" value="False" type="bool"/><ip name="font_size_coeff" value="1.0" type="float"/><ip name="rgb_colour" type="tuple"><ti value="0.0" type="float"/><ti value="0.0" type="float"/><ti value="0.0" type="float"/></ip><ip name="font_size_combined_coeff" value="1.0" type="float"/></inherited_properties><properties><property name="highlight_group" value="False" type="bool"/><property name="name" value="space_array" type="str"/><property name="enterable" value="False" type="bool"/><property name="phraser" value="expression" type="str"/><property name="absorb" value="False" type="bool"/><property name="gravity" value="True" type="bool"/><property name="allow_unary" value="True" type="bool"/><property name="deletable" value="False" type="bool"/><property name="symbol_shape" value=" " type="unicode"/><property name="variable_ops" value="True" type="bool"/><property name="associative" value="True" type="bool"/><property name="op_count" value="2" type="int"/></properties><targets><target type="target_phrase" name="pos2"><properties><property name="name" value="pos2" type="str"/><property name="deletable" value="2" type="int"/></properties><entities><phrase_128679448 type="interactive_script" available="False,False,True,False"><properties><property name="highlight_group" value="True" type="bool"/><property name="name" value="phrase_128679448" type="str"/><property name="enterable" value="False" type="bool"/><property name="phraser" value="expression" type="str"/><property name="pow_mode" value="True" type="bool"/><property name="diff_mode" value="False" type="bool"/></properties><targets><target type="target_phrase" name="site2"><properties><property name="name" value="site2" type="str"/><property name="deletable" value="2" type="int"/></properties><entities><entity_128682392 type="word" shape="2" ink="False"><properties><property name="name" value="entity_128682392" type="str"/></properties></entity_128682392></entities></target><target type="target_phrase" name="expression"><properties><property name="name" value="expression" type="str"/><property name="deletable" value="2" type="int"/></properties><entities><entity_128678872 type="word" shape="x" ink="False"><properties><property name="name" value="entity_128678872" type="str"/><property name="italic" value="True" type="bool"/></properties></entity_128678872></entities></target></targets></phrase_128679448></entities></target><target type="target_phrase" name="pos0"><properties><property name="name" value="pos0" type="str"/><property name="deletable" value="2" type="int"/></properties><entities><entity_128664352 type="word" shape="Plot" ink="False"><properties><property name="name" value="entity_128664352" type="str"/></properties></entity_128664352></entities></target></targets></space_array>
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
File "/usr/lib64/python2.7/site-packages/matplotlib/_pylab_helpers.py", line 87, in destroy_all
    manager.destroy()
File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk3.py", line 418, in destroy
    self.canvas.destroy()
AttributeError: FigureManagerGTK3Cairo instance has no attribute 'canvas'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
File "/usr/lib64/python2.7/site-packages/matplotlib/_pylab_helpers.py", line 87, in destroy_all
    manager.destroy()
File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk3.py", line 418, in destroy
    self.canvas.destroy()
AttributeError: FigureManagerGTK3Cairo instance has no attribute 'canvas'

Cheers,
Chris.


Follow ups