Hi Mikko,
Sorry , I messed up the information.
Kindly see the details.
I am using Zope version :Zope2-2.13.9.
I am trying to backup an existing Zope server on a new system.I had setup the
instance and copied the Data.fs.
After executing zope by bin/runzope command , I get the message like this on
the console.
/opt/ZopeInstances/qatestdb/Products/CMFCore/FSFile.py:23: DeprecationWarning:
zope.app.content_types has moved to zope.contenttype. Import of
zope.app.content_types will become unsupported in Zope 3.5
from zope.app.content_types import guess_content_type
/opt/ZopeInstances/qatestdb/Products/DCWorkflow/Expression.py:27:
DeprecationWarning: Products.PageTemplates.TALES has moved to zope.tales.tales.
Import of Products.PageTemplates.TALES will become unsupported in 2.12
from Products.PageTemplates.TALES import SafeMapping
/opt/Zope-2.11/lib/python/OFS/Application.py:809: DeprecationWarning:
__init__.py of Products.Epoz has a long deprecated 'methods' attribute.
'methods' support might be removed in Zope 2.11 or a later feature release.
Please use the 'legacy' argument of registerClass instead if the methods are
constructors. Or refactor the product using adapters.
DeprecationWarning)
/opt/ZopeInstances/qatestdb/Products/CMFDefault/skin/configure.zcml:6:
DeprecationWarning: Creating layers via ZCML has been deprecated. The
browser:layer directive will be removed in Zope 3.5. Layers are now interfaces
extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need
further registration.
<browser:layer
/opt/ZopeInstances/qatestdb/Products/CMFDefault/skin/configure.zcml:10:
DeprecationWarning: Creating skins via ZCML has been deprecated. The
browser:skin directive will be removed in Zope 3.5. Skins are now interfaces
extending zope.publisher.interfaces.browser.IBrowserRequest. They are
registered using the 'interface' directive.
<browser:skin
/opt/Zope-2.11/lib/python/zope/configuration/config.py:689: DeprecationWarning:
The five:traversable statement is no longer needed and will be removed in Zope
2.12.
actions = self.handler(context, **args)
/opt/Zope-2.11/lib/python/zope/configuration/config.py:181: DeprecationWarning:
zope.app.event.interfaces has moved to zope.lifecycleevent.interfaces. Import
of zope.app.event.interfaces will become unsupported in Zope 3.5
mod = __import__(mname, *_import_chickens)
/opt/Zope-2.11/lib/python/zope/configuration/config.py:196: DeprecationWarning:
IObjectEvent is deprecated. IObjectEvent has moved to zope.component.interfaces
obj = getattr(mod, oname)
But when I give localhost:/8090/manage , I get the error message like this
Site Error
An error was encountered while publishing this resource.
Error Type: TypeError
Error Value: iteration over non-sequence
________________________________
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your
patience.
I attaching log file for your reference.
I feel I failed to include ZCGI support with Zope. I am not sure about
configuring the ZCGI.What I have done was copied the ZCGI folder into my zope
instances' Products folder and created cgi-bin folder
I am not aware of further steps.
Please help.
Regards
Bincy
________________________________
From: Mikko Ohtamaa <[email protected]>
To: Bincy K Philip <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Monday, 30 July 2012 3:18 PM
Subject: Re: [Setup] Zope Publish Error
Hi,
As the question lacks crucial details why and what you are trying to accomplish
I suggest you study community guidelines for asking the question:
http://plone.org/help
... so that you can make yourself well understood.
-Mikko
On Mon, Jul 30, 2012 at 10:45 AM, Bincy K Philip <[email protected]>
wrote:
Hi,
>
>
>I got an error while publishing the zope contents.
>
>
>Module ZPublisher.Publish, line 110, in publish
> Module ZPublisher.BaseRequest, line 586, in traverse
> Module ZPublisher.BaseRequest, line 691, in old_validation
>TypeError: iteration over non-sequence
>
>
>
>Can anybody help me to sort out this.
>
>
>RegardsBincy
>
>_______________________________________________
>Setup mailing list
>[email protected]
>https://lists.plone.org/mailman/listinfo/plone-setup
>
>--
>Mikko Ohtamaa
>http://opensourcehacker.com
>http://twitter.com/moo9000
>
>
>
>012-07-30T17:06:37 WARNING OFS.Uninstalled Could not import class 'ZCGIFolder'
from module 'Products.ZCGI.ZCGI'
------
2012-07-30T17:06:37 WARNING OFS.Uninstalled Could not import class 'UserFolder'
from module 'OFS.userfolder'
------
2012-07-30T17:06:37 WARNING OFS.Uninstalled Could not import class
'ZCGIExtensionMap' from module 'Products.ZCGI.ZCGI'
------
2012-07-30T17:06:37 ERROR Application Couldn't install ZCGI
Traceback (most recent call last):
File "/opt/Zope-2.11/lib/python/OFS/Application.py", line 758, in
install_product
global_dict, global_dict, silly)
File "/opt/ZopeInstances/qatestdb/Products/ZCGI/__init__.py", line 27, in ?
import ZCGI
File "/opt/ZopeInstances/qatestdb/Products/ZCGI/ZCGI.py", line 123, in ?
import Zope
ImportError: No module named Zope
------
2012-07-30T17:06:37 INFO Zope Ready to handle requests
------
2012-07-30T17:06:43 WARNING ZServer unhandled connect event
------
2012-07-30T17:06:45 ERROR Zope.SiteErrorLog 1343648205.690.753183757389
http://localhost:8090/manage
Traceback (innermost last):
Module ZPublisher.Publish, line 110, in publish
Module ZPublisher.BaseRequest, line 586, in traverse
Module ZPublisher.BaseRequest, line 691, in old_validation
TypeError: iteration over non-sequence
------
2012-07-30T17:06:55 ERROR Zope.SiteErrorLog 1343648215.830.763464981548
http://localhost:8090/manage
Traceback (innermost last):
Module ZPublisher.Publish, line 110, in publish
Module ZPublisher.BaseRequest, line 586, in traverse
Module ZPublisher.BaseRequest, line 691, in old_validation
TypeError: iteration over non-sequence
------
2012-07-30T17:07:04 INFO SignalHandler Caught signal SIGINT
------
2012-07-30T17:07:04 INFO Z2 Shutting down
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup