Analysing load_session

Bernhard Herzog bh at intevation.de
Wed Oct 27 12:51:10 CEST 2004


Frank Koormann <frank.koormann at intevation.de> writes:

> on a trip back from Bruxelles I yesterday implemeted a (second) try for
> concept to handle "missing" data while loading a session.
[...]
> Exception exceptions.AttributeError: "DBFFile instance has no attribute
> 'thisown'" in  ignored

This means that there was an error when a DBFFile was instantiated.
SWIG's wrapper objects have an instance variable 'thisown' which is set
a little too late in __init__ so that it can happen that it's not set in
__del__.  In your case this probably comes from a missing DBF file since
that's what you're trying to deal with.  The message is pretty harmless
in most cases.

If we want to fix this properly we either need to use newer versions of
SWIG or not use SWIG at all.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)