Hi Steve, well, some problems I still cannot yet solve. In /usr/local/lib contain no python1.5 but I have .../python1.5 (and ../python which contain the Products and etc., since the defaul directory of Product installaion is /python not python1.5) in my home which there is no ../config/ directory only pyc and py files. I have download the patche, DataSkinAddons to /home/pattreeya//Zope-2.3.0/lib/python/Products/ZPatterns/DataSkinAddons But the error occures as the following below. So, I still have the problem with module named "DynPersist". It seems DataSkin.py tries to call DynPersist module but it cannot find this module. Anyway, I do have the file named DynPersist.c in ../ZPatterns. Could you please give me some more suggestion? thanx. : ) pattreeya. ------ 2001-03-26T12:56:27 ERROR(200) Zope Couldn't import Products.DataSkinAddons ...... 2.3.0-linux2-x86/lib/python/Products/ZPatterns/Rack.py, li ne 9, in ? File /home/pattreeya/Zope-2.3.0-linux2-x86/lib/python/Products/ZPatterns/DataSkins.p y, line 1, in ? ImportError: No module named DynPersist ------ 2001-03-26T12:56:27 ERROR(200) Zope Couldn't import Products.EMarket Traceback (innermost last): File /home/pattreeya/Zope-2.3.0-linux2-x86/lib/python/OFS/Application.py, line 530, in import_products (Object: string) File /net/home/pattreeya/Zope-2.3.0-linux2-x86/lib/python/Products/EMarket/__init__. py, line 12, in ? File /net/home/pattreeya/Zope-2.3.0-linux2-x86/lib/python/Products/EMarket/EMarket.p y, line 28, in ? ImportError: cannot import name ZPatterns ------
---------------------------------------------------------------------- import os
os.system('cp /usr/local/lib/python1.5/config/Makefile.pre.in .') os.system('make -f Makefile.pre.in boot') os.system('make') ----------------------------------------------------------------------
type python build.py, or use the shell to execute those commands. Also.. You'll want Steve A's patches for 2.3 to use ZPatterns with 2.3. www.zope.org/Members/stevea ... I think!
Finally.. I really need to update the instructions for EMarket to make its installation and use more straightforward. In the mean time.. please don't hesitate to ask questions.
-steve
"P" == Pattreeya Tanisaro <pattreeya@lightwerk.com> writes:
P> Hello again, any of you has the experience in installing P> ZPattern? I would like to try Emarket product but it requires P> ZPattern. Then, I installed ZPattern but the error occured P> during import module as the following ..... File P> /home/pattreeya/Zope-2.3.0//lib/python/Products/ZPatterns/DataSkins.py, P> line 1, in ? ImportError: No module named DynPersist.
P> I have checked and found that DynPersist is in c format. And no P> Makefile inside the product or whatever related to c file. I P> have check inside /lib/python to look for the config or P> Makefile but I found nothing save only one Makefile.pre.in in P> ZMySQLDA. The information from "Setup" in .../ZPatterns P> contains only
P> *shared* DynPersist DynPersist.c -I../../ZODB P> -I../../../Components/ExtensionClass
P> At this point, i have no idea what to do next. Currently, I P> use Zope2.3.0 and Zpatterns-0.4.3b1.
P> Thank you in advance for any help. pattreeya.
P> _______________________________________________ Zope maillist - P> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No P> cross posts or HTML encoding! ** (Related lists - P> http://lists.zope.org/mailman/listinfo/zope-announce P> http://lists.zope.org/mailman/listinfo/zope-dev )