Re: [GtkGLExt] Fatal Python error: can't initialize module gtk.gtkgl
- From: "Alif Wahid" <awahid ieee org>
- To: <rmuller sandia gov>
- Cc: <gtkglext-list gnome org>
- Subject: Re: [GtkGLExt] Fatal Python error: can't initialize module gtk.gtkgl
- Date: Fri, 9 Apr 2004 11:21:12 +1200
Hi Rick,
> I had a disk crash on Monday, and I've had to reinstall everything on
> my computer. I ran into a problem with gtk.glext. The installation went
> without a hitch, but when I try to run one of my Python scripts I get
> the error:
>
> Fatal Python error: can't initialize module gtk.gtkgl
>
> Any hints as to what I'm doing wrong? Like I said, this script was
> working fine before the crash, and I don't remember doing anything
> different with the install this time around.
This is a DLL/SO load problem. It's an exception thrown by the 'init_gtkgl'
function in file gtkglmodule.c where it tries to register all the Python
visible classes from GtkGLExt. If an error occurs due to not being able
import all the dependent modules, then this fatal exception is thrown.
Check the following,
- Python DLL/SO version matches with PyGtk and PyGtkGLExt requirements
- PATH contains location of the correct binaries of Gtk-2.2.x and
GtkGLExt-1.0.x
- PYTHON_PATH contains location of the correct libraries of PyGtk and
libGlade.
Hope it helps. Cheers.
Alif.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]