plonegovbr / brasil.gov.portal

Implementação em Plone do Portal Padrão da Identidade Digital de Governo
https://plone.org.br/gov/
35 stars 31 forks source link

KeyError: 'Interface `collective.cover.controlpanel.ICoverSettings` defines a field `grid_system`, for which there is no record #281

Closed tkimnguyen closed 8 years ago

tkimnguyen commented 8 years ago

I've run into the same error but don't quite understand what to do since the patch in #225 is for the Brazil portal...hmmm... I should probably have noticed that this is the Brazil portal repo, not collective.cover :)

Ubuntu 14.04.4 LTS, Plone 4.3.8, with these eggs:

eggs =
    Plone
    Pillow
    collective.blog.star
    Products.ImageEditor
    collective.disqus
    Products.ContentWellPortlets
    collective.plonetruegallery
    collective.ptg.allnewest
    collective.ptg.flickr
    collective.ptg.picasa
    wildcard.foldercontents
    collective.easyslider
    Products.CalendarX
    Products.PloneFormGen==1.7.17
    plonesocial.suite
    collective.portlet.twitter
    collective.cover
    webcouturier.dropdownmenu
    quintagroup.portlet.static
    wildcard.tinymceplugins.youtube
    collective.aviary
    quintagroup.plonecaptchas
    quintagroup.pfg.captcha
    z3c.jbot
    collective.prettyphoto
    collective.listingviews
    uwosh.pfg.d2c
    plone.contentratings
    uwosh.meeting
    plone.app.drafts

and these versions:

[versions]
zc.buildout = 2.5.0
setuptools = 20.1.1
Pillow = 3.0.0
MarkupSafe = 0.23
Products.DocFinderTab = 1.0.5
bobtemplates.plone = 1.0.1
buildout.sanitycheck = 1.0.2
collective.checkdocs = 0.2
collective.recipe.backup = 3.0.0
mr.bob = 0.1.2
pkginfo = 1.2.1
plone.recipe.unifiedinstaller = 4.3.2
requests = 2.9.1
requests-toolbelt = 0.6.0
twine = 1.6.5
zest.pocompile = 1.4
colorama = 0.3.7

Products.CalendarX = 1.0.4
Products.ContentWellPortlets = 4.3.0
Products.ImageEditor = 3.0.0
Products.PythonField = 1.1.3
Products.TemplateFields = 1.2.5
collective.aviary = 1.0b1
collective.blog.feeds = 2.1
collective.blog.portlets = 1.6
collective.blog.star = 1.2.1
collective.blog.view = 1.5.2
collective.disqus = 2.1
collective.easyslider = 1.4.1
collective.listingviews = 1.0b3
collective.plonetruegallery = 3.4.7
collective.portlet.twitter = 1.0rc1
collective.prettyphoto = 0.6
collective.ptg.allnewest = 1.2.8
collective.ptg.carousel = 0.2.2
collective.ptg.contactsheet = 1.1.2
collective.ptg.contentflow = 1.0.3
collective.ptg.easyslider = 0.5.1
collective.ptg.fancybox = 1.2
collective.ptg.flickr = 0.1.1
collective.ptg.galleria = 1.3.0
collective.ptg.galleriffic = 1.1.2.1
collective.ptg.galleryimage = 1.0
collective.ptg.garagedoor = 0.1
collective.ptg.highslide = 1.1.1
collective.ptg.nivogallery = 1.1
collective.ptg.nivoslider = 1.0.6
collective.ptg.picasa = 0.1.1
collective.ptg.pikachoose = 1.0.4
collective.ptg.presentation = 1.1
collective.ptg.quicksand = 0.3
collective.ptg.s3slider = 1.1
collective.ptg.scrollable = 0.3
collective.ptg.sheetgallery = 1.2
collective.ptg.shufflegallery = 0.2
collective.ptg.simplegallery = 0.5.4
collective.ptg.supersized = 1.2
collective.ptg.thumbnailzoom = 1.0.5.1
collective.ptg.uigallery = 0.1.1
contentratings = 1.1
oauthlib = 1.0.3
plone.contentratings = 1.1
plone.recipe.command = 1.1
plone.recipe.precompiler = 0.6
plonesocial.suite = 0.5.3
quintagroup.pfg.captcha = 1.0.5
quintagroup.plonecaptchas = 4.2
quintagroup.portlet.static = 0.7
requests-oauthlib = 0.6.1
uwosh.meeting = 0.5.1
uwosh.pfg.d2c = 2.4.6
webcouturier.dropdownmenu = 2.3.1
wildcard.foldercontents = 1.3.2
wildcard.tinymceplugins.youtube = 1.0
z3c.jbot = 0.7.2

# Required by:
# uwosh.meeting==0.5.1
Products.ATBackRef = 2.1

# Required by:
# Products.CalendarX==1.0.4
Products.AdvancedQuery = 3.0.4

# Required by:
# uwosh.pfg.d2c==2.4.6
Products.TALESField = 1.1.3

# Required by:
# Products.fatsyndication==1.0.1
Products.basesyndication = 1.0.0

# Required by:
# collective.blog.feeds==2.1
Products.fatsyndication = 1.0.1

# Required by:
# collective.blog.star==1.2.1
collective.flowplayer = 4.2.1

