[Python-modules-team] Error while configuring python-opengl

Thomas Pietrzak thomas.pietrzak at gmail.com
Thu Oct 30 08:24:43 UTC 2008


Hi,

I had a problem when updating python-opengl for several days. I had a
look at the error:

Paramétrage de python-opengl (3.0.0~b6-1) ...
INFO: using old version '/usr/bin/python2.3'
Compiling
/usr/lib/python2.3/site-packages/OpenGL/GL/VERSION/GL_1_2_images.py ...
  File
"/usr/lib/python2.3/site-packages/OpenGL/GL/VERSION/GL_1_2_images.py",
line 94
    @lazy( simple.glGetConvolutionFilter )
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/OpenGL/GL/exceptional.py ...
  File "/usr/lib/python2.3/site-packages/OpenGL/GL/exceptional.py", line 48
    @lazy( simple.glBegin )
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/OpenGL/GLU/glunurbs.py ...
  File "/usr/lib/python2.3/site-packages/OpenGL/GLU/glunurbs.py", line 157
    @lazy( simple.gluNewNurbsRenderer )
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/OpenGL/GLU/projection.py ...
  File "/usr/lib/python2.3/site-packages/OpenGL/GLU/projection.py", line 9
    @lazy( simple.gluProject )
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/OpenGL/GLU/tess.py ...
  File "/usr/lib/python2.3/site-packages/OpenGL/GLU/tess.py", line 183
    @lazy(
    ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.3/site-packages/OpenGL/arrays/formathandler.py ...
  File
"/usr/lib/python2.3/site-packages/OpenGL/arrays/formathandler.py", line 40
    @classmethod
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/OpenGL/plugins.py ...
  File "/usr/lib/python2.3/site-packages/OpenGL/plugins.py", line 15
    @classmethod
    ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (791)
pycentral pkginstall: error byte-compiling files (791)
dpkg : erreur de traitement de python-opengl (--configure) :
 le sous-processus post-installation script a retourné une erreur de
sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 python-opengl

It appears that the problem was that the update script was run by python
2.3 instead of pyton 2.4 ou python 2.5. I removed python2.3 as it is
useless, and python-opengl configured fine. Does the python-opengl
package require more precise dependencies to specify it doesn't supports
python 2.3?

Cheers,

---
Tom



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20081030/abda3ccd/attachment.pgp 


More information about the Python-modules-team mailing list