Analysing load_session
Frank Koormann
frank.koormann at intevation.de
Wed Oct 27 17:47:47 CEST 2004
* Bernhard Herzog <bh at intevation.de> [041027 12:51]:
> 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.
Sounds reasonable. I try to load alternatives while catching exceptions
from OpenShapefile(filename). So this leads to some garbage ...
> If we want to fix this properly we either need to use newer versions of
> SWIG or not use SWIG at all.
We should give the first alternative a try if someone find some time.
Frank
--
Frank Koormann <frank.koormann at intevation.de>
Professional Service around Free Software (http://intevation.net/)
FreeGIS Project (http://freegis.org/)
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)