Hi, I did look out for the problem's solution but have been struggling with it ever since. I also asked around on IRC too but haven't quite progressed towards the solution. Here is the link to the swig-generated .cxx file which we need to look into for the answers. Could you please have a look at it and help? It'll be really great.
Here's the link: www.geofemengineering.it/data/master_wrap.cxx Thanks and Regards, Vipul Raheja On Sat, Aug 6, 2011 at 4:53 PM, Chris Angelico <ros...@gmail.com> wrote: > On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja <vipul.ii...@gmail.com> > wrote: > > Hi Chris, > > Thanks for the reply. > > However, the error occurs even if I don't do anything, that is, even if I > > simply import the library and exit() after that. > > I created a file a.py whose contents were the following: > > import pyossim > > exit() > > In that case, it may be in your initialization/cleanup code. Check to > see if you return Py_None without increffing it, or keep a reference > to something you don't own and decref it on exit. > > ChrisA > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list