Problems after the migration of Plone 4.3.9 to 5.0.4

At the time of the Plone UPGRADE had the following problem:

KeyError: 'Interface plone.app.iterate.interfaces.IIterateSettings defines a field checkout_workflow_policy, for which there is no record.'

I managed to solve this problem by removing the "checkout_workflow_policy" in zmi->portal_properties -> site_properties.

By accessing the site it was broken all layout, enabled the default theme and the layoutwas correct.

When trying to access the contents of the site are some folders with the following error:

Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in call
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 857, in render
Module 29d14707bc868bca955ed2352a50e53b.py, line 1223, in render_master
Module 29d14707bc868bca955ed2352a50e53b.py, line 420, in render_content
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 843, in __fill_content_core
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 767, in render_listing
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 122, in render_content_core
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 874, in render_listing
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 744, in __fill_entries
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 473, in render_entries
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 732, in __fill_entry
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 140, in render_listitem
Module chameleon.utils, line 406, in getitem
NameError: getText

  • Expression: "item_icon/url"
  • Filename: ... ucts/CMFPlone/skins/plone_content/folder_tabular_view.pt
  • Location: (line 46: col 52)
  • Source: tal:condition="item_icon/url"
    ^^^^^^^^^^^^^
  • Expression: "nocall:context/aq_explicit/getText"
  • Filename:
  • Location: (line 0: col 0)
  • Arguments: repeat: {...} (0)
    template: <ImplicitAcquisitionWrapper folder_tabular_view at 0x7ff7510235a0>
    modules: <instance - at 0x2700710>
    here: <ImplicitAcquisitionWrapper infraestrutura at 0x7ff76f4dd280>
    user: <ImplicitAcquisitionWrapper - at 0x7ff751023d20>
    nothing: <NoneType - at 0x772b90>
    container: <ImplicitAcquisitionWrapper techbrlink at 0x7ff76f4dd910>
    default: <object - at 0x7ff7a1350bd0>
    request: <instance - at 0x7ff77bcef440>
    wrapped_repeat: <SafeMapping - at 0x7ff78116eb50>
    traverse_subpath: <list - at 0x7ff78434d998>
    loop: {...} (1)
    context: <ImplicitAcquisitionWrapper infraestrutura at 0x7ff76f4dd280>
    translate: <function translate at 0x7ff788c9bed8>
    root: <ImplicitAcquisitionWrapper Zope at 0x7ff76f4ddaf0>
    options: {...} (1)
    target_language: <NoneType - at 0x772b90>

I'm trying to migrate all contents to Dexterity but the following error is displayed:

2016-04-27T14:08:35 INFO plone.app.contenttypes.migration.migration Migrating /techbrlink/base-de-conhecimento/tech-revisar

