Category archives: Snaking
Discussions of programming, particularly of programming Python
PyMol shows up on a random computer (Didn't I say I wouldn't do this any more?)
Written by
on
in
Snaking.
Rose somehow forgot that I'm trying to stop helping people with their infected Windows machines, so she volunteered me to help her friend. Sigh. Anyway, cool thing happened; browsing the start menu to look for suspicious programs I found PyMol!
I think that's cool. Makes me feel somewhat less dumb about contributing to the network ...!-->!-->
Another hour of trying to get Eric up (No luck yet...)
Written by
on
in
Snaking.
I decided to try building Eric for the workstation (again) so that I can use the larger monitor, far better chair and generally better ergonomic support for development (comfort matters more and more as I get older). This time I tried to get Eric4 working. Ran into the same basic problem. SIP isn't Python 2.5 ...
Getting sip to build on Gentoo Python 2.5 (Or, how to use overlays.gentoo.org for those who don't feel like using "layman")
Written by
on
in
Snaking.
When I upgraded the workstation to 2.5 I wound up breaking the Eric3 IDE that I use for all my hacking (Python and otherwise). It was broken because of some Python 2.5 HeapTypeObject structure changes that meant the SIP wrapper generator wouldn't work. A search of the net revealed what appeared to be an ebuild ...
Ah the joys of bundling (Wish I had time to work on it today)
Written by
on
in
Snaking.
Blake reports that things go to handbaskets when attempting to include OpenGL (-ctypes) in a Py2App bundle. Apparently the setuptools entry-point registrations (which are required by OpenGL-ctypes) are not getting triggered so there's no handlers available.
And there's the flip-side of using big, standard(-ish) packages, when they break, you have to be willing (and have ...!-->!-->
Successes and failures trickle in (So far three of them...)
Written by
on
in
Snaking.
So far the count (for people other than me) of successes/failures is 1:2, with Blake getting a flawless install on OS X and Simon and Bill getting "Unexpected HTML page found at" errors. I'm now plowing through the 170 messages sitting in my distutils folder (I subscribe, but I often ignore the mailing list) to ...
Argh, two hours wasted (Testing is useless if the app you're using to record results crashes...)
Written by
on
in
Snaking.
Spent almost 2 solid hours running tests for OpenGL-ctypes on AMD64 Linux this afternoon. Unfortunately, NVU crashed as I was entering the result for the second-to-last test. Argh. Apparently I didn't save during the entire period, so the recorded tests are at exactly the same point they were yesterday.
I'm going to skip doing the ...!-->!-->
Bit of project maintenance work on OpenGL (Before and after work...)
Written by
on
in
Snaking.
Integrated a patch from Marco and answered various project-related emails this morning. Then started writing a "Using OpenGL in Python" document for the new release. Lastly started going through the demos and creating an up-to-date table showing passing/failing demos for each platform (well, just the one at the moment, but with space for the others). ...
A lesson from years of PyOpenGL (Not quite Zen, but oh well...)
Written by
on
in
Snaking.
I took over managing the PyOpenGL project a very long time ago. Over that period it's had a complete rewrite (two if you count OpenGL-ctypes) and has dramatically grown in complexity. However, for the most part it has "just worked"... once you got it installed.
Over the years, however, we've been dogged by extensive problems ...!-->!-->
Reversal on Ubuntu (I know they don't build from source very often, but really...)
Written by
on
in
Snaking.
I sat down briefly at Soni's last night to try to test OpenGL-ctypes, and OpenGLContext. After a bit of wrestling to get a non-admin setuptools install I realised that Soni didn't have ctypes installed. Okay, so download and build ctypes... except that the libffi failed to build (compilation errors).
I was too sick/out-of-it to think ...!-->!-->
A weekend of little tasks (Bits and pieces but no great accomplishments)
Written by
on
in
Snaking,
Vindaloo.
I took a 4 day weekend intending to spend the entire time on OpenGL-ctypes and related projects, trying to get the whole enchilada moved to an alpha release. Somehow out of the entire weekend I only seemed to get about 1 day of hacking in.
During that short period I ported SimpleParse and TTFQuery to ...!-->!-->