Hi,<div><br></div><div>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.</div>
<div><br></div><div>Here's the link: <a href="http://www.geofemengineering.it/data/master_wrap.cxx">www.geofemengineering.it/data/master_wrap.cxx</a></div><div><br></div><div>Thanks and Regards,</div><div>Vipul Raheja<br>
<br><div class="gmail_quote">On Sat, Aug 6, 2011 at 4:53 PM, Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja <<a href="mailto:vipul.iiith@gmail.com">vipul.iiith@gmail.com</a>> wrote:<br>
> Hi Chris,<br>
> Thanks for the reply.<br>
> However, the error occurs even if I don't do anything, that is, even if I<br>
> simply import the library and exit() after that.<br>
> I created a file a.py whose contents were the following:<br>
> import pyossim<br>
> exit()<br>
<br>
</div>In that case, it may be in your initialization/cleanup code. Check to<br>
see if you return Py_None without increffing it, or keep a reference<br>
to something you don't own and decref it on exit.<br>
<br>
ChrisA<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5"><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br></div>