2016-04-27T14:09:28 ERROR plone.app.contenttypes.indexers exception while trying to convert blob contents to "text/plain" for <File at /techbrlink/base-de-conhecimento/tech-revisar/nivel-1/implantacao/geracao-de-cartas-para-condominio/template-mala-direta-doc>. Error: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/plone.app.contenttypes-1.2.11-py2.7.egg/plone/app/contenttypes/indexers.py", line 95, in SearchableText_file
filename=filename)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/TransformEngine.py", line 171, in convertTo
usedby=usedby, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/chain.py", line 51, in convert
data = transform.convert(orig, data, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/Transform.py", line 196, in convert
return self._v_transform.convert(*args, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/word_to_html.py", line 52, in convert
doc = document(orig_file, data)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/office_wvware.py", line 14, in init
commandtransform.init(self, name, binary="wvHtml")
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/commandtransform.py", line 24, in init
self.binary = bin_search(binary)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/utils.py", line 56, in bin_search
(binary, os.pathsep.join(bin_search_path)))
MissingBinary: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin

2016-04-27T14:10:37 ERROR plone.app.contenttypes.indexers exception while trying to convert blob contents to "text/plain" for <File at /techbrlink/base-de-conhecimento/tech-revisar/nivel-1/implantacao/geracao-de-cartas-para-condominio/template-mala-direta-doc>. Error: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/plone.app.contenttypes-1.2.11-py2.7.egg/plone/app/contenttypes/indexers.py", line 95, in SearchableText_file
filename=filename)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/TransformEngine.py", line 171, in convertTo
usedby=usedby, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/chain.py", line 51, in convert
data = transform.convert(orig, data, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/Transform.py", line 196, in convert
return self._v_transform.convert(*args, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/word_to_html.py", line 52, in convert
doc = document(orig_file, data)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/office_wvware.py", line 14, in init
commandtransform.init(self, name, binary="wvHtml")
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/commandtransform.py", line 24, in init
self.binary = bin_search(binary)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/utils.py", line 56, in bin_search
(binary, os.pathsep.join(bin_search_path)))
MissingBinary: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin

2016-04-27T14:11:07 INFO plone.app.contenttypes.migration.migration Migrating /techbrlink/base-de-conhecimento/tech-revisar/nivel-1/implantacao

2016-04-27T14:11:08 ERROR ATCT.migration Failed migration for object /techbrlink/base-de-conhecimento/tech-revisar/nivel-1/implantacao (Folder -> Folder)
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/walker.py", line 192, in migrate
migrator.migrate()
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 220, in migrate
method()
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 577, in migrate_children
self.new._setObject(id, obj, set_owner=0)
File "/plone/buildout-cache/eggs/Products.BTreeFolder2-2.14.0-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 461, in _setObject
notify(ObjectAddedEvent(ob, self, id))
File "/plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 110, in modifiedContent
refs = getObjectsFromLinks(obj, links)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 85, in getObjectsFromLinks
obj, extra = findObject(base, path)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 45, in findObject
obj = uuidToObject(uid)
File "/plone/buildout-cache/eggs/plone.app.uuid-1.1-py2.7.egg/plone/app/uuid/utils.py", line 35, in uuidToObject
return brain.getObject()
File "/plone/buildout-cache/eggs/Products.ZCatalog-3.0.2-py2.7.egg/Products/ZCatalog/CatalogBrains.py", line 108, in getObject
return parent.restrictedTraverse(path[-1])
File "/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Traversable.py", line 317, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Traversable.py", line 300, in unrestrictedTraverse
raise e
KeyError: 'geracao-de-cartas-para-condominio'

2016-04-27T14:11:08 ERROR ATCT.migration FATAL: Migration has failed, aborting transaction!

2016-04-27T14:11:08 ERROR Zope.SiteErrorLog 1461777068.710.322109841317 http://capri.brlink.int:8080/techbrlink/@@atct_migrator
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module plone.z3cform.layout, line 66, in call
Module plone.z3cform.layout, line 50, in update
Module z3c.form.form, line 228, in update
Module plone.app.z3cform.csrf, line 21, in execute
Module z3c.form.action, line 98, in execute
Module z3c.form.button, line 315, in call
Module z3c.form.button, line 170, in call
Module plone.app.contenttypes.migration.browser, line 384, in handle_migrate
Module plone.app.contenttypes.migration.browser, line 219, in call
Module plone.app.contenttypes.migration.migration, line 344, in migrate_folders
Module plone.app.contenttypes.migration.migration, line 52, in migrate
Module Products.contentmigration.basemigrator.walker, line 144, in go
Module Products.contentmigration.basemigrator.walker, line 223, in migrate
MigrationError: MigrationError for obj at /techbrlink/base-de-conhecimento/tech-revisar/nivel-1/implantacao (Folder -> Folder):
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/walker.py", line 192, in migrate
migrator.migrate()
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 220, in migrate
method()
File "/plone/buildout-cache/eggs/Products.contentmigration-2.1.12-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 577, in migrate_children
self.new._setObject(id, obj, set_owner=0)
File "/plone/buildout-cache/eggs/Products.BTreeFolder2-2.14.0-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 461, in _setObject
notify(ObjectAddedEvent(ob, self, id))
File "/plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 110, in modifiedContent
refs = getObjectsFromLinks(obj, links)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 85, in getObjectsFromLinks
obj, extra = findObject(base, path)
File "/plone/buildout-cache/eggs/plone.app.linkintegrity-3.0.4-py2.7.egg/plone/app/linkintegrity/handlers.py", line 45, in findObject
obj = uuidToObject(uid)
File "/plone/buildout-cache/eggs/plone.app.uuid-1.1-py2.7.egg/plone/app/uuid/utils.py", line 35, in uuidToObject
return brain.getObject()
File "/plone/buildout-cache/eggs/Products.ZCatalog-3.0.2-py2.7.egg/Products/ZCatalog/CatalogBrains.py", line 108, in getObject
return parent.restrictedTraverse(path[-1])
File "/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Traversable.py", line 317, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Traversable.py", line 300, in unrestrictedTraverse
raise e
KeyError: 'geracao-de-cartas-para-condominio'

I tried to migrate all except "folder", the migration is completed but some errors are displayed:

2016-04-27T13:59:34 ERROR plone.app.contenttypes.indexers exception while trying to convert blob contents to "text/plain" for <File at /techbrlink/clientes/inativos/aws/salao-vip/arquivos/proposta-aws>. Error: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/plone.app.contenttypes-1.2.11-py2.7.egg/plone/app/contenttypes/indexers.py", line 95, in SearchableText_file
filename=filename)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/TransformEngine.py", line 171, in convertTo
usedby=usedby, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/chain.py", line 51, in convert
data = transform.convert(orig, data, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/Transform.py", line 196, in convert
return self._v_transform.convert(*args, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/word_to_html.py", line 52, in convert
doc = document(orig_file, data)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/office_wvware.py", line 14, in init
commandtransform.init(self, name, binary="wvHtml")
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/commandtransform.py", line 24, in init
self.binary = bin_search(binary)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/utils.py", line 56, in bin_search
(binary, os.pathsep.join(bin_search_path)))
MissingBinary: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin

2016-04-27T13:59:45 ERROR plone.app.contenttypes.indexers exception while trying to convert blob contents to "text/plain" for <File at /techbrlink/clientes/inativos/brspot-bronze/10-26-8-lemcon-americas/arquivos/datas-do-jogos-enviado-pelo-marcio-melo>. Error: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin
Traceback (most recent call last):
File "/plone/buildout-cache/eggs/plone.app.contenttypes-1.2.11-py2.7.egg/plone/app/contenttypes/indexers.py", line 95, in SearchableText_file
filename=filename)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/TransformEngine.py", line 171, in convertTo
usedby=usedby, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/chain.py", line 51, in convert
data = transform.convert(orig, data, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/Transform.py", line 196, in convert
return self._v_transform.convert(*args, **kwargs)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/word_to_html.py", line 52, in convert
doc = document(orig_file, data)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/transforms/office_wvware.py", line 14, in init
commandtransform.init(self, name, binary="wvHtml")
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/commandtransform.py", line 24, in init
self.binary = bin_search(binary)
File "/plone/buildout-cache/eggs/Products.PortalTransforms-2.2.0-py2.7.egg/Products/PortalTransforms/libtransforms/utils.py", line 56, in bin_search
(binary, os.pathsep.join(bin_search_path)))
MissingBinary: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/bin:/usr/bin

