-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Re: 'stat'
It looks like the OS X bash (which is also /bin/sh) does not support 'stat' natively, nor is there an executable. I would guess there has to be a Fink package somewhere, but I cannot seem to find it (the Debian package that contains stat is not in Fink, and nothing else looks like it might contain it).
Re: 'export SDL_VIDEODRIVER=quartz'
This did not seem to help.
Installing MacPython (http://homepages.cwi.nl/~jack/macpython/macpython-osx.html) and using it's /usr/local/bin/pythonw looks like it might have fixed this small piece of the problem, but added a few of its own. It suddenly could not automatically find some of the requisite libraries (I am not entirely sure why). I had to manually set ${PYTHONPATH} (which is not the best idea in the world, but I just wanted to see something work) to a number of directories+subdirectories in /sw/lib/python2.3 and /Library/Frameworks/Python.framework/Versions/Current/lib/python2.3. This was not a big deal because some shell scripting can automatically add these and the various directories in the two site-packages folders. I am now unable to import qp_xml from xml.utils ("ImportError: No module named utils"), so I am guessing that I either missed something or have the elements in PYTHONPATH shuffled around incorrectly.
I am now wondering if I should try reinstalling all of the prerequisites using the pythonw interpreter.
Let me know if you want the diffs to play around with. They're not pretty and certainly not yet designed to play nice with non OS X operating systems. It seems like I am "almost there" as far as getting it to work, but my Python experience is a little rusty (have not touched it in over 2 years), and my OS X experience is fairly new.
-Brian
On Tuesday, September 2, 2003, at 05:06 AM, Aubin Paul wrote:
On Mon, Sep 01, 2003 at 11:12:02PM -0700, Brian Enigma wrote:At this point, Freevo *should* be ready to go, but it is not because of
a bug. When run, you will get the following stack trace:
Traceback (most recent call last): File "./src/main.py", line 94, in ? import osd # The OSD class, used to communicate with the OSD daemon File "/Users/enigma/Code/sf/freevo/src/osd.py", line 111, in ? import pygame File "/sw/lib/python2.3/site-packages/pygame/__init__.py", line 158, in ? raise ImportError, "Can not access the window manager, use bundlebuilder or execute with the pythonw script" ImportError: Can not access the window manager, use bundlebuilder or execute with the pythonw script
I seem to get the same bug whether I run it in the native Terminal app or an X11 xterm. Does anyone know what this means? More importantly, does anyone know how to fix it?
Try 'export SDL_VIDEODRIVER=quartz'
before running it. X11 is not required for any of this. Fink seems to have even it's python-nox package depending on X11 (which doesn't make much sense, because it's due to a nested dependency from tcltk)
As always, if you run into problems, let us know.
Aubin
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Darwin)
iD8DBQE/VLrH0dKNWt3rpSURAvHaAKDTgYhUet2RrRveVxijVp27+1yfuwCgwOjC fJ1OV39y4q3EK4oEBFB7PW4= =fMa1 -----END PGP SIGNATURE-----
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
