Re: [Zope] Installation Problem
Thank you for this assistance /em shuffles off to RTFM in shame! On 29 May 2006, at 13:11, Andreas Jung wrote: --On 29. Mai 2006 14:08:53 + Kevin White <[EMAIL PROTECTED]> wrote: Lo Folks, New to Zope and it took me all of five mins to trip up. I am having to do a source install using 2.9.3 on Linux system with Python 2.3. I am running into all manner of syntax errors when I do make install. For example: File "/var/www/zope/lib/python/zope/app/apidoc/static.py", line 126 @property ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/wsgi/fileresult.py", line 41 @component.adapter(file, zope.publisher.interfaces.http.IHTTPRequest) ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/container/constraints.py", line 240 @readproperty ^ Zope 2.9 requires Python 2.4.3 as documented in doc/INSTALL.txt. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting Kevin ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Installation Problem
--On 29. Mai 2006 14:08:53 + Kevin White <[EMAIL PROTECTED]> wrote: Lo Folks, New to Zope and it took me all of five mins to trip up. I am having to do a source install using 2.9.3 on Linux system with Python 2.3. I am running into all manner of syntax errors when I do make install. For example: File "/var/www/zope/lib/python/zope/app/apidoc/static.py", line 126 @property ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/wsgi/fileresult.py", line 41 @component.adapter(file, zope.publisher.interfaces.http.IHTTPRequest) ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/container/constraints.py", line 240 @readproperty ^ Zope 2.9 requires Python 2.4.3 as documented in doc/INSTALL.txt. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting pgpICkhW9t4Vu.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Installation Problem
Lo Folks, New to Zope and it took me all of five mins to trip up. I am having to do a source install using 2.9.3 on Linux system with Python 2.3. I am running into all manner of syntax errors when I do make install. For example: File "/var/www/zope/lib/python/zope/app/apidoc/static.py", line 126 @property ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/wsgi/fileresult.py", line 41 @component.adapter(file, zope.publisher.interfaces.http.IHTTPRequest) ^ SyntaxError: invalid syntax File "/var/www/zope/lib/python/zope/app/container/constraints.py", line 240 @readproperty ^ There are more but I figured there was no point in swamping you :) Anyone have any pointers? Thanks for any help Kevin ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Reg Zope Installation Problem
Am Freitag, den 22.07.2005, 07:31 +0100 schrieb praba kar: > --- Florent Guillaume <[EMAIL PROTECTED]> wrote: > > > praba kar <[EMAIL PROTECTED]> wrote: > > > I try to install zope 2.7.0. > > > > Stop right here. Zope 2.7.0 is hopelessly outdated. > > Use Zope 2.7.6. > > > > Florent > > > > -- > > Florent Guillaume, Nuxeo (Paris, France) CTO, > > Director of R&D > > +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] > > > Dear All, > I have same problem in Zope 2.7. 6 > installation also. kinldy help me. I have installed > successfully but I don't know how to start zope > properly. Actully now I am starting zope service using > runzope from bin directory of instance. > I don't know how to use zopectl command. runzope or zopectl fg are good for testing if the installation works because you get all the messages on screen (like you show below) zopectl start should be used in production because it detaches zope from the shell. I think the INSTALL.txt section needs some clarify on this - although zopectl gets mentioned there: """ Starting Zope Once an instance home has been created, the Zope server can now be started using this command: /location/of/zope/instance/bin/runzope If you get errors indicating that addresses are in use, then you will have to supply arguments to runzope to change the ports used for HTTP or FTP. The default HTTP and FTP ports used by Zope are 8080 and 8021 respectively. You can change the ports used by specifying the "port-base" parameter to runzope. For example, to run Zope on ports 9080 and 9021:: ./bin/runzope -X port-base=1000 There is also an interactive Zope command shell named 'zopectl' that may be invoked by running 'bin/zopectl'. By default, 'zopectl start' will start a background process that manages Zope and 'zopectl stop' will stop the background process. """ > > -- > 2005-07-22T11:48:07 INFO(0) ZServer HTTP server > started at Fri Jul 22 11:48:07 2005 > Hostname: localhost.localdomain > Port: 8080 > -- > 2005-07-22T11:48:07 INFO(0) ZServer FTP server started > at Fri Jul 22 11:48:07 2005 > Hostname: prabahar > Port: 8021 > Traceback (most recent call last): > File > "/Programs/Zope/2.7.6/lib/python/Zope/Startup/run.py", > line 50, in ? > run() > File > "/Programs/Zope/2.7.6/lib/python/Zope/Startup/run.py", > line 19, in run > start_zope(opts.configroot) > File > "/Programs/Zope/2.7.6/lib/python/Zope/Startup/__init__.py", > line 52, in start_zope > starter.startZope() > File > "/Programs/Zope/2.7.6/lib/python/Zope/Startup/__init__.py", > line 231, in startZope > Zope.startup() > File > "/Programs/Zope/2.7.6/lib/python/Zope/__init__.py", > line 46, in startup > from Zope.App.startup import startup as _startup > File > "/Programs/Zope/2.7.6/lib/python/Zope/App/startup.py", > line 30, in ? > import OFS.Application > File > "/Programs/Zope/2.7.6/lib/python/OFS/Application.py", > line 17, in ? > import Globals,Folder,os,sys,App.Product, > App.ProductRegistry, misc_ > File > "/Programs/Zope/2.7.6/lib/python/App/Product.py", line > 44, in ? > from HelpSys.HelpSys import ProductHelp > File > "/Programs/Zope/2.7.6/lib/python/HelpSys/__init__.py", > line 15, in ? > import HelpSys > File > "/Programs/Zope/2.7.6/lib/python/HelpSys/HelpSys.py", > line 18, in ? > from Products.ZCatalog.ZCatalog import ZCatalog > File > "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/__init__.py", > line 16, in ? > import ZCatalog, Catalog, CatalogAwareness, > CatalogPathAwareness, ZClasses > File > "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/ZCatalog.py", > line 40, in ? > from IZCatalog import IZCatalog > File > "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/IZCatalog.py", > line 236, in ? > __doc__ = IZCatalog.__doc__ + __doc__ > TypeError: unsupported operand type(s) for +: > 'NoneType' and 'NoneType' > this is faszinating. I have no Idea why on your installation are the docstrings None. Yan you please quote the code lines around line 236 in /Programs/Zope/2.7.6/lib/python/Products/ZCatalog/IZCatalog.py ? -- Tino Wildenhain <[EMAIL PROTECTED]> ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Reg Zope Installation Problem
--- Florent Guillaume <[EMAIL PROTECTED]> wrote: > praba kar <[EMAIL PROTECTED]> wrote: > > I try to install zope 2.7.0. > > Stop right here. Zope 2.7.0 is hopelessly outdated. > Use Zope 2.7.6. > > Florent > > -- > Florent Guillaume, Nuxeo (Paris, France) CTO, > Director of R&D > +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] > Dear All, I have same problem in Zope 2.7. 6 installation also. kinldy help me. I have installed successfully but I don't know how to start zope properly. Actully now I am starting zope service using runzope from bin directory of instance. I don't know how to use zopectl command. -- 2005-07-22T11:48:07 INFO(0) ZServer HTTP server started at Fri Jul 22 11:48:07 2005 Hostname: localhost.localdomain Port: 8080 -- 2005-07-22T11:48:07 INFO(0) ZServer FTP server started at Fri Jul 22 11:48:07 2005 Hostname: prabahar Port: 8021 Traceback (most recent call last): File "/Programs/Zope/2.7.6/lib/python/Zope/Startup/run.py", line 50, in ? run() File "/Programs/Zope/2.7.6/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/Programs/Zope/2.7.6/lib/python/Zope/Startup/__init__.py", line 52, in start_zope starter.startZope() File "/Programs/Zope/2.7.6/lib/python/Zope/Startup/__init__.py", line 231, in startZope Zope.startup() File "/Programs/Zope/2.7.6/lib/python/Zope/__init__.py", line 46, in startup from Zope.App.startup import startup as _startup File "/Programs/Zope/2.7.6/lib/python/Zope/App/startup.py", line 30, in ? import OFS.Application File "/Programs/Zope/2.7.6/lib/python/OFS/Application.py", line 17, in ? import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ File "/Programs/Zope/2.7.6/lib/python/App/Product.py", line 44, in ? from HelpSys.HelpSys import ProductHelp File "/Programs/Zope/2.7.6/lib/python/HelpSys/__init__.py", line 15, in ? import HelpSys File "/Programs/Zope/2.7.6/lib/python/HelpSys/HelpSys.py", line 18, in ? from Products.ZCatalog.ZCatalog import ZCatalog File "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/__init__.py", line 16, in ? import ZCatalog, Catalog, CatalogAwareness, CatalogPathAwareness, ZClasses File "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/ZCatalog.py", line 40, in ? from IZCatalog import IZCatalog File "/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/IZCatalog.py", line 236, in ? __doc__ = IZCatalog.__doc__ + __doc__ TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' ___ Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Reg Zope Installation Problem
praba kar <[EMAIL PROTECTED]> wrote: > I try to install zope 2.7.0. Stop right here. Zope 2.7.0 is hopelessly outdated. Use Zope 2.7.6. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Reg Zope Installation Problem
--On 19. Juli 2005 14:42:01 +0100 praba kar <[EMAIL PROTECTED]> wrote: Dear All, I try to install zope 2.7.0. After the installation. I have create zope installation directory using mkzopeinstance.py. From that zope installation directory I try to run bin/runzope command. But It will give 2.7.0 is *ancient*. Try 2.7.7. -aj pgp92Xsf3l6ZD.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Reg Zope Installation Problem
Dear All, I try to install zope 2.7.0. After the installation. I have create zope installation directory using mkzopeinstance.py. From that zope installation directory I try to run bin/runzope command. But It will give below type error. *** -- 2005-07-19T19:00:04 INFO(0) ZServer HTTP server started at Tue Jul 19 19:00:04 2005 Hostname: localhost.localdomain Port: 8080 -- 2005-07-19T19:00:04 INFO(0) ZServer FTP server started at Tue Jul 19 19:00:04 2005 Hostname: prabahar Port: 8021 -- 2005-07-19T19:00:04 INFO(0) Zope Set effective user to "enmail" Traceback (most recent call last): File "/Programs/Zope/2.7.0/lib/python/Zope/Startup/run.py", line 49, in ? run() File "/Programs/Zope/2.7.0/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/Programs/Zope/2.7.0/lib/python/Zope/Startup/__init__.py", line 51, in start_zope starter.startZope() File "/Programs/Zope/2.7.0/lib/python/Zope/Startup/__init__.py", line 230, in startZope Zope.startup() File "/Programs/Zope/2.7.0/lib/python/Zope/__init__.py", line 45, in startup from Zope.App.startup import startup as _startup File "/Programs/Zope/2.7.0/lib/python/Zope/App/startup.py", line 30, in ? import OFS.Application File "/Programs/Zope/2.7.0/lib/python/OFS/Application.py", line 18, in ? import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ File "/Programs/Zope/2.7.0/lib/python/App/Product.py", line 44, in ? from HelpSys.HelpSys import ProductHelp File "/Programs/Zope/2.7.0/lib/python/HelpSys/__init__.py", line 15, in ? import HelpSys File "/Programs/Zope/2.7.0/lib/python/HelpSys/HelpSys.py", line 18, in ? from Products.ZCatalog.ZCatalog import ZCatalog File "/Programs/Zope/2.7.0/lib/python/Products/ZCatalog/__init__.py", line 16, in ? import ZCatalog, Catalog, CatalogAwareness, CatalogPathAwareness, ZClasses File "/Programs/Zope/2.7.0/lib/python/Products/ZCatalog/ZCatalog.py", line 39, in ? from IZCatalog import IZCatalog File "/Programs/Zope/2.7.0/lib/python/Products/ZCatalog/IZCatalog.py", line 236, in ? __doc__ = IZCatalog.__doc__ + __doc__ TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' * Kindly let me know what is the problem ? I didn't know how to update zope.conf file. Kindly guide me how to start zope service regards Prabahar. __ Free antispam, antivirus and 1GB to save all your messages Only in Yahoo! Mail: http://in.mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] installation problem
tyson wrote at 2005-6-20 16:43 -0500: >I got zope 2.8 installed on fedora core 4. Whenever I execute this >command to start zope /usr/local/zope/instance/bin/runzope, I get this >error: > ... >from AccessControl import ImplC as impl > File "/usr/local/zope/lib/python/AccessControl/ImplC.py", line 29, in ? >from ImplPython import RestrictedDTML, SecurityManager >ImportError: No module named ImplPython Are you sure that you have compiled the Zope extensions? I.e. you did "./configure; make; make install"? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] installation problem
--On 20. Juni 2005 16:43:53 -0500 tyson <[EMAIL PROTECTED]> wrote: Hi- I got zope 2.8 installed on fedora core 4. Whenever I execute this command to start zope /usr/local/zope/instance/bin/runzope, I get this error: Error: The object named by "DBTab.ClassFactories.autoClassFactory" could not be imported Traceback (most recent call last): File "/usr/local/zope/lib/python/Zope2/Startup/datatypes.py", line 93, in importable_name package = __import__(n, g, g, component) File "/usr/local/zope/lib/python/DBTab/ClassFactories.py", line 18, in ? import OFS.Uninstalled File "/usr/local/zope/lib/python/OFS/Uninstalled.py", line 16, in ? import SimpleItem, Globals, Acquisition File "/usr/local/zope/lib/python/OFS/SimpleItem.py", line 25, in ? import Globals, App.Management, Acquisition, App.Undo File "/usr/local/zope/lib/python/Globals.py", line 23, in ? import Acquisition, ComputedAttribute, App.PersistentExtra, os File "/usr/local/zope/lib/python/App/PersistentExtra.py", line 16, in ? from class_init import default__class_init__ File "/usr/local/zope/lib/python/App/class_init.py", line 14, in ? from AccessControl.PermissionRole import PermissionRole File "/usr/local/zope/lib/python/AccessControl/__init__.py", line 17, in ? from Implementation import setImplementation File "/usr/local/zope/lib/python/AccessControl/Implementation.py", line 98, in ? setImplementation("C") File "/usr/local/zope/lib/python/AccessControl/Implementation.py", line 51, in setImplementation from AccessControl import ImplC as impl File "/usr/local/zope/lib/python/AccessControl/ImplC.py", line 29, in ? from ImplPython import RestrictedDTML, SecurityManager ImportError: No module named ImplPython (line 914 in file:///usr/local/zope/instance/etc/zope.conf) For help, use /usr/local/zope/lib/python/Zope2/Startup/run.py -h I noticed that this affected other people from some discussions, but I couldn't find any solution. Does anybody have an idea where I can start? My buddy got his working on fedora core 4 fine, so it shouldn't be a problem. When I first compiled zope, I used this command. "./configure --prefix=/usr/loca/zope --with-python=/usr/bin/python2.4". Any help would be much appreciated! Try to compile Zope with a *fresh* Python 2.3.X installation and not with the FC4 Python. 2.4 is btw. not supported as documented and and as posted a hundred times. -aj pgpchYyuwPzBX.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] installation problem
Hi- I got zope 2.8 installed on fedora core 4. Whenever I execute this command to start zope /usr/local/zope/instance/bin/runzope, I get this error: Error: The object named by "DBTab.ClassFactories.autoClassFactory" could not be imported Traceback (most recent call last): File "/usr/local/zope/lib/python/Zope2/Startup/datatypes.py", line 93, in importable_name package = __import__(n, g, g, component) File "/usr/local/zope/lib/python/DBTab/ClassFactories.py", line 18, in ? import OFS.Uninstalled File "/usr/local/zope/lib/python/OFS/Uninstalled.py", line 16, in ? import SimpleItem, Globals, Acquisition File "/usr/local/zope/lib/python/OFS/SimpleItem.py", line 25, in ? import Globals, App.Management, Acquisition, App.Undo File "/usr/local/zope/lib/python/Globals.py", line 23, in ? import Acquisition, ComputedAttribute, App.PersistentExtra, os File "/usr/local/zope/lib/python/App/PersistentExtra.py", line 16, in ? from class_init import default__class_init__ File "/usr/local/zope/lib/python/App/class_init.py", line 14, in ? from AccessControl.PermissionRole import PermissionRole File "/usr/local/zope/lib/python/AccessControl/__init__.py", line 17, in ? from Implementation import setImplementation File "/usr/local/zope/lib/python/AccessControl/Implementation.py", line 98, in ? setImplementation("C") File "/usr/local/zope/lib/python/AccessControl/Implementation.py", line 51, in setImplementation from AccessControl import ImplC as impl File "/usr/local/zope/lib/python/AccessControl/ImplC.py", line 29, in ? from ImplPython import RestrictedDTML, SecurityManager ImportError: No module named ImplPython (line 914 in file:///usr/local/zope/instance/etc/zope.conf) For help, use /usr/local/zope/lib/python/Zope2/Startup/run.py -h I noticed that this affected other people from some discussions, but I couldn't find any solution. Does anybody have an idea where I can start? My buddy got his working on fedora core 4 fine, so it shouldn't be a problem. When I first compiled zope, I used this command. "./configure --prefix=/usr/loca/zope --with-python=/usr/bin/python2.4". Any help would be much appreciated! -Tyson ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )