Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272125 - dev-python/enable-3.1.0 does not work with python 2.6
Summary: dev-python/enable-3.1.0 does not work with python 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: https://mail.enthought.com/pipermail/...
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-06-01 18:38 UTC by thewtex
Modified: 2009-09-05 22:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thewtex 2009-06-01 18:38:41 UTC
At least dev-python/enable-3.1.0 and possibly other Enthought applications do not work with python 2.6.  They are supposed to work with python 2.5.

Reproducible: Always

Steps to Reproduce:
1.  Upgraded to python2.6
2.  Installed dev-python/chaco (which brings in dev-python/enable)
3.  Try running one of the chaco examples.

Actual Results:  
Does not draw anything on the screen, and gives a traceback like TypeError: in method 'GraphicsContextArray_move_to', argument 2 of type 'double'
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/enthought/enable/abstract_window.py", line 340, in _paint
    self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))
  File "/usr/lib64/python2.6/site-packages/enthought/enable/component.py", line 416, in draw
    self._draw(gc, view_bounds, mode)
  File "/usr/lib64/python2.6/site-packages/enthought/enable/component.py", line 728, in _draw
    self._dispatch_draw(layer, gc, view_bounds, mode)
  File "/usr/lib64/python2.6/site-packages/enthought/enable/container.py", line 310, in _dispatch_draw
    my_handler(gc, view_bounds, mode)
  File "/usr/lib64/python2.6/site-packages/enthought/enable/container.py", line 352, in _draw_container_underlay
    self._draw_underlay(gc, view_bounds, mode)
  File "/usr/lib64/python2.6/site-packages/enthought/enable/component.py", line 844, in _draw_underlay
    underlay.overlay(self, gc, view_bounds, mode)
  File "/usr/lib64/python2.6/site-packages/enthought/chaco/axis.py", line 204, in overlay
    self._draw_component(gc, view_bounds, mode, component)
  File "/usr/lib64/python2.6/site-packages/enthought/chaco/axis.py", line 241, in _draw_component
    self._draw_axis_line(gc, self._origin_point, self._end_axis_point)
  File "/usr/lib64/python2.6/site-packages/enthought/chaco/axis.py", line 291, in _draw_axis_line
    gc.move_to(*around(startpoint))
  File "/usr/lib64/python2.6/site-packages/enthought/kiva/agg/agg.py", line 864, in move_to
    def move_to(*args): return _agg.GraphicsContextArray_move_to(*args)
TypeError: in method 'GraphicsContextArray_move_to', argument 2 of type 'double'


Expected Results:  
Draw some pretty plots.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-05 22:32:13 UTC
This bug should be fixed in dev-python/enable-3.2.0.