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: Dominique Buenzli
Subject: Re: [Gnumed-devel] installation problems Mac OS X
Date: Thu, 27 May 2004 13:25:56 +0200

Hello Sebastian !
Thanks for your help.


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.

Yep that did the trick !! BRAVO !

At least to the login window. But then.... it started again as I tried to login.
I entered everything as mentionned in the manual:

Click Options, and select from the pop-ups database - gnumed host - localhost port - 5432 OK Log in to gnumed using username test-doc, password test-doc

But when I click on ok to login it quit inexpectly.

~/gnumed/gnumed/client gnumed$ sh gm-from-cvs-macosx.sh
Gnumed -> client
log file is [/Users/gnumed/gnumed/gnumed/client/gm-from-cvs-macosx.log]
Activating verbose log level for debugging.
Determining GnuMed base directory ...
- environment variable GNUMED_DIR not set
  (only necessary if nothing else works, though)
- standard path [/usr/share/gnumed/] not accessible
- seems like we are running from an arbitrary
  directory (like a CVS tree or on Windows)
Determining GnuMed resource directory ...
- standard resource path [/usr/share/gnumed/] not accessible
- seems like we are running from an arbitrary
  directory (like a CVS tree or on Windows)
WARNING: option <client encoding> not set in config file
You should name this workplace to better identify the machine !
To do this set the option "name" in the group [workplace] in the config file ! [PANIC] (wxpython/gnumed.py::Main:319): Exception: Unhandled exception encountered. [PANIC] (wxpython/gnumed.py::Main:319): exception type : exceptions.TypeError [PANIC] (wxpython/gnumed.py::Main:319): exception value: wxWindow, wxSizer, wxSize, or (w,h) expected for item [PANIC] (wxpython/gnumed.py::Main:319): Traceback (most recent call last):<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "wxpython/gnumed.py", line 315, in ?<#10-0x0A-lf> gmGuiMain.main()<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 753, in main<#10-0x0A-lf> app = gmApp(0)<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "//Library/Python/2.3/wx/core.py", line 5042, in __init__<#10-0x0A-lf> self._BootstrapApp()<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "//Library/Python/2.3/wx/core.py", line 4791, in _BootstrapApp<#10-0x0A-lf> return _core.PyApp__BootstrapApp(*args, **kwargs)<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 606, in OnInit<#10-0x0A-lf> frame = gmTopLevelFrame(None, -1, _('GnuMed client'), (640,440))<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 139, in __init__<#10-0x0A-lf> self.top_panel = gmTopPanel.cMainTopPanel(self, -1)<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmTopPanel.py", line 45, in __init__<#10-0x0A-lf> self.__do_layout()<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmTopPanel.py", line 148, in __do_layout<#10-0x0A-lf> self.szr_stacked_rows.Add(1, 3, 0, wxEXPAND)<#9-0x09-ht># ??? (IMHO: space is at too much of a premium for such padding)<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): File "//Library/Python/2.3/wx/core.py", line 8242, in Add<#10-0x0A-lf> return _core.Sizer_Add(*args, **kwargs)<#10-0x0A-lf> [PANIC] (wxpython/gnumed.py::Main:319): TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item<#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 606, in OnInit
    frame = gmTopLevelFrame(None, -1, _('GnuMed client'), (640,440))
File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 139, in __init__
    self.top_panel = gmTopPanel.cMainTopPanel(self, -1)
File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmTopPanel.py", line 45, in __init__
    self.__do_layout()
File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmTopPanel.py", line 148, in __do_layout self.szr_stacked_rows.Add(1, 3, 0, wxEXPAND) # ??? (IMHO: space is at too much of a premium for such padding)
  File "//Library/Python/2.3/wx/core.py", line 8242, in Add
    return _core.Sizer_Add(*args, **kwargs)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item
~/gnumed/gnumed/client gnumed$





reply via email to

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