I manage to make it a step further. I think the error was that I was typing "pythonw gm-from-cvs-macosx.sh" instead of sh gm-from-cvs-macosx.sh (stupid !!)
The errors obtained when using the "python check-prerequisites.py" script were because in Mac OS X "DISPLAY" does not exist.
if I enter "export DISPLAY=:0" in the Terminal, then the "check-prerequisites.py" works without errors at all.
Anyway there are still some problems...
Strangely if I type:
sh /Users/gnumed/gnumed/gnumed/client/gm-from-cvs-macosx.sh
I obtain this
Gnumed/client -> client
/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python: can't open file 'wxpython/gnumed.py'
BUT if I cd to gnumed/gnumed/client, it works a bit further but still not to the end :-(
~/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
[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: Cannot create a consistent method resolution
order (MRO) for bases Dialog, LoginDialog
[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 580, in OnInit<#10-0x0A-lf> from Gnumed.wxpython import gmLogin<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLogin.py", line 16, in ?<#10-0x0A-lf> from Gnumed.wxpython import gmLoginDialog<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py::Main:319): File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLoginDialog.py", line 372, in ?<#10-0x0A-lf> class OptionWindow(wxDialog, LoginDialog):<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py::Main:319): TypeError: Cannot create a consistent method resolution<#10-0x0A-lf>order (MRO) for bases Dialog, LoginDialog<#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 580, in OnInit
from Gnumed.wxpython import gmLogin
File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLogin.py", line 16, in ?
from Gnumed.wxpython import gmLoginDialog
File "/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmLoginDialog.py", line 372, in ?
class OptionWindow(wxDialog, LoginDialog):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Dialog, LoginDialog