[Community] Help installing ZCO/PrimaGIS

Kai Hänninen kai.hanninen at mbconcert.fi
Tue Jan 10 11:43:49 EET 2006


ti, 2006-01-10 kello 01:06 -0800, Matthew Perry kirjoitti:
> n Hey folks,
>    I have been inspired by the demo on the PrimaGIS page! My
> familiarity with python and mapserver is pretty good but i'm a newbie
> with plone and zope.... I can't for the life of me get the zope
> products recognized!
> 
> So let's start from the beginning:
> 
> - I have Ubunutu Breezy running the plone-site package
> - As per the instructions on the PrimaGIS installation docs, I have
> mapserver, python mapscript (for python2.3 which my zope instance is
> running) and python cartographic library running fine.
> - I unpacked the latest ZCO from svn and the 0.5 version of PrimaGIS
> in my products directory:
> 
> perrygeo at ubuntu2:~$ ls -atl /var/lib/zope2.8/instance/plone-site/Products/
> total 132
> drwxr-xr-x   9 zope zope 4096 2006-01-10 00:34 PrimaGIS
> drwxr-xr-x   9 zope zope 4096 2006-01-10 00:34 ZCO
> 
> - I restarted zope with:
> 
> perrygeo at ubuntu2:~$ sudo /etc/init.d/zope2.8 restart
>  * Zope2.8: restarting plone-site instance                               [ ok ]
> 
> But I don't see ZCO or primagis in the /Control_Panel/Products in ZMI.
> No doubt this is probably a silly oversight on my part. Any ideas?

Hi Matt

Is /var/lib/zope2.8/instance/plone-site/Products the directory where the
other Zope/Plone products are also located or does it just contain ZCO
and PrimaGIS? If the answer is yes to the latter, then you should check
your zope.conf (probably
at /var/lib/zope2.8/instance/plone-site/etc/zope.conf) and look for a
line that defines the location of the products directory, something like

  products /path/to/products

to see whether /var/lib/zope2.8/instance/plone-site/Products is defined
there. Zope should by default read the "Products" directory within your
instance home, but you could try adding your directory explicitly, e.g.

  products /var/lib/zope2.8/instance/plone-site/Products

Another thing you can try is running Zope with the "runzope" script to
see if it gives any additional information about (not) finding the
products.

  /var/lib/zope2.8/instance/plone-site/bin/runzope

You could also just copy the "ZCO" and "PrimaGIS" directories where ever
your other products are located (CMFPlone etc.)

Hope this helps!

cheers,
Kai
-- 
Kai Hänninen                  mobile:+358-50-558-7935 
Software engineer             www.mbconcert.fi
MB Concert Ky                 kai.hanninen at mbconcert.fi




More information about the Community mailing list