Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError ao tentar atualizar da 1.0.5 à 1.1.5.3 #524

Closed
hvelarde opened this issue Sep 11, 2018 · 1 comment
Closed

KeyError ao tentar atualizar da 1.0.5 à 1.1.5.3 #524

hvelarde opened this issue Sep 11, 2018 · 1 comment

Comments

@hvelarde
Copy link
Member

hvelarde commented Sep 11, 2018

Qual versão do produto você está usando e em qual sistema operacional?

  • Portal Padrão 1.1.5.1
  • Plone 4.3.9 (4313)
  • CMF 2.2.9
  • Zope 2.13.24
  • Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
  • PIL 2.7.0 (Pillow)

Possui plugins adicionados além dos definidos numa instalação padrão do Portal Padrão?

Não.

Está utilizando o buildout padrão como o usado em https://github.com/plonegovbr/portal.buildout?

Sim.

Quais são os passos para reproduzir o problema?

Rodar os upgrade steps do brasil.gov.portal.

A aplicação forneceu algum erro no console ou na interface?

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 Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 11, in prefs_reinstallProducts
   - <FSPythonScript at /idg/portal_quickinstaller/prefs_reinstallProducts>
   - Line 11
  Module Products.CMFPlone.QuickInstallerTool, line 101, in upgradeProduct
  Module Products.GenericSetup.upgrade, line 166, in doStep
  Module brasil.gov.portal.upgrades.v10600.handler, line 14, in install_product
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 603, in installProduct
   - __traceback_info__: ('brasil.gov.portlets',)
  Module Products.GenericSetup.tool, line 379, in runAllImportStepsFromProfile
   - __traceback_info__: profile-brasil.gov.portlets:default
  Module Products.GenericSetup.tool, line 1386, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1099, in upgradeProfile
  Module Products.GenericSetup.upgrade, line 166, in doStep
  Module collective.cover.upgrades, line 144, in upgrade_carousel_tiles_custom_url
  Module zope.component.hookable, line 33, in __call__
  Module zope.component.hooks, line 104, in adapter_hook
  Module collective.cover.tiles.data, line 27, in __init__
  Module collective.cover.tiles.data, line 36, in applyTileConfigurations
KeyError: 'header'
@hvelarde
Copy link
Member Author

o problema parece uma mudança na configuração do tile: o campo header não existe no tile do collective.cover mas a informação está presente na configuração do tile de carrossel do IDG.

vai ser necessário algum tipo de monkey patch para solucionar isso.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant