Ticket #13391 (confirmed Bug)
Can't migrate comments after upgrade to Plone 4.1 and later 4.2.1, comments cause Python process hang on page save, qPloneComments don't work anymore.
Reported by: | info AT vallant DOT si | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.x |
Component: | Upgrade/Migration | Version: | 4.2 |
Keywords: | Cc: |
Description (last modified by kleist) (diff)
We get this error when trying to required migrate of old comments on Plone Discussion. There are probably some old comments containing čšž characters. Beside that comments brake same pages and prevent them from saving. When hitting save the Python process just hangs on 100% and after long time we get proxy error, no reply from remote server. Plone is behind Apache. We couldn't find any significant info in event and Z2.log
Error on migration of old comments.
Traceback (innermost last): Module ZPublisher.Publish, line 126, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 46, in call_object Module plone.app.discussion.browser.migration, line 206, in __call__ Module plone.app.discussion.browser.migration, line 111, in migrate_replies Module plone.app.discussion.conversation, line 197, in addComment Module zope.event, line 31, in notify Module zope.component.event, line 24, in dispatch Module zope.component._api, line 136, in subscribers Module zope.component.registry, line 321, in subscribers Module zope.interface.adapter, line 585, in subscribers Module zope.component.event, line 32, in objectEventNotify Module zope.component._api, line 136, in subscribers Module zope.component.registry, line 321, in subscribers Module zope.interface.adapter, line 585, in subscribers Module plone.app.discussion.comment, line 382, in notify_moderator Module zope.i18n, line 126, in translate Module zope.i18n.translationdomain, line 78, in translate Module zope.i18n.translationdomain, line 140, in _recursive_translate Module zope.i18n, line 164, in interpolate Module zope.i18n, line 159, in replace UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 222: ordinal not in range(128)
Version Overview (zeoserver)
Plone 4.2.1.1 (4207)
CMF 2.2.6
Zope 2.13.16
Python 2.6.6 (r266:84292, Feb 2 2012, 23:39:57) [GCC 4.4.3]
PIL 1.1.6
[versions] Cheetah = 2.2.1 Products.PloneFormGen = 1.7.0 Products.PloneHotfix20121106 = 1.0 Products.PythonField = 1.1.3 Products.Quota = 1.0b3 Products.TALESField = 1.1.3 Products.TemplateFields = 1.2.5 ZopeSkel = 2.18 collective.js.jqueryui = 1.8.16.9 collective.recipe.backup = 2.7 plone.recipe.command = 1.1 plone.recipe.osxcontroller = 0.4 plone.recipe.unifiedinstaller = 4.1 quintagroup.captcha.core = 0.3 quintagroup.formlib.captcha = 1.4 quintagroup.plonecaptchas = 4.2 quintagroup.plonecomments = 4.1.8 quintagroup.z3cform.captcha = 1.0.1 raptus.multilanguagefields = 1.1a7 raptus.multilanguageplone = 1.0 wc.pageturner = 1.3.4
Problem started after Plone upgrade with contained updated Plone discussion app. Until then we used qPloneComments. After this qPloneComments stopped working, even if they're enabled there are still just Plone Discussion comments. Is there any way to prevent installation of Plone Discussion= plone.app.discussion. We tried also using latest plone.app.discussion==2.2.2 with no help. qPloneComment version is 4.1.8. We would appreciate any solution. Thank you.