[Community] Errors after PCL-Update
Sean Gillies
sgillies at frii.com
Tue Feb 6 21:59:00 EET 2007
Uwe,
Can you enter a new ticket in the tracker? Then Kai and I can try to
figure out the best way to try to reproduce the problem.
Sean
Uwe Seher wrote:
> Hi group!
>
> After i got an answer on the question about seeing pg-views in the
> datastore, i updated to PCL 0.11 and tried out the ZCO
> compatibility-branch.
> First the nice: now i can see views in the datastore. But there are lots
> of strange errors now. Some shapefile-datastrores now raise different
> errors, while others can be seen as before. Same in Postgres, some
> database can be seen as before (and with views), some can't be connected
> after the Update.
> Also no more layer can be seen in the prewiew.
>
> What i did (based on a working system):
>
> Update PCL:
> -untar the package an install the the single pieces (core,gdal, mapserver,
> and OWS-Lib), now there are .eggs in the site-package-dir.
> at least the core-lib seems to be correctly imported
> -installed ZCO-compatibility branch
> -restarted zope
>
> i tried it also with zco 0.73, but with no difference. PrimaGIS 060-pre
> failed too.
> It seems strange to me, that the behavior is different between similar
> configured Datastores.
>
> Installation:
> Zope 2.9.4, Plone 2.1.4, PCL 0.11, ZCO 0.7.2 compatibility, PrimaGIS
> 0.5.1, Python 2.4.3
>
> Sorry about the lot of questions and errors that i raise, but i am no
> developer a this time. Its a little hard to understand whats going on in
> zope
>
> Bye Uwe
> ------------------------------------------------
> Errors:
> ------------------------------------------------
> Shapefile-Datastores:
> Data store is improperly configured: -2147483647
> Data store is improperly configured: list index out of range
> Data store is improperly configured: Unable to open:
> /srv/geodata/prj/main/sth_gar/shp
>
> PostGIS-Connection:
> Data store is improperly configured: local variable 'si' referenced before
> assignment
>
> when i try to open a map:
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 115, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 41, in call_object
> Module Products.PrimaGIS.PrimaGISLayer, line 129, in view
> Module Products.ZCO.overview, line 59, in overview
> AttributeError: PGFeatureSource instance has no attribute 'srs'
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 115, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 41, in call_object
> Module Products.PrimaGIS.PrimaGISMap, line 260, in view
> Module Products.ZCO.MapRenderer, line 133, in render
> Module Products.ZCO.MapRenderer, line 89, in maprenderer
> Module cartography.rendering, line 43, in MapRenderer
> TypeError: __init__() takes exactly 1 argument (2 given)
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 115, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 41, in call_object
> Module Products.ZCO.overview, line 75, in overview
> Module Products.ZCO.Layer, line 82, in getDataStore
> Module OFS.Traversable, line 250, in restrictedTraverse
> Module OFS.Traversable, line 226, in unrestrictedTraverse
> - __traceback_info__: ([], 'pgis_maindb')
> Module OFS.ObjectManager, line 726, in __getitem__
> KeyError: 'pgis_maindb'
>
>
>
> _____________________________________
> ingenieurbüro kauppert
>
> nebeniusstr. 34
> d-76137 karlsruhe
>
> fon +49 721 3548969-3
> fax +49 721 3548969-5
>
> email uwe.seher at ib-kauppert.de
> web www.ib-kauppert.de
> _____________________________________
> _______________________________________________
> Community mailing list
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community
>
--
Sean Gillies
http://zcologia.com/news
More information about the Community
mailing list