[redland-dev] Errors from librdf_free_model and librdf_free_storage when exiting Python Django program
David Brooks
d.brooks at auckland.ac.nz
Sun Feb 8 20:03:25 EST 2015
Hi Francois,
This appears to be the same as an issue I've had -- see
http://bugs.librdf.org/mantis/view.php?id=531
Regards,
Dave
On 7/02/15 9:34 am, François Scharffe wrote:
>
> First thanks for this great library. I am using it with Virtuoso
> through the ODBC driver and although setup was not easy, it is now
> working very well.
>
>
> Now my problem is that when a python program exit, I get the following
> python errors:
>
>
> Exception TypeError: "'NoneType' object is not callable" in <bound
> method Model.__del__ of <RDF.Model object at 0x7f99482746d0>> ignored
> Exception TypeError: "'NoneType' object is not callable" in <bound
> method Storage.__del__ of <RDF.Storage object at 0x7f99482745d0>> ignored
>
>
> and
>
>
> Exception AttributeError: "'NoneType' object has no attribute
> 'librdf_free_storage'" in <bound method Storage.__del__ of
> <RDF.Storage object at 0x7f994a3bbf50>> ignored
> Exception AttributeError: "'NoneType' object has no attribute
> 'librdf_free_model'" in <bound method Model.__del__ of <RDF.Model
> object at 0x7f994a3c5690>> ignored
>
>
> And I get these errors for every model/storage pair I declared.
>
> All these declarations are part of a large Django project. I do not
> get these errors if I use Redland direclty in python, but only when
> exiting a Django server.
>
>
> I am using redland-1.0.17, raptor2-2.0.14 rasqal-0.9.32 and
> redland-bindings-1.0.17.1.
>
>
> Any idea how I can avoid them ?
> Thanks for your help.
>
>
> François
>
>
>
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20150209/2c2a333f/attachment.html>
More information about the redland-dev
mailing list