Problems with C API

David OGwynn dog at ERC.MsState.Edu
Fri Mar 9 08:19:44 EST 2001


This is hard to explain, but I'm coding a visualization (Polygonal Mapping Tree) 
module for Python. So far, everything is going fairly swimmingly. I'm not having 
any real trouble from OpenGL. I've come into a strange problem, I have a binary 
parsing function built into the Octree object. It's fairly straightforward. And, 
when I run the code by hand 

i.e.
>>> from PMvis import *
>>> a = Octree('1',1,1,1,1)
>>> a.parsebinary('bsp1.bsp','BSP')
Done!
>>>

Everything works fine. But, when I try to run the exact same code through a 
script file (or through pdb) it segfaults on me. I'm totally lost. I really need 
this functionality built into my Octree object, given the large (30M or more) 
size of the binary files...

Thanks.

_____________
David O'Gwynn
dog at erc.msstate.edu

    "Life begins where math breaks down."
	--B.D.O.





More information about the Python-list mailing list