#16 — installation fails with "TypeError: iterable argument required"

by (anonymous) — last modified Jan 08, 2009 02:44 PM
State Resolved
Version:
Area Process
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on May 15, 2006
Responsible Maurits van Rees
Target release: 1.1




Installation log returns:

2006-05-15 14:40:13
failed:

  File "/var/lib/zope2.9/instance/intra/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in installProduct
    res=install(portal)

  File "/usr/local/Zope-2.9/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
    try: return f(*args, **kw)

  File "/var/lib/zope2.9/instance/intra/Products/eXtremeManagement/Extensions/Install.py", line 144, in install
    res = install(self)

  File "/usr/local/Zope-2.9/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
    try: return f(*args, **kw)

  File "/var/lib/zope2.9/instance/intra/Products/eXtremeManagement/Extensions/AppInstall.py", line 180, in install
    configurePortalProps(self)

  File "/var/lib/zope2.9/instance/intra/Products/eXtremeManagement/Extensions/AppInstall.py", line 36, in configurePortalProps
    if role not in rolesSeeUnpublishedContent:

TypeError: iterable argument required
Steps to reproduce:
installed on zope 2.9 & plone 2.1
Added by Maurits van Rees on May 15, 2006 08:00 PM
Issue state: unconfirmedopen
Target release: None1.1b
Responsible manager: (UNASSIGNED)maurits
Ah, rolesSeeUnpublishedContent is a property of navtree, but in your case it is not there. I'm not sure if that's a standard Plone instance or if you have customized something. I'll add a check to see if this property exists.

The same is probably true for metaTypesNotToList.

When those properties are not there, I won't add them.
Added by Maurits van Rees on May 15, 2006 08:28 PM
Issue state: openresolved
Fixed now on branches/1.0

Copied to svn trunk as well.

Thanks for reporting this.
Added by (anonymous) on May 16, 2006 08:48 AM
For completeness sake:

A workaround would be:

1. In the ZMI of your Plone site go to portal_properties.

2. Go to navtree_properties.

3. Add a lines field with name rolesSeeUnpublishedContent.

4. This can remain empty. Or fill it with the default values:
Manager
Reviewer
Owner
Added by (anonymous) on May 16, 2006 10:53 AM
THANK YOU, works now funky!

No responses can be added.