2016-04-27T14:02:44 INFO plone.app.contenttypes.migration.browser The following types were not migrated:
Folder
News Item
Image
Collection
Topic
Link
File
Event

Migration finished in: 0:18:49

Migration statictics:
{'BlobFile': {'amount_migrated': 443,
'old_meta_type': 'ATBlob',
'type_name': 'File'},
'BlobImage': {'amount_migrated': 539,
'old_meta_type': 'ATBlob',
'type_name': 'Image'},
'Document': {'amount_migrated': 786,
'old_meta_type': 'ATDocument',
'type_name': 'Document'}}

State before:
{'ATBlob': 982, 'ATDocument': 786, 'ATFolder': 810, 'Container': 1025}

Stats after:
{'ATFolder': 810,
'Container': 1025,
'Document': 786,
'File': 443,
'Image': 539}

When trying to access folders that have not been correctly migrated the following error is displayed:

2016-04-27T14:16:12 ERROR Zope.SiteErrorLog 1461777372.210.454934257846 http://capri.brlink.int:8080/techbrlink/base-de-conhecimento/folder_tabular_view
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in call
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 857, in render
Module 29d14707bc868bca955ed2352a50e53b.py, line 1223, in render_master
Module 29d14707bc868bca955ed2352a50e53b.py, line 420, in render_content
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 843, in __fill_content_core
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 767, in render_listing
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 122, in render_content_core
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 874, in render_listing
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 744, in __fill_entries
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 473, in render_entries
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 732, in __fill_entry
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 140, in render_listitem
Module chameleon.utils, line 406, in getitem
NameError: getText

  • Expression: "item_icon/url"
  • Filename: ... ucts/CMFPlone/skins/plone_content/folder_tabular_view.pt
  • Location: (line 46: col 52)
  • Source: tal:condition="item_icon/url"
    ^^^^^^^^^^^^^
  • Expression: "nocall:context/aq_explicit/getText"
  • Filename:
  • Location: (line 0: col 0)
  • Arguments: repeat: {...} (0)
    template: <ImplicitAcquisitionWrapper folder_tabular_view at 0x7ff763d67140>
    modules: <instance - at 0x2700710>
    here: <ImplicitAcquisitionWrapper base-de-conhecimento at 0x7ff763b07a00>
    user: <ImplicitAcquisitionWrapper - at 0x7ff763d67550>
    nothing: <NoneType - at 0x772b90>
    container: <ImplicitAcquisitionWrapper techbrlink at 0x7ff763b07be0>
    default: <object - at 0x7ff7a1350bd0>
    request: <instance - at 0x7ff75a139488>
    wrapped_repeat: <SafeMapping - at 0x7ff7530b5f70>
    traverse_subpath: <list - at 0x7ff78a2abe18>
    loop: {...} (1)
    context: <ImplicitAcquisitionWrapper base-de-conhecimento at 0x7ff763b07a00>
    translate: <function translate at 0x7ff78ba8f2a8>
    root: <ImplicitAcquisitionWrapper Zope at 0x7a32280>
    options: {...} (1)
    target_language: <NoneType - at 0x772b90>

