AW: [Community] Problem installing ZCO and PrimaGIS

Uwe Seher useher at web.de
Fri Mar 24 13:13:49 EET 2006


Hello again!

New day, new problems ;)
I found aut, that the ogr.py was installed, but on python2.4, so the files
couldn't by found with zope, which ist the only application using python2.3.
I copied the files now from the 2.4 to 2.3 path, and restarted zope. After
that the event.log shows new errors:

 ------
2006-03-24T11:35:32 ERROR Zope Couldn't install PrimaGIS
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/OFS/Application.py", line 773, in
install_product
    initmethod(context)
  File "/srv/zope/Products/PrimaGIS/__init__.py", line 16, in initialize
    import PrimaGISMap, PrimaGISLayer, PrimaGISDataLayer, PrimaGISView
  File "/srv/zope/Products/PrimaGIS/PrimaGISMap.py", line 51, in ?
    import simplejson as JSON
ImportError: No module named simplejson
------
2006-03-24T11:35:32 ERROR Zope Couldn't install ZCO
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/OFS/Application.py", line 773, in
install_product
    initmethod(context)
  File "/srv/zope/Products/ZCO/__init__.py", line 45, in initialize
    DataStore.initialize(context)
AttributeError: 'module' object has no attribute 'initialize'
------
2006-03-24T11:35:32 INFO Zope New disk product detected, determining if we
need to fix up any ZClasses.
------
2006-03-24T11:35:32 INFO Zope Ready to handle requests

So, my questions:
Can I just copy the files or is it necessary to compile gdal or zope again?
How affects this the python-modules in the zope-home-dir?
Is it possible to use python2.4 for ZCO and PrimaGIS and 2.3 for the rest of
zope and does this make sense?
Where ist the lxml-error? I hadn't the time to fix this until now. Why now
simplejson?

Another great Thankyou in advance
Uwe Seher


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.6328 from 23.03.2006
Virus news: www.antiviruslab.com




More information about the Community mailing list