gl tool error

Submitted by Tamoghna on Thu, 08/18/2011 - 15:35

Hi!

I am trying to run pizza.py on ubuntu 11.04 (gran_pizza_17Aug10 version) I am getting the following error:

Loading tools ...
gl tool did not load:
No module named OpenGL.Tk

so, I installed python-opengl using SPM which gave the following error:

No handlers could be found for logger "OpenGL.Tk"
gl tool did not load:
couldn't load file "/usr/lib/libTogl.so.1.7": /usr/lib/libTogl.so.1.7: undefined symbol: tclStubsPtr

Please help!

Tamoghna

P:S: I have already installed python-numeric, python-numpy

ckloss_ | Fri, 08/19/2011 - 12:40

Hi Tamoghna,
I dont use the gl tool, so unfortunately I cant say too much about that. But unless you want to do viz in pizza (which is not quite stae of the art) you can ignore the error message
Cheers, Christoph

Tamoghna | Fri, 08/19/2011 - 13:25

Hi Christoph!

Actually I was following your instructions in pizza "readme_update" for exporting to VTK format, so, when I type python (path)/pizza.py I get that error message!! Is there any other way of conversion!!

Tamoghna

Christoph Gleichweit | Fri, 09/09/2011 - 15:47

Hi!
I had the same problem and solved it the following way:

Togl is deprecated, but it's mentioned on the pyopengl page how to install it anyway:
http://pyopengl.sourceforge.net/documentation/installation.html

Simply download the pyopengl source, and then execute the src/Togl.py script with root rights.
That should solve the problem.

Cheers
Chris