|
From: Daniele <d.t...@ic...> - 2002-12-04 09:45:02
|
Dear M.Sayamon, 1) the version you see on www.openflow.it is version 1.0.2: the version file was not updated (thanks for pointing out) 2) From your error log I can see OpenFlow can't find the CatalogPathAware class. Do you have a lib/python/Products/ZCatalog/CatalogPathAwareness.py file? Does it have a CatalogPathAware class? 3) Yes you can have both OpenFlow 0.7.2 and OpenFlow 1.0.2 on the same zope. They will have the same meta_type, though. So when you create an OpenFlow somewhere on zope you'll have to be sure which one you are creating (when you create one look at the html to see what it points to). I do use both OpenFlow on my machine, if you need further help just ask. Daniele =) > Subject: openflow version > Date: Wed, 04 Dec 2002 03:16:46 +0000 > From: "IT Product Specialist (Sayamon)" <sa...@dh...> > To: in...@ic... > > Dear Sir, > > > I had download openflow 1.0.2 from your site, but in VERSION.txt said it is > 1.0 > > After I install it, I found error message: > > ------------------------------------------ > 2002-12-04T02:26:55 ERROR(200) Zope Could not import Products.OpenFlow > Traceback (innermost last): > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/OFS/Application.py > , line 531, in import_product > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/ > __init__.py, line 1, in ? > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/ > openflow.py, line 6, in ? > (Object: ZCatalog) > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/ > instance.py, line 4, in ? > (Object: Folder) > ImportError: cannot import name CatalogPathAware > > > ------ > 2002-12-04T02:26:56 PROBLEM(100) ZODB Could not import class 'openflow' > from mod ule 'Products.openflow-engine.openflow' > ------ > 2002-12-04T02:26:56 INFO(0) ZODB Opening database for mounting: > '142122744_10348 55736.716928' > ------ > 2002-12-04T02:26:56 INFO(0) ZODB Mounted database > '142122744_1034855736.716928' at /temp_folder > ------ > 2002-12-04T02:26:58 INFO(0) ZServer HTTP server started at Wed Dec 4 > 09:26:58 2 002 > Hostname: sayamon.dhas.com > Port: 8080 > ------ > 2002-12-04T02:26:58 INFO(0) ZServer FTP server started at Wed Dec 4 > 09:26:58 20 02 > Hostname: sayamon.dhas.com > Port: 8021 > ------ > 2002-12-04T02:26:58 INFO(0) ZServer PCGI Server started at Wed Dec 4 > 09:26:58 2 002 > Unix socket: > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/var/pcgi.soc ------ > 2002-12-04T02:28:56 PROBLEM(100) Script (Python) Object "getUserData" needs > to b e recompiled. > ------ > 2002-12-04T02:28:56 PROBLEM(100) Script (Python) Object "listProblemTypes" > needs to be recompiled. > ------ > 2002-12-04T02:28:56 PROBLEM(100) Script (Python) Object "wfActions" needs > to be recompiled. > Traceback (most recent call last): > File "/usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/z2.py", line 474, in ? > Traceback (most recent call last): > File "/usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/z2.py", line 705, in ? > zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) > File > > "/usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/zdaemon/Daemon.py", > line 79, in run > asyncore.loop() > File > "/usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/ZServer/medusa/asyncore.py", > line 20 0, in loop > p,s = os.waitpid(pid, 0) > KeyboardInterrupt > poll_fun (timeout, map) > File > "/usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/ZServer/medusa/asyncore.py", > line 79 , in poll > r,w,e = select.select (r,w,e, timeout) > KeyboardInterrupt > You have new mail in /var/spool/mail/root > [root@sayamon root]# ./start > ------ > 2002-12-04T03:11:09 ERROR(200) Zope Could not import Products.OpenFlow > Traceback (innermost last): > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/OFS/Application.py, > line 5 31, in import_product > File > > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/__ >i nit__ .py, line 1, in ? > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/op >en flow .py, line 6, in ? > (Object: ZCatalog) > File > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/in >st ance .py, line 4, in ? > (Object: Folder) > ImportError: cannot import name CatalogPathAware > > > ------ > 2002-12-04T03:11:10 PROBLEM(100) ZODB Could not import class 'openflow' > from module 'Pro ducts.openflow-engine.openflow' > ------ > 2002-12-04T03:11:10 INFO(0) ZODB Opening database for mounting: > '142122744_1034855736.71 6928' > ------ > 2002-12-04T03:11:10 INFO(0) ZODB Mounted database > '142122744_1034855736.716928' at /temp _folder > ------ > 2002-12-04T03:11:12 INFO(0) ZServer HTTP server started at Wed Dec 4 > 10:11:12 2002 Hostname: sayamon.dhas.com > Port: 8080 > ------ > 2002-12-04T03:11:12 INFO(0) ZServer FTP server started at Wed Dec 4 > 10:11:12 2002 Hostname: sayamon.dhas.com > Port: 8021 > ------ > 2002-12-04T03:11:12 INFO(0) ZServer PCGI Server started at Wed Dec 4 > 10:11:12 2002 Unix socket: > /usr/local/zope-2.5.0/Zope-2.5.0-linux2-x86/var/pcgi.soc > > > ------------------------------------------- > > So, Could you please clearify me that: > 1.Which's one is current version on the website, 1.0.2 or 1.0? > 2.Please suggest me how can I install this version? (correct the error > message?) 3.Can I install both of 2 version in the same zope engine? > > ps. I used to install version 0.7.2 and demo_english. > After I install new version and found the problem, so I remove version > 0.7.2 (the folder name openflow-engine) > > best regards, > M.Sayamon > > ------------------------------------------------------- |