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: Sebastian Hilbert
Subject: Re: [Gnumed-devel] installation problems Mac OS X
Date: Thu, 27 May 2004 11:52:39 +0200
User-agent: KMail/1.6.1

snip

> [PANIC] (wxpython/gnumed.py::Main:319): TypeError: 'faceName' is an
> invalid keyword argument for this function<#10-0x0A-lf>
> Traceback (most recent call last):
>    File "wxpython/gnumed.py", line 315, in ?
>      gmGuiMain.main()
>    File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line
> 753, in main
>      app = gmApp(0)
>    File "//Library/Python/2.3/wx/core.py", line 5042, in __init__
>      self._BootstrapApp()
>    File "//Library/Python/2.3/wx/core.py", line 4791, in _BootstrapApp
>      return _core.PyApp__BootstrapApp(*args, **kwargs)
>    File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line
> 581, in OnInit
>      self.__backend = gmLogin.Login()
>    File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLogin.py", line
> 32, in Login
>      dlg = gmLoginDialog.LoginDialog(None, -1)
>    File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLoginDialog.py",
> line 361, in __init__
>      self.panel = LoginPanel(self, -1, isDialog=1)
>    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.

> Dominique
>
>
>
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnumed-devel

-- 
Sebastian Hilbert 
Leipzig / Germany
[www.openmed.org] -> PGP welcome, HTML ->/dev/null
ICQ: 86 07 67 86   -> No files, no URL's
My OS: Suse Linux. Geek by Nature, Linux by Choice

Unterstützen Sie die Entwicklung von Gnumed durch Ihren
        Internet - Einkauf unter der Adresse:
http://profiseller.de/shop1/index.php3?ps_id=P1658133




reply via email to

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