Error migrating from Plone 4.3.15 to Plone 5

Hello,

I'm trying to migrate from plone 4.3.15 to Plone 5.1

I recently migrated successfully from 4.3.1 to 4.3.15. In the way I had to change from LinguaPlone 4.1.3 to plone.app.multilingual 2.0. But I succeded to have a working 4.3.15 site with plone.app.multilingual.

Before this migration, I uninstalled, all not necesary add-ons. Before the migration It has only 6 addons active.

Tipos de contenido Dexterity 2.0.8
Integración de JQuery en Plone 1.7.2
Integración de Herramientas de JQuery en Plone 1.5.5
archetypes.multilingual 2.0
plone.app.collection 1.0.10
plone.app.multilingual 2.0.0

The I tried to migration with the following eggs only:
index = https://pypi.python.org/simple/
extends =
base.cfg

versions.cfg

https://dist.plone.org/release/5-latest/versions.cfg

eggs =
Plone
Pillow

Products.LinguaPlone

plone.app.multilingual[archetypes]

The buildout went ok, I started the client1 with fg no errors there.

But when I when I go to http://server:8080/ in order to run update steps: I get the following:
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use persistent.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR Zope.SiteErrorLog 1520932077.440.858401551557 http://intranet2:8080/intranet
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.BaseRequest, line 444, in traverse
Module ZPublisher.BeforeTraverse, line 97, in call
Module Products.CMFCore.PortalObject, line 75, in before_publishing_traverse
Module zope.event, line 31, in notify
Module zope.component.event, line 27, in dispatch
Module zope.component._api, line 139, in subscribers
Module zope.interface.registry, line 442, in subscribers
Module zope.interface.adapter, line 607, in subscribers
Module zope.component.event, line 36, in objectEventNotify
Module zope.component._api, line 139, in subscribers
Module zope.interface.registry, line 442, in subscribers
Module zope.interface.adapter, line 607, in subscribers
Module plone.browserlayer.layer, line 17, in mark_layer
Module zope.component._api, line 179, in getAllUtilitiesRegisteredFor
Module ZODB.Connection, line 800, in setstate
Module ZODB.serialize, line 622, in setGhostState
Module ZODB.serialize, line 615, in getState
Module copy_reg, line 48, in _reconstructor
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Couldn't load state for five.localsitemanager.registry.PersistentComponents 0x15
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZServerPublisher exception caught
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZServer/PubCore/ZServerPublisher.py", line 31, in init
response=b)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 455, in publish_module
environ, debug, request, response)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 276, in publish_module_standard
if request is not None: request.close()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/BaseRequest.py", line 220, in close
notify(EndRequestEvent(None, self))
File "/usr/local/Plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-4.4.1-py2.7.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-4.4.1-py2.7.egg/zope/component/_api.py", line 139, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7fa8d0e76a28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 10:07:57 ERROR ZODB.Connection Shouldn't load state for five.localsitemanager.registry.PersistentComponents 0x15 when the connection is closed
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 790, in setstate
raise ConnectionStateError(msg)
ConnectionStateError: Shouldn't load state for five.localsitemanager.registry.PersistentComponents 0x15 when the connection is closed
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView cmf_legacy refers to a non-existing path 'Products.CMFPlone:skins/cmf_legacy'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView plone_3rdParty refers to a non-existing path 'Products.CMFPlone:skins/plone_3rdParty'
(self.id, reg_key), UserWarning)
2018-03-13 10:07:57 ERROR ZODB.Connection Shouldn't load state for five.localsitemanager.registry.PersistentComponents 0x15 when the connection is closed
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 790, in setstate
raise ConnectionStateError(msg)
ConnectionStateError: Shouldn't load state for five.localsitemanager.registry.PersistentComponents 0x15 when the connection is closed
2018-03-13 10:07:57 ERROR ZServerPublisher exception caught
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZServer/PubCore/ZServerPublisher.py", line 31, in init
response=b)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 455, in publish_module
environ, debug, request, response)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 276, in publish_module_standard
if request is not None: request.close()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/BaseRequest.py", line 220, in close
notify(EndRequestEvent(None, self))
File "/usr/local/Plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-4.4.1-py2.7.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-4.4.1-py2.7.egg/zope/component/_api.py", line 139, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/local/Plone/buildout-cache/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 790, in setstate
raise ConnectionStateError(msg)
ConnectionStateError: Shouldn't load state for five.localsitemanager.registry.PersistentComponents 0x15 when the connection is closed
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView plone_content refers to a non-existing path 'Products.CMFPlone:skins/plone_content'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView plone_forms refers to a non-existing path 'Products.CMFPlone:skins/plone_forms'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView plone_styles refers to a non-existing path 'Products.CMFPlone:skins/plone_styles'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView PasswordReset refers to a non-existing path 'Products.PasswordResetTool:skins/PasswordReset'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView mimetypes_icons refers to a non-existing path 'Products.MimetypesRegistry:skins/mimetypes_icons'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView LanguageTool refers to a non-existing path 'Products.PloneLanguageTool:skins/LanguageTool'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView tinymce refers to a non-existing path 'Products.TinyMCE:skins/tinymce'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView referencebrowser refers to a non-existing path 'archetypes.referencebrowserwidget:skins/referencebrowser'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView querywidget refers to a non-existing path 'archetypes.querywidget:skins/querywidget'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView sunburst_styles refers to a non-existing path 'plonetheme.sunburst:skins/sunburst_styles'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView sunburst_templates refers to a non-existing path 'plonetheme.sunburst:skins/sunburst_templates'
(self.id, reg_key), UserWarning)
/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView sunburst_images refers to a non-existing path 'plonetheme.sunburst:skins/sunburst_images'
(self.id, reg_key), UserWarning)

