On Sunday 20 May 2007 15:04, you wrote: > On 19/05/2007, at 7:43 AM, Sebastian Hilbert wrote: > > I believe it runs out of the box. Please test. The log file can be > > found at > > /Users/foo/Library/Logs > > > > If everything works well a GNUmed icon should pop up in the doc, > > disappear, > > and after a few second a python icon appears and the login screen > > comes up. > > > > If it doesn't work please mail me the log file. One might need to > > install a > > newer version of python. I believe python 2.3 is shipped and 2.4 is > > needed. > > Hi Sebastian, > > Using Tiger 10.4.9 and GNUmed-0.2.6.dmg out of the box on Intel MacBook > > GnumedLauncher - quits > > > | Unhandled exception caught ! > > | Type : exceptions.ImportError > > | Value: No module named decimal
Tony relay. You reproduced a bug I had and did expect. > > remove 'import decimal' from gmCfg.py by changing > > > import os.path, fileinput, string, sys, shutil, types, cPickle, > > decimal > > to > > > import os.path, fileinput, string, sys, shutil, types, cPickle > > > > > > GNUmed startup: Cannot import wxPython library. > > GNUmed startup: Make sure wxPython is installed. > > CRITICAL ERROR: Error importing wxPython. Halted. > > check Python version => > > > tony-lembkes-computer:~ tlembke$ python -V > > Python 2.3.5 > > so => > > Download and install python 2.5.1 universal binary from http:// > www.python.org/download/ > > restart > > tony-lembkes-computer:~ tlembke$ python -V > Python 2.5.1 > > GnumedLauncher - quits > > > | Unhandled exception caught ! > > | Type : exceptions.ImportError > > | Value: No module named decimal > > Grr. Perhaps its the PYTHONPATH > Modify environment.plist as attached according to <http:// > www.astro.washington.edu/owen/AquaEnvVar.html> > Still the import decimal error. Remove 'decimal' from import list as > before > > > import os.path, fileinput, string, sys, shutil, types, cPickle > > => > OK. But now same problem loading wxPython again, as per attached log. > I had installed the latest wxPython from http://wxpython.org/ > download.php#binaries, but I see that the system is meant to use the > version of wxPython in downloaded package. > So I ran the uninstall script. > Perhaps the path for wxPython is incorrect. > ( On call tonight, so can't continue at the moment. I think maybe I'm > on the wrong track anyway) Yeah , you are just like I have been :-) Problem is that for some reason Mac has a default version which is 2.3 and a user version which is whatever you update to. One hides in /Library/Frameworks/Pythonframework (or something like this) the other one in /Users/foo/Library/frameworks/ Now there is two ways to fix this and both are no real option for end users. 1.) replace the stock python with the newer one by deleting or renaming the one in /Library. then symlink the one in /Users/Library into /Library 2.) Figure out a way to tell the stupid app launcher to use the one in /Users/foo/Library - which I have failed so far 3.) build a launcher with a python oncluded - which I have not attempted yet My system runs stable with first choice. > > Cheers, > > Tony > >  -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] -> PGP welcome, HTML ->/dev/null _______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel
