[SOLVED] ValueError: insecure string pickle ```

Anyone seen this error occuring out of the sudden on Plone 5.2/Python 3 site?

  Module chameleon.template, line 209, in render
  Module chameleon.utils, line 75, in raise_with_traceback
  Module chameleon.template, line 187, in render
  Module 4ca387f63775c64ebcc5b27106afa95e.py, line 1750, in render
  Module fac76ee8da75cb24ddd905995267f23c.py, line 444, in render_master
  Module plone.app.layout.globals.layout, line 97, in have_portlets
  Module plone.portlets.manager, line 49, in visible
  Module plone.portlets.manager, line 69, in portletsToShow
  Module plone.portlets.manager, line 72, in allPortlets
  Module plone.memoize.view, line 48, in memogetter
  Module plone.portlets.manager, line 109, in _lazyLoadPortlets
  Module plone.portlets.retriever, line 108, in getPortlets
  Module plone.portlets.assignable, line 58, in getBlacklistStatus
  Module plone.portlets.assignable, line 68, in _getBlacklist
  Module zope.annotation.attribute, line 68, in get
  Module ZODB.Connection, line 795, in setstate
  Module ZODB.serialize, line 633, in setGhostState
  Module ZODB.serialize, line 626, in getState
ValueError: insecure string pickle

Smells a bit like a ZODB issue but not completely clear

Caused by zodbpickle < 1.0.4 (as used by Plone 5.2RC3).
Resolved with zodbpickle >= 1.0.4 (which comes with Plone 5.2 final).

3 Likes

Plone Foundation Code of Conduct