# Required by:
# collective.disqus==2.1
collective.prettydate = 1.2.2

# Required by:
# collective.blog.star==1.2.1
collective.twitterportlet = 0.10

# Required by:
# collective.disqus==2.1
disqus-python = 0.4.2

# Required by:
# collective.ptg.flickr==0.1.1
flickrapi = 2.1.2

# Required by:
# collective.ptg.picasa==0.1.1
gdata = 2.0.18

# Required by:
# collective.flowplayer==4.2.1
hachoir-core = 1.3.3

# Required by:
# collective.flowplayer==4.2.1
hachoir-metadata = 1.3.3

# Required by:
# collective.flowplayer==4.2.1
hachoir-parser = 1.3.4

# Required by:
# wildcard.foldercontents==1.3.2
jarn.jsi18n = 1.1

# Required by:
# plonesocial.suite==0.5.3
loremipsum = 1.0.5

# Required by:
# collective.aviary==1.0b1
# collective.disqus==2.1
# collective.plonetruegallery==3.4.7
# plonesocial.suite==0.5.3
plone.api = 1.5

# Required by:
# plonesocial.suite==0.5.3
plonesocial.activitystream = 0.5.6

# Required by:
# plonesocial.suite==0.5.3
plonesocial.microblog = 0.5.3

# Required by:
# plonesocial.suite==0.5.3
plonesocial.network = 0.6.1

# Required by:
# plonesocial.suite==0.5.3
plonesocial.theme = 0.5.4

# Required by:
# collective.twitterportlet==0.10
python-twitter = 2.2

# Required by:
# collective.blog.star==1.2.1
qi.portlet.TagClouds = 1.35

# Required by:
# quintagroup.pfg.captcha==1.0.5
quintagroup.captcha.core = 0.4.3

# Required by:
# quintagroup.plonecaptchas==4.2
quintagroup.formlib.captcha = 1.4.3

# Required by:
# quintagroup.plonecaptchas==4.2
quintagroup.z3cform.captcha = 1.0.3

# for collective.cover
plone.app.jquery = 1.8.3

collective.cover = 1.0a12
plone.app.blocks = 3.0.1

# Required by:
# collective.cover==1.0a12
collective.js.bootstrap = 3.3.6

# Required by:
# collective.cover==1.0a12
collective.js.galleria = 1.2.5

# Required by:
# collective.cover==1.0a12
plone.app.tiles = 2.2.0

# Required by:
# collective.cover==1.0a12
plone.tiles = 1.5.1

plone.app.drafts = 1.0b3
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 grokcore.view.components, line 150, in __call__
  Module grokcore.view.components, line 154, in _render_template
  Module five.grok.components, line 130, in render
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 888, in do_useMacro
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 954, in do_defineSlot
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 858, in do_defineMacro
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 954, in do_defineSlot
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 946, in do_defineSlot
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/Plone-4.3.8/buildout-cache/eggs/collective.cover-1.0a12-py2.7.egg/collective/cover/browser/templates/view.pt
   - Line 17, Column 4
   - Expression: <PathExpr standard:u'layout/render_view'>
   - Names:
      {'args': (),
       'container': <Cover at /EJNonDiazo/main-page>,
       'context': <Cover at /EJNonDiazo/main-page>,
       'default': <object object at 0x7fbdf36fd500>,
       'here': <Cover at /EJNonDiazo/main-page>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fbddcbd6100>,
       'request': <HTTPRequest, URL=http://localhost:14080/EJNonDiazo/main-page/view>,
       'root': <Application at >,
       'static': None,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fbdddcfab90>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'kimadmin'>,
       'view': <collective.cover.browser.cover.View object at 0x7fbdd35d1710>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fbdd35d18d0>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 155, in _eval
  Module Products.PageTemplates.Expressions, line 117, in render
  Module collective.cover.layout, line 127, in render_view
  Module zope.browserpage.viewpagetemplatefile, line 83, in __call__
  Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 819, in do_loop_tal
  Module zope.tales.tales, line 682, in setRepeat
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/Plone-4.3.8/buildout-cache/eggs/collective.cover-1.0a12-py2.7.egg/collective/cover/layout_templates/pagelayout.pt
   - Line 10, Column 12
   - Expression: <PythonExpr (view.get_layout(mode))>
   - Names:
      {'args': (),
       'context': <Cover at /EJNonDiazo/main-page>,
       'default': <object object at 0x7fbdf36fd500>,
       'loop': {},
       'nothing': None,
       'options': {'mode': 'view'},
       'repeat': {},
       'request': <HTTPRequest, URL=http://localhost:14080/EJNonDiazo/main-page/view>,
       'template': <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at 0x7fbddcd18f90>,
       'view': <collective.cover.layout.PageLayout object at 0x7fbdd35e3790>,
       'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at 0x7fbdd35e3ed0>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (view.get_layout(mode))
  Module <string>, line 1, in <module>
  Module collective.cover.layout, line 41, in get_layout
  Module plone.registry.registry, line 77, in forInterface
KeyError: 'Interface `collective.cover.controlpanel.ICoverSettings` defines a field `grid_system`, for which there is no record.'
tkimnguyen commented 8 years ago

Closing since this is a problem with cover, not the Brazil portal... https://github.com/collective/collective.cover/issues/395