Ticket #51 (closed defect: fixed)
TypeError at frontpage with fresh ATVideo + PlumiSkin installation
| Reported by: | Ville Rantala (vilpo) | Owned by: | andycat |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.1 |
| Component: | PlumiSkin | Severity: | |
| Keywords: | Cc: | ||
| Who will test this: |
Description
I got "TypeError?: iteration over non-sequence" when I tried to view the portal frontpage after installing ATVideo and PlumiSkin? on a fresh plone site. I have Zope 2.9.7-final, python 2.4.4 and Plone 2.5.3-final installed. More details about the error at http://paste.plone.org/15826 .
Attachments
Change History
comment:3 follow-up: ↓ 4 Changed 6 years ago by maco@…
same here! just for the record:
Zope Version
(Zope 2.9.7-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Jul 25 2007, 13:00:45) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)]
comment:4 in reply to: ↑ 3 Changed 6 years ago by maco@…
hope this helps (error log):
Time
2007-07-25 13:23
User Name
admin (admin)
Request URL
http://localhost:8080/shmu/index_html
Exception Type
TypeError
Exception Value
iteration over non-sequence
Traceback (innermost last):
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CacheSetup.patch_cmf, line 18, in FSPT_pt_render
* Module Products.CacheSetup.patch_utils, line 9, in call_pattern
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.CacheSetup.patch_cmf, line 68, in PT_pt_render
* Module Products.CacheSetup.patch_utils, line 9, in call_pattern
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /shmu/index_html>
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 780, in do_defineSlot
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 715, in do_condition
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 780, in do_defineSlot
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 715, in do_condition
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 691, in do_loop_tal
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 715, in do_condition
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 507, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:PlumiSkin/skins/plumi/portlet_tag_cloud_explorer.pt
Line 51, Column 4
Expression: <PythonExpr tuple(w for w in tag_cloud_tool.getPortletTags(here) if w[0] not in ('vpip','featured') and w[2] > 0)>
Names:
{'container': <PloneSite at /shmu>,
'context': <PloneSite at /shmu>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb70b7a6c>,
'here': <PloneSite at /shmu>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xbe344ec>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb705a6ac>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xbe344ec>,
'request': <HTTPRequest, URL=http://localhost:8080/shmu/index_html>,
'root': <Application at >,
'template': <FSPageTemplate at /shmu/index_html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: tuple(w for w in tag_cloud_tool.getPortletTags(here) if w[0] not in ('vpip','featured') and w[2] > 0)
* Module Python expression "tuple(w for w in tag_cloud_tool.getPortletTags(here) if w[0] not in ('vpip','featured') and w[2] > 0)", line 1, in <expression>
* Module AccessControl.ZopeGuards, line 201, in guarded_iter
* Module AccessControl.ZopeGuards, line 171, in __init__
TypeError: iteration over non-sequence
Display traceback as text
REQUEST
form
-C ''
cookies
tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrxpUIBHoAARkP6w'
_ZopeId '22043717A285ieAgMlU'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
_oai_cache {199604204: <Products.CMFCore.ActionInformation.oai instance at 0xbfe7dcc>}
TraversalRequestNameStack []
AUTHENTICATED_USER <PropertiedUser 'admin'>
URL 'http://localhost:8080/shmu/index_html'
_pts_is_rtl False
_pts_catalog_names_plone_en-gb ['PloneTranslations.i18n-plone-en.po']
SERVER_URL 'http://localhost:8080'
AUTHENTICATION_PATH ''
traverse_subpath []
_ec_cache {199604204: <Products.PageTemplates.TALES.Context instance at 0xbfe7ccc>}
PUBLISHED <FSPageTemplate at /shmu/index_html>
_pts_negotiator_cache_language {('sq', 'zh-cn', 'it', 'uk', 'en', 'bg', 'tr', 'zh-hk', 'ja', 'zh', 'cy', 'rm', 'fu', 'fi', 'ru', 'sv', 'lt', 'el', 'hy', 'mi', 'id', 'ca', 'vi', 'hu', 'bn', 'ro', 'nn', 'cs', 'hr', 'da', 'kn', 'sm', 'et', 'ka', 'nl', 'zh-tw', 'no', 'fa', 'hi', 'my', 'pt-br', 'af', 'to', 'sl', 'de', 'fr', 'es', 'ta', 'pl', 'eo', 'he', 'sk', 'sr-latn', 'ar', 'ko', 'te', 'pt', 'eu', 'sr', 'ca-fr', 'ca-es', 'zh-cn', 'ca-ad', 'fr-ch', 'de-lu', 'ko-kr', 'es-ec', 'es-pe', 'es-cl', 'es-ve', 'zh-hk', 'tr-tr', 'en-bz', 'en-ie', 'zh', 'ca-it', 'es-sv', 'sh', 'it-it', 'de-ch', 'no-bok', 'ja-jp', 'es-es', 'es-pa', 'en-us', 'nl-nl', 'eu-es', 'zh-sg', 'nn-no', 'nl-be', 'en-za', 'es-co', 'fr-mc', 'de-li', 'es-cr', 'nb', 'en-jm', 'es-hn', 'es-ni', 'es-mx', 'es-uy', 'en-tt', 'en-zw', 'es-gt', 'nb-no', 'en-ca', 'it-ch', 'hr-hr', 'es-pr', 'es-py', 'fr-lu', 'bs', 'hr-ba', 'fr-be', 'es-bo', 'zh-mo', 'fr-fr', 'de-de', 'en-nz', 'es-ar', 'en-ph', 'no-nyn', 'es-us', 'es-do', 'en-gb', 'de-at', 'sv-fi', 'fr-ca', 'en-au'): 'en-gb', ('fr', 'en'): 'en'}
_pts_catalog_names_tag_cloud_explorer_en []
ACTUAL_URL 'http://localhost:8080/shmu'
URL0 http://localhost:8080/shmu/index_html
URL1 http://localhost:8080/shmu
URL2 http://localhost:8080
BASE0 http://localhost:8080
BASE1 http://localhost:8080
BASE2 http://localhost:8080/shmu
BASE3 http://localhost:8080/shmu/index_html
environ
HTTP_COOKIE 'tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrxpUIBHoAARkP6w"; _ZopeId="22043717A285ieAgMlU"'
SERVER_SOFTWARE 'Zope/(Zope 2.9.7-final, python 2.4.4, linux2) ZServer/1.1 Plone/2.5.3-final'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/shmu'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1185365908
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20061201 Firefox/2.0.0.5 (Ubuntu-feisty)'
HTTP_REFERER 'http://localhost:8080/shmu/prefs_install_products_form'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '127.0.0.1'
PATH_TRANSLATED '/shmu'
SERVER_PORT '8080'
HTTP_HOST 'localhost:8080'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'en-gb,en;q=0.5'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_KEEP_ALIVE '300'
comment:5 follow-up: ↓ 6 Changed 6 years ago by andycat
- Status changed from new to closed
- Resolution set to fixed
comment:6 in reply to: ↑ 5 Changed 6 years ago by anonymous
- Status changed from closed to reopened
- Resolution fixed deleted
Replying to andycat:
I'm running from current svn symlinked to a new instance and still getting the error.
Here's the info:
[root@vweb1 Plumi-svn]# svn co https://svn.plone.org/svn/collective/Plumi/trunk/
Fetching external item into 'trunk/ATVideo' Checked out external at revision 46480.
[snip]
Fetching external item into 'trunk/PlumiSkin' Checked out external at revision 46480.
Fetching external item into 'trunk/indytube' Checked out external at revision 199.
Checked out revision 46480.
[root@vweb1 Plumi-svn]# /opt/Zope-2.9/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc.
Directory: /home/zope298 Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance.
Username: admin Password: Verify password:
[root@vweb1 Plumi-svn]# cd /home/zope298/Products [root@vweb1 Products]# for ii in /usr/local/src/Plone-2.5.3-final/*; do ln -s $ii .; done ln: `./README.txt': File exists [root@vweb1 Products]# for ii in ls /usr/local/src/Plumi-svn/trunk | grep -v "\."; do ln -f -s /usr/local/src/Plumi-svn/trunk/$ii.; done
[root@vweb1 Products]# cd ..
[root@vweb1 zope298]# vi etc/zope.conf
(added effective-user plone)
[root@vweb1 zope298]# chown -R plone:plone var var/* log log/*
[root@vweb1 zope298]# bin/runzope /home/zope298/Products/Marshall/handlers/init.py:38: UserWarning?: libxml2 not available. Unable to register libxml2 based marsha llers
warnings.warn('libxml2 not available. Unable to register libxml2 based ' \
/home/zope298/Products/ATMediaFile/init.py:54: DeprecationWarning?: The module, 'Products.CMFCore.CMFCorePermissions' is a deprec ated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import CMFCorePermissions
/home/zope298/Products/ATMediaFile/init.py:56: DeprecationWarning?: PloneUtilities? is deprecated and will be removed in Plone 3.0 , please import from Products.CMFPlone.utils instead.
from Products.CMFPlone.PloneUtilities? import ToolInit?
/home/zope298/Products/ATCountryWidget/init.py:21: DeprecationWarning?: The product_name parameter of ToolInit? is deprecated and will be ignored in CMF 2.0: Country_Tool
product_name='Country_Tool', icon='www/tool.gif')
/home/zope298/Products/kupu/plone/init.py:32: DeprecationWarning?: The product_name parameter of ToolInit? is deprecated and will be ignored in CMF 2.0: kupu
icon="kupu_icon.gif",
Then add a plone site, add/remove install ATVideo 0.2 build 6 and PlumiSkin? 1.3 then click on home.
