Creating Pie Chart from Python

Markus Weihs mweihs at gmx.at
Fri Sep 16 10:32:25 EDT 2005


Hi!

I tried your script and got the following error:

  Traceback (most recent call last):
    File "pie_chart.py", line 302, in OnPaint
      self.OnDraw()
    File "pie_chart.py", line 336, in OnDraw
      segment.Draw(self.angle, self.rot, self.explode)
    File "pie_chart.py", line 46, in Draw
      glPopMatrix()
  OpenGL.GL.GLerror: [Errno 1281] invalid value

What am I doing wrong?


Regards, Markus





More information about the Python-list mailing list