2016-04-27T14:16:12 ERROR Zope.SiteErrorLog 1461777372.360.713142672838 http://capri.brlink.int:8080/techbrlink/base-de-conhecimento/folder_tabular_view
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in call
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 857, in render
Module 29d14707bc868bca955ed2352a50e53b.py, line 1223, in render_master
Module 29d14707bc868bca955ed2352a50e53b.py, line 420, in render_content
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 843, in __fill_content_core
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 767, in render_listing
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 122, in render_content_core
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 874, in render_listing
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 744, in __fill_entries
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 473, in render_entries
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 732, in __fill_entry
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 140, in render_listitem
Module chameleon.utils, line 406, in getitem
NameError: getText

  • Expression: "item_icon/url"
  • Filename: ... ucts/CMFPlone/skins/plone_content/folder_tabular_view.pt
  • Location: (line 46: col 52)
  • Source: tal:condition="item_icon/url"
    ^^^^^^^^^^^^^
  • Expression: "nocall:context/aq_explicit/getText"
  • Filename:
  • Location: (line 0: col 0)
  • Arguments: repeat: {...} (0)
    template: <ImplicitAcquisitionWrapper folder_tabular_view at 0x79b1eb0>
    modules: <instance - at 0x2700710>
    here: <ImplicitAcquisitionWrapper base-de-conhecimento at 0x881e960>
    user: <ImplicitAcquisitionWrapper - at 0x79b1aa0>
    nothing: <NoneType - at 0x772b90>
    container: <ImplicitAcquisitionWrapper techbrlink at 0x7ff781676230>
    default: <object - at 0x7ff7a1350bd0>
    request: <instance - at 0x7ff75b60d998>
    wrapped_repeat: <SafeMapping - at 0x7ff75bbdc680>
    traverse_subpath: <list - at 0x7ff77be33cb0>
    loop: {...} (1)
    context: <ImplicitAcquisitionWrapper base-de-conhecimento at 0x881e960>
    translate: <function translate at 0x7ff78bb17ed8>
    root: <ImplicitAcquisitionWrapper Zope at 0x881ed20>
    options: {...} (1)
    target_language: <NoneType - at 0x772b90>

