[Mirra] Problem installing mirra?
enrike
enrike at ixi-audio.net
Tue Feb 12 23:23:39 CET 2008
ok, lets try this ... i think I know where it is coming from...
try to run the attached file and post the error messages if any. It is
just a pure pyopengl file. I am just to try to narrow down where the
error comes from. If it does not work check the first lines of the code
where it says
sys.path.insert(0, os.path.join(sys.prefix, "PyOpenGL-3.0.0a6-py2.5.egg"))
to make sure the version of PyOpenGL egg is the one you have installed
in your system (and I bet it wont be the same). You can check this by
reading the name of the egg again at C:\Python25\Lib\site-packages
say you have PyOpenGL-3.0.0b1-py2.5.egg, and this is most likely the
case, put the right name in the script, save it and run it again.
Let me know if this time it works. I hope it will. If so then I need to
think where to add this in mirra... It is because current versions of
PyOpenGL are a bit buggy with python eggs.
enrike
Adrian Tsang(e)k dio:
> hi enrike, thank you for the reply- gave it try, no luck, same error(the
> pyOpenGl link didn't work, but I found anotehr identical win32 exe
> installer release on google)
>
>
> On Feb 12, 2008 10:14 AM, enrike <enrike at ixi-audio.net
> <mailto:enrike at ixi-audio.net>> wrote:
>
> hi adrian
>
> I just tried the version of mirra you are using under windows and all
> works fine for me. Maybe I am wrong but this looks to me like a problem
> with the python eggs. Try removing the PyOpenGL and Mirra eggs from
> C:\Python25\Lib\site-packages and install the libraries again but this
> time using the exe installers. You can download them from the following
> links.
>
> mirra:
> http://ixi-software.net/content/download/mirra/Mirra-0.3.2.win32.exe
>
> PyOpenGL
> http://downloads.sourceforge.net/pyopengl/PyOpenGL-3.0.0b1.win32.exe?modtime=1199051603&big_mirror=0
> <http://downloads.sourceforge.net/pyopengl/PyOpenGL-3.0.0b1.win32.exe?modtime=1199051603&big_mirror=0>
>
> Please let me know if this works.
>
> enrike
>
> Adrian Tsang(e)k dio:
> >
> > Hi, I'm trying to get mirra up and running on xp, I used
> ez_install to
> > put mirra in, looks like it worked with no probs, pretty sure I
> have all
> > the proper modules installed, but when I exectue basic.py I get the
> > following error output: I'm pretty new to python and I'm not from a
> > software development background so any help would be appreciated-!
> >
> >
> > error output:
> >
> > no psyco found in your system. Psyco can improve Python's performance
> > no py2app installed in your system
> >
> > Traceback (most recent call last):
> > File "C:\data\dev\python\mirra_basic.py", line 47, in <module>
> > if __name__ == '__main__': MirraApp() # init always here your
> main
> > app class that extends main.App
> > File
> >
> "c:\docume~1\adrian~1.a91\locals~1\temp\easy_install-xr36nu\Mirra-0.3.2-py2.5-win32.egg.tmp\mirra\main.py",
> > line 379, in __init__
> > self.frameRate, self.smooth, self.mode)
> > File
> >
> "c:\docume~1\adrian~1.a91\locals~1\temp\easy_install-xr36nu\Mirra-0.3.2-py2.5-win32.egg.tmp\mirra\main.py",
> > line 111, in __init__
> > self.engine = graphics.Engine(self.size, smooth=self.smooth,
> > mode=mode) # init rendering engine
> > File
> >
> "c:\docume~1\adrian~1.a91\locals~1\temp\easy_install-xr36nu\Mirra-0.3.2-py2.5-win32.egg.tmp\mirra\graphics.py",
> > line 204, in __init__
> > glutInit([]) # avoid problem on Linux when drawing text --
> ERROR:
> > Function <glutBitmapCharacter> called without first calling
> 'glutInit'.
> > File "C:\Python25\Lib\site-packages\OpenGL\GLUT\special.py",
> line 309,
> > in glutInit
> > _base_glutInit( ctypes.byref(count), holder )
> > File "C:\Python25\Lib\site-packages\OpenGL\GLUT\special.py",
> line 56,
> > in _base_glutInit
> > return __glutInitWithExit(pargc, argv, _exitfunc)
> > File
> "c:\python25\lib\site-packages\OpenGL\platform\baseplatform.py",
> > line 258, in __call__
> > self.__name__, self.__name__,
> > NullFunctionError: Attempt to call an undefined function
> > __glutInitWithExit, check for bool(__glutInitWithExit) before calling
> > >>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut_opengl.py
Type: text/x-python
Size: 2886 bytes
Desc: not available
Url : http://lists.goto10.org/pipermail/mirra/attachments/20080212/c61c6313/attachment.py
More information about the Mirra
mailing list