[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame2 test failure



Okay, here you go.

This is my freetype version and the command I used to get it:
evan@evan-desktop:~$ dpkg -l | grep freetype
ii  libfreetype6                               2.3.7-2ubuntu1.1                          FreeType 2 font engine, shared library files
ii  libfreetype6-dev                           2.3.7-2ubuntu1.1                          FreeType 2 font engine, development files

This is my Python version:
evan@evan-desktop:~$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17) 
[GCC 4.3.2] on linux2

This is my kernel version:
evan@evan-desktop:~$ uname -r
2.6.27-11-generic

Finally, this is my OS version (it's the 64 bit version):
evan@evan-desktop:~$ cat /etc/issue
Ubuntu 8.10 \n \l

I have no idea why it would be acting up. I don't have the knowledge to even hazard a guess. If you need any more info, just tell me what commands I need to run. Good luck!

On Mon, Jun 29, 2009 at 6:27 AM, Vicent Marti <tanoku@xxxxxxxxx> wrote:
Hello Evan,

I'm a tad puzzled as for what could be stopping FreeType from loading
and scaling the glyphs in your platform. Could you please share with
us the exact FreeType version installed, Python version and OS/Distro?

Thanks in advance,

Vicent Martí
http://www.bellverde.org



On Sat, Jun 27, 2009 at 10:17 PM, Evan Kroske<e.kroske@xxxxxxxxx> wrote:
> I just upgraded to the Pygame2 alpha 2 release, so I ran the tests to see if
> I had installed it properly. All the tests succeeded except for the Freetype
> font test. Here's the message it gave me:
>>
>> FAIL: test_pygame2_freetype_Font_get_metrics (__main__.FreeTypeFontTest)
>>
>> ----------------------------------------------------------------------
>>
>> Traceback (most recent call last):
>>
>>   File "freetype_font_test.py", line 110, in
>> test_pygame2_freetype_Font_get_metrics
>>
>>     self.assertEqual(f.get_metrics('ABCDabcd', ptsize=ptsize), test_data)
>>
>> AssertionError: [None, None, None, None, None, None, None, None] != [(0,
>> 12, 0, 16, 12), (1, 11, 0, 15, 12), (0, 12, 0, 15, 12), (1, 12, 0, 15, 12),
>> (1, 11, 0, 11, 12), (1, 11, 0, 16, 12), (1, 11, 0, 11, 12), (1, 11, 0, 16,
>> 12)]
>>
>> ----------------------------------------------------------------------
>>
>> Ran 5 tests in 0.004s
>>
>> FAILED (failures=1)
>>
>> Program exited with code 01.
>
> I tried to get a stack trace, but GDB told me that there was no stack. I'm
> running Ubuntu Intrepid Ibex 64 bit with Python 2.5.