Hello, I have unpacked the ZpoPyDA-1.2.tar.gz and re-started zope. However I get the error message: 2001-04-27T08:02:44 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /usr/local/Zope-2.3.1-linux2-x86/lib/python/OFS/Application.py, line 536, in import_products (Object: string) File /usr/local/Zope-2.3.1-linux2-x86/lib/python/Products/ZPoPyDA/__init__.py, line 34, in ? File /usr/local/Zope-2.3.1-linux2-x86/lib/python/Products/ZPoPyDA/DA.py, line 81, in ? File /usr/local/Zope-2.3.1-linux2-x86/lib/python/Products/ZPoPyDA/PoPy_db.py, line 37, in ? The PoPy module is not installed I don't have a clue what this is all about. Please could anyone help. Cheers Neil Blue
On Fri, Apr 27, 2001 at 09:09:16AM +0100, Blue, Neil wrote:
I have unpacked the ZpoPyDA-1.2.tar.gz and re-started zope. However I get the error message:
File /usr/local/Zope-2.3.1-linux2-x86/lib/python/Products/ZPoPyDA/PoPy_db.py, line 37, in ? The PoPy module is not installed
Odds are, you don't have the popy module for regular Python installed. In Debian, it's in the python-popy package. Don't know where it would be elsewhere. The ZpoPyDA is an interface from Zope to popy, not directly to PostgreSQL. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
On Fri, Apr 27, 2001 at 08:51:56AM -0500, Mike Renfro wrote:
On Fri, Apr 27, 2001 at 09:09:16AM +0100, Blue, Neil wrote:
I have unpacked the ZpoPyDA-1.2.tar.gz and re-started zope. However I get the error message:
File /usr/local/Zope-2.3.1-linux2-x86/lib/python/Products/ZPoPyDA/PoPy_db.py, line 37, in ? The PoPy module is not installed
Odds are, you don't have the popy module for regular Python installed. In Debian, it's in the python-popy package. Don't know where it would be elsewhere. The ZpoPyDA is an interface from Zope to popy, not directly to PostgreSQL.
That is, in fact, the problem, (or Zope's python can't find popy). If you are doing a source install, you need to go back to Sourceforge, http://sourceforge.net/projects/popy pick up popy, build it and install it. Debian packages are availalbe on the unstable and testing branches of the distribution. RPMs are available in the Sourceforge CVS. Popy can be kind of tricky to install, as it requires a header that is not distributed with the normal -dev RPM (debian is fine), and as it must be put in a location that the python that is being used by your Zope can find. In particular, it is not uncommon for people who are using the Zope.org _binary_ distribution to have trouble. Here is would go in ZOPEHOME/python. Normally in a FHS compliant system, it should go into /usr/local/lib/python1.5/site-packages (or something very like that), or in /usr/lib/python1.5/site-packages (or something very like that). Jim Penny
-- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Blue, Neil -
Jim Penny -
Mike Renfro