Presentation software for Python code

Michael Hoffman 4g4trz802 at sneakemail.com
Fri Apr 24 08:23:18 CEST 2009


alex23 wrote:

> How do you feel about reStructuredText? If you're open to it, I highly
> recommend Bruce: http://pypi.python.org/pypi/bruce

That looks like it would be perfect. Unfortunately it doesn't seem to 
work on my Windows laptop:

C:\Documents and 
Settings\Michael\Desktop\bruce-3.2.1>C:\Python25\python.exe bru
ce.pyw ..\bruce-3.2.1-examples\test_bullet_mode.rst
Traceback (most recent call last):
   File "bruce.pyw", line 6, in <module>
     run.main()
   File "bruce-library.zip\bruce\run.py", line 25, in main
   File "bruce-library.zip\bruce\run.py", line 217, in cmd_line
   File "bruce-library.zip\bruce\run.py", line 313, in run
   File "bruce-library.zip\bruce\presentation.py", line 31, in 
start_presentation

   File "bruce-library.zip\bruce\page.py", line 29, in create
   File "bruce-library.zip\bruce\layout.py", line 143, in create
   File "bruce-library.zip\pyglet\graphics\__init__.py", line 348, in add
   File "bruce-library.zip\pyglet\graphics\__init__.py", line 436, in 
_get_domain

   File "bruce-library.zip\pyglet\graphics\vertexdomain.py", line 135, 
in create_
domain
   File "bruce-library.zip\pyglet\graphics\vertexdomain.py", line 174, 
in __init_
_
   File "bruce-library.zip\pyglet\graphics\vertexbuffer.py", line 117, 
in create_
mappable_buffer
   File "bruce-library.zip\pyglet\graphics\vertexbuffer.py", line 383, 
in __init_
_
   File "bruce-library.zip\pyglet\graphics\vertexbuffer.py", line 301, 
in __init_
_
   File "bruce-library.zip\pyglet\gl\lib_wgl.py", line 94, in __call__
   File "bruce-library.zip\pyglet\gl\lib.py", line 63, in MissingFunction
pyglet.gl.lib.MissingFunctionException: glGenBuffers is not exported by 
the avai
lable OpenGL driver.  VERSION_1_5 is required for this functionality.
Exception exceptions.AttributeError: "'VertexDomain' object has no 
attribute 'at
tributes'" in <bound method VertexDomain.__del__ of 
<VertexDomain at a9c7350 allocs
=[]>> ignored

I don't understand this. OpenGL Extensions Viewer says I have OpenGL 1.5 
and the glGenBuffers function.



More information about the Python-list mailing list