Re: [cgkit-user] segfault help?
Brought to you by:
mbaas
|
From: Matthias B. <mat...@gm...> - 2012-02-05 20:29:13
|
On 01.02.12 12:43, makura wrote: > I installed cgkit under Debian6.0.3-squeeze-i386 and Ubuntu-10.04.3-desktop-amd64 on VirtualBox. > but both of render.py was segmentation fault. > >>> >from cgkit.all import * > (segmentation fault) > > but >>>> import pygame >>> >from cgkit.all import * > > OK. > > [...] > and I rewrote render.py in build/scripts-2.6. > ---- > import sys, os, os.path, optparse, glob, time > import pygame # <-- add > from cgkit.ri import * > ---- That's very odd. The render tool itself doesn't use pygame and I really can't see why importing pygame first should prevent a segfault. It looks like there still is a bug somewhere (either in cgkit or pygame), but as I still have never been able to reproduce that problem, I can't investigate it. Is there still somebody around who had that problem as well? Could you please try the above and check if that "fixes" the problem? Cheers, - Matthias - |