Re: [Amcl-devel] gconf
Status: Beta
Brought to you by:
lobbin
|
From: Petter E. S. <gi...@pr...> - 2003-01-13 18:02:31
|
On Mon, 2003-01-13 at 18:45, Jordi Mallach wrote: > On Mon, Jan 13, 2003 at 06:36:03PM +0100, Petter E. Stokke wrote: > > > Petter, do you think you can fixup monitor.py a bit? > > Whoa... the PyGTK stuff was written for GTK+ 1.2, remember, I suspect > > there's a little more than just the script breaking there... if the > > program is in a state in which it's advisable for me to start hacking o= n > > the Python bindings, then I'll see about bringing them up to date. Just > > give me a moment. :) >=20 > Hmm. The python stuff *appears* to work, at least when it tries to load > the monitor, the python messages get printed on the screen. What must be > fucked (different import names, I guess) is the script itself. Well, everything but PyGTK wouldn't be affected by the port to GNOME 2, so it should keep working just fine. I just can't imagine the PyGTK integration code doesn't need to be ported too, but I could be wrong. The script, at the very least, is written with 1.2 in mind. Looking at the error messages you got, though, it certainly looks like it's trying to feed GTK some bogus objects. Btw, that traceback you got from Python, was it complete? I didn't see any exception at the end... --=20 Petter E. Stokke <gi...@pr...> http://www.gibreel.net/ #!/usr/bin/env python import sys;x=3Dsys.stdout.write;r=3Dxrange;j=3Dcomplex;f=3Dfloat;a=3Dabs;u= =3Dchr def m(c,z=3D0j,i=3D0,p=3Dlambda z,i,g:x(['',' ',g][(i>=3D128)+(a(z)>=3D2)*2= ])): while a(z)<2 and i<128:(z,i)=3D(z*z+c,i+1);p(z,i,u(32+i%93)) for s in r(25):[m(j(n*.04,(f(s)-12.5)*.08)) for n in r(-50,25)];x('\n') |