gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] installation problems Mac OS X


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] installation problems Mac OS X
Date: Fri, 28 May 2004 14:46:53 +0200
User-agent: Mutt/1.3.22.1i

> snip
> 
> >    File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLoginDialog.py",
> > line 98, in __init__
> >      faceName = ''
> >    File "//Library/Python/2.3/wx/gdi.py", line 1524, in __init__
> >      newobj = _gdi.new_Font(*args, **kwargs)
> > TypeError: 'faceName' is an invalid keyword argument for this function
> >
> Hmm, I don't want to interrupt Karsten's debugging session but as far as I 
> can 
> tell faceName is a keyword for wxFont() on line 98 in gmLoginDialog.
> 
> Since it's has no value ( or empty value) try removing line 98 plus the 
> trailing comma on line 97
> 
> Here is what the docs say.
> faceName
> 
> An optional string specifying the actual typeface to be used. If the empty 
> string, a default typeface will chosen based on the family.
> 
> Maybe faceName has not been implemented in your port of wxWindows.
Precisely what I would think !  :-)

I cannot imagine that a default typeface will NOT be chosen if
the argument isn't there at all. So I removed it...

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]