[Zope] Persistent DynPersist

Steve Spicklemire steve@spvi.com
Sun, 18 Nov 2001 06:38:45 -0500


Hi Ben,

	You need to compile DynPersist per the instructions in ZPatterns. 
Something like:

cd lib/python/Products/ZPatterns
cp /usr/local/lib/python2.1/config/Makefile.pre.in .
make -f Makefile.pre.in boot
make

-steve

On Sunday, November 18, 2001, at 05:00 AM, Ben Ocean wrote:

> Hi;
> Okay, I exported everything out of my old Zope Data.fs, completely 
> rebuilt Zope and imported everything back into Data.fs. Now, I have 
> this amazing problem. Seems that Zope can't import EMarket because 
> there's no module named DynPersist. But it *does* import ZPatterns (a 
> la TransactionAgents), er, rather, it imports ZPatterns as_long_as 
> EMarkets is in the mix. If I remove the EMarkets module from Products 
> lo and behold ZPatterns can no longer be imported and breaks! It just 
> gets weirder and weirder. Here's a couple of tracebacks. Gosh, I hope 
> this problem dies soon.
> TIA,
> BenO
>
> 2001-11-18T10:47:28 ERROR(200) Zope Could not import Products.EMarket
> Traceback (innermost last):
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/OFS/Application.py,
>  line 563, in import_product
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/EMarket/__init__.
> py, line 12, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/EMarket/EMarket.
> py, line 29, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> __init__.py, line 1, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> Rack.py, line 8, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> DataSkins.py, line 1, in ?
> ImportError: No module named DynPersist
>
> 2001-11-18T10:40:51 ERROR(200) Zope Could not import Products.ZPatterns
> Traceback (innermost last):
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/OFS/Application.py,
>  line 563, in import_product
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> __init__.py, line 1, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> Rack.py, line 8, in ?
>   File 
> /apache/ZopeInstallation/Zope_software_home/lib/python/Products/ZPatterns/
> DataSkins.py, line 1, in ?
> ImportError: No module named DynPersist
>
>
>
> _______________________________________________
> 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 )