I´m a newbie, so, maybe I did something wrong, but I'm stuck here, please how do I solve this?

Thanks in advance for your help.
Iker Bilbao

This is the problem.

If you have already migrated from Products.LinguaPlone to plone.app.multilingual then you don't need Products.LinguaPlone in your eggs anymore. I don't think there is a LinguaPlone version that works with Plone 5.

To make the step smaller, I would say:

  • Go back to Plone 4.3.15.
  • Deactivate LinguaPlone from the add-ons control panel, if you haven't done so already.
  • Remove Products.LinguaPlone from the eggs in Plone 4.3.15.
  • Rerun the 4.3.15 buildout and restart your instance and see if you still have this problem.

Thank you mauritsvanrees.

I went back to the 4.3.15, but if I remove the egg from buildout.cfg, rerun the buildout and restart the site, I get what if think it's the same error in version 4.3.15:

SystemError: error return without exception set
2018-03-13 12:07:31 ERROR ZODB.Connection Couldn't load state for 0x141b
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7f845aa7aa28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 12:07:31 ERROR ZODB.Connection Couldn't load state for 0x141b
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7f845aa7aa28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 12:07:31 ERROR ZODB.Connection Couldn't load state for 0x141b
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7f845aa7aa28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 12:07:31 ERROR ZODB.Connection Couldn't load state for 0x141b
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7f845aa7aa28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))
2018-03-13 12:07:31 ERROR ZServerPublisher exception caught
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZServer/PubCore/ZServerPublisher.py", line 31, in init
response=b)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 455, in publish_module
environ, debug, request, response)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/Publish.py", line 276, in publish_module_standard
if request is not None: request.close()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/ZPublisher/BaseRequest.py", line 220, in close
notify(EndRequestEvent(None, self))
File "/usr/local/Plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.7-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/usr/local/Plone/Python-2.7/lib/python2.7/copy_reg.py", line 48, in _reconstructor
obj = object.new(cls)
TypeError: ('object.new(SyncedLanguages) is not safe, use Persistence.Persistent.new()', <function _reconstructor at 0x7f845aa7aa28>, (<class 'Products.LinguaPlone.vocabulary.SyncedLanguages'>, <type 'object'>, None))

How can I remove those references in other to migrate correctly?

Thank you.

Did you really deactivate LinguaPlone from the add-ons control panel before removing it from the eggs? Properly uninstalling/deactivating LinguaPlone might solve this. That is a guess, but I thought LinguaPlone had reasonable uninstall code.

If that doesn't help, you could also create an issue: https://github.com/plone/Products.LinguaPlone

Otherwise it might help to use https://pypi.python.org/pypi/wildcard.fixpersistentutilities to remove a persistent utility like this. That package works fine if you use it well and know what you are doing but it comes with warnings. Please try it out on a copy first.

Hi maurits,

I deactivated the addon from control panel before removing the egg. That's sure.

I followed this guide to migrate from LinguaPlone to multilingual:

https://github.com/plone/plone.app.multilingual/issues/181

I removed all linguaPlone references with wildcar.fixpersistentutilities, but the problem persisted. The site worked fine with that egg installed but not activated so I decided to go on. Unfortunately, in plone 5 didn't work even deactivated.

So the question is how to remove those SyncedLanguages from version 4.3.15? Anyone solved this?