Skip to content

Instantly share code, notes, and snippets.

View GhitaB's full-sized avatar
🇷🇴
♬ ¯\_(ツ)_/¯ ♬·¯·ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ

Ghiță Bizău GhitaB

🇷🇴
♬ ¯\_(ツ)_/¯ ♬·¯·ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ
View GitHub Profile
@GhitaB
GhitaB / Fix Plone Non-zero version length. Versions aren't supported
Created July 26, 2019 15:53
Fix Plone Non-zero version length. Versions aren't supported
Errors:
ValueErrorZEO.zrpc.connection in call
Non-zero version length. Versions aren't supported
ReadConflictError: database read conflict error
Solution:
In plone container: execute shell
$ bin/instance debug
$ app._p_jar.root._root['zc.async']
$ del app._p_jar.root._root['zc.async']
@GhitaB
GhitaB / Plone change display
Last active August 2, 2017 14:49
Plone change display
/selectViewTemplate?templateId=folder_listing
(Pdb) pp self.context.portal_setup.getSortedImportSteps()
(u'rolemap',
u'sharing',
u'plone-difftool',
u'properties',
u'eea.facetednavigation.various',
u'toolset',
u'cookie_authentication',
u'catalog',
u'workflow',