Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer
hi all, u disregard that one - the ZMI is at /manage of course :-) It works but zodbverify seems to complain about more than it should: Found 4 records that could not be loaded. Exceptions and how often they happened: ImportError: No module named ZODBMountPoint.MountedObject: 1

Re: [Zope] Zope 4 migration

2019-12-11 Thread Jürgen Gmach
Hi Michael, we are all in the same boat with migrating old projects. Although there is some pain, I am very happy that Zope is kept alive. Imagine you had to rewrite all Zope based applications from scratch. There was an enormous effort from both the Zope and the Plone community to port it to

Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer
Hello Jürgen, On Wed, Dec 11, 2019 at 12:47:13PM +, Jürgen Gmach wrote: > So, how did you start Zope? ../4.1.3/bin/runwsgi -v etc/zope.ini (my instance home is outside the virtual environment I installed Zope in) I suppose I can send a signal to runwsgi to shut it down properly but which

[Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer
hi all, Python 2 is nearing end of life and the next weeks will be a horrible time of migration and swearing for me. I will simply abandon many old projects and websites but there is still a lot to do. I have started looking into Zope 4. The recommended way to install it is to use zc.buildout:

Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer
hi all, I made a first test with Zope 4 under Python 2 and my old ZODB. I followed the instruction to delete all objects in the Products folder and pack the ZODB with Zope 2: https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html#delete-zodb-objects-that-no-longer-exist-under-zope-4

Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Am 11.12.2019 um 13:44 schrieb Michael Brunnbauer : […] > It works but zodbverify seems to complain about more than it should: > > Found 4 records that could not be loaded. > Exceptions and how often they happened: > ImportError: No module named ZODBMountPoint.MountedObject: 1 > ImportError: No

Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Hi Michael, Am 11.12.2019 um 12:42 schrieb Michael Brunnbauer : […] > I have started looking into Zope 4. The recommended way to install it is to > use zc.buildout: > > python3.7 -m venv . > bin/pip install -U pip zc.buildout > bin/buildout > > Python 2 does not have a venv module and the

Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Am 11.12.2019 um 14:03 schrieb Michael Brunnbauer : […] > I did not mention zodbupdate, only zodbverify. Should I use zodbupdate > even in the step from Zope 2 to 4 with Python 2? Best practice is to follow the upgrade steps described in the documentation. Do not experiment with other ways unless