2016-04-27T14:18:05 ERROR Zope.SiteErrorLog 1461777485.390.119072693346 http://capri.brlink.int:8080/techbrlink/atendimento/folder_tabular_view
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in call
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 857, in render
Module 29d14707bc868bca955ed2352a50e53b.py, line 1223, in render_master
Module 29d14707bc868bca955ed2352a50e53b.py, line 420, in render_content
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 843, in __fill_content_core
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 767, in render_listing
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 122, in render_content_core
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 874, in render_listing
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 744, in __fill_entries
Module dba0f9e1a7f6c003a481071bc8de317b.py, line 473, in render_entries
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 732, in __fill_entry
Module 78e84ede7d4077a57cd93ec530bd4ec1.py, line 140, in render_listitem
Module chameleon.utils, line 406, in getitem
NameError: getText

  • Expression: "item_icon/url"
  • Filename: ... ucts/CMFPlone/skins/plone_content/folder_tabular_view.pt
  • Location: (line 46: col 52)
  • Source: tal:condition="item_icon/url"
    ^^^^^^^^^^^^^
  • Expression: "nocall:context/aq_explicit/getText"
  • Filename:
  • Location: (line 0: col 0)
  • Arguments: repeat: {...} (0)
    template: <ImplicitAcquisitionWrapper folder_tabular_view at 0x77336e0>
    modules: <instance - at 0x2700710>
    here: <ImplicitAcquisitionWrapper atendimento at 0x7ff780f3ac80>
    user: <ImplicitAcquisitionWrapper - at 0x7ff78b028af0>
    nothing: <NoneType - at 0x772b90>
    container: <ImplicitAcquisitionWrapper techbrlink at 0x7ff780f3a960>
    default: <object - at 0x7ff7a1350bd0>
    request: <instance - at 0x7ff75b60d8c0>
    wrapped_repeat: <SafeMapping - at 0x7ff75a1b2c00>
    traverse_subpath: <list - at 0x7ff784b31170>
    loop: {...} (1)
    context: <ImplicitAcquisitionWrapper atendimento at 0x7ff780f3ac80>
    translate: <function translate at 0x7ff788b6af50>
    root: <ImplicitAcquisitionWrapper Zope at 0x7ff780f3a460>
    options: {...} (1)
    target_language: <NoneType - at 0x772b90>

Can anybody help me?

This is probably the first issue you must face: it seems you have wrong information in your site catalog.
My recommendation: perform an "update catalog" first, but it's better to do this on the Plone 4, so before moving the database to the Plone 5 installation.

2 Likes

I think this is a bug in Plone 'somewhere', since i had the same error in 5.0.4. .

webcoutier dropdownmenu was also complaining about missing 'item_icon"
I just removed item_icon from the template and did not think about it anymore

PS: Be sure to check that you dont have any customized templates ( in /portal_skins/custom or in /portal_view_customization
..... or in your theme for that matter.

2 Likes

@espenmn
Sorry for the delay to give a return.
Removed the 'item icon "and managed to open the contents that were in trouble.
Thank you very much.

@keul
Sorry for the delay to give a return.
I performed a 'update catalog "still in Plone 4, but the error persisted.
Thank you anyway!
I realized what our @espenmn friend and ran the access to the contents that were in trouble.