>>>>> "Cousin" == Cousin Stanley <[EMAIL PROTECTED]> writes:

    Cousin> I have close to 40 CousinStanley-hours invested now in
    Cousin> trying to repair this in order to avoid re-installing the
    Cousin> Python23 Enthought Edition that I use ....

I sympathize.  I have logged many hours trying to get pygtk,
pygtkglext, and vtk all working in harmony on win32.  I know the
frustrations -- if only there was a decent shell I might be able to
tolerate it.

    Cousin> The path entries set in my autoexec.bat file contain no
    Cousin> spaces, as I try to avoid that like the plague, and point
    Cousin> to the exact location where the GTK installer put them at
    Cousin> my request at install time ....

OK, looks good.

    Cousin> Then, I decided to try a version of wGlade in order to
    Cousin> have a RAD method for quickly building xxxxx.glade files
    Cousin> that could be used under PyGTK, not being interested in
    Cousin> the C code generation capabilities available with wGlade

Sounds like glade put an incompatible lib somewhere in your PATH.
Short of uninstalling python, one easy thing is to uninstall GTK,
remove the dir tree, and then rerun the GTK-Runtime installer.  You
probably already tried that.  Where does wGlade put its files?  Have
you tried searching the system for libgtk and libgdk and making sure
there were no versions outside the bin and lib dir of the GTK\2.0
tree?

After that, you'll likely need http://www.dependencywalker.com.  This
allows you load dlls and it will show the loaded dependencies, what
dll is failing, what function in what dll is failing, and so on.  You
should try loading all the pyd files in the gtk site-packages dir in
to Dependency Walker and report back what is failing.

    Cousin>   Thanks again for your help and for MatPlotLib, which I
    Cousin> will be able to use again at some point in the near future

Perhaps somewhat heretical here :-), but while you're getting the
pygtk problem worked out, you might want to try the matplolib wx
backend.  Since the enthought edition of python comes with wxpython
preloaded, you should be able to generate matplotlib plots with

  import matplotlib
  matplotlib.use('WX')
  from matplotlib.matlab import blah, blah

Of course this won't help if you need to embed your plots in pygtk
apps.

Good luck!
John Hunter


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to