Hello,
yes right,that is due to line 17 in geofeatureindex.py :
__implements__ = UnIndex.__implements__
this line is not needed anymore, you can remove it
(I would commit that change but I do not remember my SVN account on
svn.gispython.org)
I haven't made any changes on this package for a long time, as
dependencies have evolved, it might be broken, but I would be happy to
help
Eric BREHAULT
On Thu, Jun 10, 2010 at 2:56 PM, Christian Ledermann
<[email protected]> wrote:
>
> mod = __import__(mname, *_import_chickens)
> File
> "/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/webfeatureservice.py",
> line 14, in <module>
> from geocatalog.catalog import GeoCatalog
> File
> "/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/geocatalog/catalog.py",
> line 17, in <module>
> from zgeo.wfs.geocatalog.geofeatureindex import GeoFeatureIndex
> File
> "/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/geocatalog/geofeatureindex.py",
> line 12, in <module>
> class GeoFeatureIndex(UnIndex):
> File
> "/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/geocatalog/geofeatureindex.py",
> line 17, in GeoFeatureIndex
> __implements__ = UnIndex.__implements__
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
> "/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/site.zcml",
> line 15.2-15.55
> ZopeXMLConfigurationError: File
> "/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/package-includes/008-zgeo.wfs-configure.zcml",
> line 1.0-1.52
> ZopeXMLConfigurationError: File
> "/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/configure.zcml",
> line 9.4-13.4
> AttributeError: type object 'UnIndex' has no attribute
> '__implements__'
>
> googling around brought me to:
> http://www.mail-archive.com/[email protected]/msg25212.html
>
> so i guess that __implements__ is deprecated for 2 years now (well
> actually thats more ore less the time when this version was released)
>
> how do i fix this?
>
>
>
> --
> Best regards,
>
> Christian Ledermann
>
> Nairobi - Kenya
> Mobile : +254 729495789
>
> <*)))>{
>
> If you save the living environment, the biodiversity that we have left,
> you will also automatically save the physical environment, too. But If
> you only save the physical environment, you will ultimately lose both.
>
> }<(((*>
>
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community
>
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community