type mismatch causes chaco examples to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-chaco (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
python-enable (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-enable
Running the chaco examples, such as /usr/share/
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self._draw(gc, view_bounds, mode)
File "/usr/lib/
self.
File "/usr/lib/
component.
File "/usr/lib/
handler(gc, view_bounds, mode)
File "/usr/lib/
underlay.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
gc.
File "/usr/lib/
def move_to(*args): return _agg.GraphicsCo
TypeError: in method 'GraphicsContex
According to some other bug reports I found, this is due to a bug in code generated by swig, and some confusion between C 'float' and 'double' types. It shows up when python-enable is built under python2.6.
Here is the upstream bug report:
https:/
That report suggests a work-around by editing /usr/lib/
Changed in python-enable (Ubuntu): | |
status: | New → Confirmed |
Changed in ezvisage: | |
status: | Unknown → New |
Changed in ezvisage: | |
status: | New → Fix Released |
Almost all Chaco examples that open a window show the same type of error.
Further indication of this effect can be found on the enthought-dev mailing list:
https:/ /mail.enthought .com/pipermail/ enthought- dev/2009- January/ 019549. html /mail.enthought .com/pipermail/ enthought- dev/2009- June/021965. html
https:/