[Python-modules-team] Bug#477953: Bug#477953: python-enthought-chaco2: Example fails to run

Varun Hiremath varunhiremath at gmail.com
Thu May 1 06:48:44 UTC 2008


Hi Y. Wei,

On Fri, 25 Apr, 2008 at 02:54:59PM -0700, Y. Wei wrote:
> Package: python-enthought-chaco2
> Version: 2.0.4-2
> Severity: normal
> 
> 
> One example in the examples/chaco2 fails to run and complains about font
> initialization. I am actually running python2.5 as the default python but
> reportbug list python2.4.
> 
> ~$ python scales_test.py
> Traceback (most recent call last):
[...]
>   File "/usr/lib/python2.5/site-packages/enthought/chaco2/scales_tick_generator.py", line 34, in get_ticks_and_labels
>     charsize = metrics.get_full_text_extent(test_str)[0] / len(test_str)
>   File "/usr/lib/python2.5/site-packages/enthought/kiva/agg/agg.py", line 744, in get_full_text_extent
>     leading, descent, w, h = self.get_text_extent(text)
>   File "/usr/lib/python2.5/site-packages/enthought/kiva/agg/agg.py", line 728, in get_text_extent
>     raise RuntimeError, "Font not loaded/initialized."
> RuntimeError: Font not loaded/initialized.

I could reproduce this bug, so I forwarded it upstream:
https://mail.enthought.com/pipermail/enthought-dev/2008-April/014270.html

But, it seems there is no easy fix for this bug, and upstream is
planning to remove this example. So, mostly it will be removed from
the Debian package also in the next version.

Regards,
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org





More information about the Python-modules-team mailing list