One of my apps sort-of works on Windows. But, when I package it for
release with gui2exe/py2exe it fails to create its OpenGL canvas. The
error I see is:
File "wx\glcanvas.pyc", line 104, in __init__
wx._core.PyAssertionError: C++ assertion "parent" failed at ..\..\src
\msw\glcanvas.cpp(327) in wxGLCanvas::Create(): can't create wxWindow
without parent
This is in the context of an __init__ function for a
wx.glcanvas.GLCanvas function; the specific function call which fails
is:
wx.glcanvas.GLCanvas.__init__(
self, parent, id, pos, size, style, name, attribList,
palette)
I can put more time into creating a small example, but before I do I'm
asking: has anyone seen this before? Is there some obvious thing I can
fix?
One of my apps sort-of works on Windows. But, when I package it for
release with gui2exe/py2exe it fails to create its OpenGL canvas. The
error I see is:
File "wx\glcanvas.pyc", line 104, in __init__
wx._core.PyAssertionError: C++ assertion "parent" failed at ..\..\src
\msw\glcanvas.cpp(327) in wxGLCanvas::Create(): can't create wxWindow
without parent
This is in the context of an __init__ function for a
wx.glcanvas.GLCanvas function; the specific function call which fails
is:
wx.glcanvas.GLCanvas.__init__(
self, parent, id, pos, size, style, name, attribList,
palette)
I can put more time into creating a small example, but before I do I'm
asking: has anyone seen this before? Is there some obvious thing I can
fix?