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 13:51:39 +0200
User-agent: KMail/1.6.1

On Thursday 27 May 2004 13:25, Dominique Buenzli wrote:
> Hello Sebastian !
> Thanks for your help.
>
> >
> > 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 !
Good
>
> 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
Have you bootstrapped your own db succesfully ? If not or unsure please
try the public db on hherb.com

db : gnumed
host: hherb.com
username: any-doc
pw: any-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]
this is the file we need. Please provide us with this file since it contains 
much more detail than the console output. Have a look at it yourself.
> 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
this we need to trace
> [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>
looks like it expects a sizer object as it should but does not find one.
> 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)
I fail to see what this line does. Accorrding to the docs:

void Add(int width, int height, int option = 0, int flag = 0, int border = 0, 
wxObject* userData = NULL)

So your port seems to expect 
((1, 3), 0, wxEXPAND)
instead of 
(1, 3, 0, wxEXPAND)

Please uncomment /delete the line 
as in 
# self.szr_stacked_rows.Add(1, 3, 0, wxEXPAND)        # ??? (IMHO: space is at 
too much of a premium for such padding)

or
--

try adding ( ) 

and try again.

>    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$

-- 
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]