your system neither contains the fonts sans or freesans amazingly
or at least the sysfont module doesnt know about the path your fonts are in 

On Thursday 01 June 2006 23:20, Pgugged wrote:
> Hi, i've just compiled soya from SVN, and it trows an exception when trying
> to init pudding
>
> >>> import soya.pudding
> >>> soya.pudding.init()
>
> * Soya Pudding * Version: 0.1-0
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/soya/pudding/__init__.py", line
> 67, in init
>     STYLE = style or Style()
>   File "/usr/lib/python2.4/site-packages/soya/pudding/style.py", line 24,
> in __init__
>     self.default_font = soya.Font(soya.pudding.sysfont.SysFont('sans,
> freesans'), 15, 15 )
>   File "text.pyx", line 59, in _soya.Font.__init__
>   File "/usr/lib/python2.4/posixpath.py", line 171, in exists
>     st = os.stat(path)
> TypeError: coercing to Unicode: need string or buffer, NoneType found
>
> is it a bug or something?

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to