Re: Zope 4 migration
Michael Brunnbauer <[email protected]> Wed, 11 Dec 2019 13:44:14 +0100
| Newsgroups | gmane.comp.web.zope.general |
|---|---|
| Message-ID | <[email protected]> |
--===============3929681979423900954== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline --huq684BweRXVnRxX Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi all, uhhhh 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 ImportError: No module named SiteErrorLog.SiteErrorLog: 2 ImportError: No module named Product: 1 Regards, Michael Brunnbauer On Wed, Dec 11, 2019 at 01:18:20PM +0100, Michael Brunnbauer wrote: >=20 > hi all, >=20 > 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: >=20 > https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html#delete-= zodb-objects-that-no-longer-exist-under-zope-4 >=20 > Then I shut down the old Zope and copied the Data.fs* files to Zope 4.=20 > Now on calling http://hostname:8080 in my browser (the ZMI), I get: >=20 > Error Type: KeyError > Error Value: zope_quick_start >=20 > Am I missing something here? My old Zope is still 2.13.27 and not 2.13.29= but > I can't find anything in the Changelog hinting that this could be relevan= t. >=20 > Regards, >=20 > Michael Brunnbauer >=20 > On Wed, Dec 11, 2019 at 12:42:04PM +0100, Michael Brunnbauer wrote: > >=20 > > hi all, > >=20 > > Python 2 is nearing end of life and the next weeks will be a horrible t= ime > > of migration and swearing for me. I will simply abandon many old=20 > > projects and websites but there is still a lot to do. > >=20 > > I have started looking into Zope 4. The recommended way to install it i= s to > > use zc.buildout: > >=20 > > python3.7 -m venv . > > bin/pip install -U pip zc.buildout > > bin/buildout > >=20 > > Python 2 does not have a venv module and the recommended way to migrate= is to > > first migrate to Zope 4 with Python 2. Does the buildout thing work with > > Python 2? > >=20 > > I managed to install Zope 4 using pip and get an instance running with > > runwsgi. Now I am wondering how to stop it? How am I supposed to stop a > > running instance? There seems to be no command and no option in the GUI. > >=20 > > Regards, > >=20 > > Michael Brunnbauer > >=20 > > --=20 > > ++ Michael Brunnbauer > > ++ netEstate GmbH > > ++ Geisenhausener Stra=DFe 11a > > ++ 81379 M=FCnchen > > ++ Tel +49 89 32 19 77 80 > > ++ Fax +49 89 32 19 77 89=20 > > ++ E-Mail [email protected] > > ++ https://www.netestate.de/ > > ++ > > ++ Sitz: M=FCnchen, HRB Nr.142452 (Handelsregister B M=FCnchen) > > ++ USt-IdNr. DE221033342 > > ++ Gesch=E4ftsf=FChrer: Michael Brunnbauer, Franz Brunnbauer > > ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel >=20 >=20 >=20 > --=20 > ++ Michael Brunnbauer > ++ netEstate GmbH > ++ Geisenhausener Stra=DFe 11a > ++ 81379 M=FCnchen > ++ Tel +49 89 32 19 77 80 > ++ Fax +49 89 32 19 77 89=20 > ++ E-Mail [email protected] > ++ https://www.netestate.de/ > ++ > ++ Sitz: M=FCnchen, HRB Nr.142452 (Handelsregister B M=FCnchen) > ++ USt-IdNr. DE221033342 > ++ Gesch=E4ftsf=FChrer: Michael Brunnbauer, Franz Brunnbauer > ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel > _______________________________________________ > Zope maillist - [email protected] > https://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope-dev ) --=20 ++ Michael Brunnbauer ++ netEstate GmbH ++ Geisenhausener Stra=DFe 11a ++ 81379 M=FCnchen ++ Tel +49 89 32 19 77 80 ++ Fax +49 89 32 19 77 89=20 ++ E-Mail [email protected] ++ https://www.netestate.de/ ++ ++ Sitz: M=FCnchen, HRB Nr.142452 (Handelsregister B M=FCnchen) ++ USt-IdNr. DE221033342 ++ Gesch=E4ftsf=FChrer: Michael Brunnbauer, Franz Brunnbauer ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTAkMfrYFFSaeacJ6u+j6gOLbYeuQUCXfDknAAKCRC+j6gOLbYe uQu+AJ44qJCDRLVTDQj1FbzGOij4uLv/fACgoy8xBuLEs87g+JX8juyWFCjLI9E= =uAfB -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- --===============3929681979423900954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zope maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev ) --===============3929681979423900954==--