Re: Zope 4 migration

Michael Brunnbauer <[email protected]> Wed, 11 Dec 2019 13:18:20 +0100
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
--===============6488624284391459722==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH"
Content-Disposition: inline


--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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 Z=
ODB
with Zope 2:

 https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html#delete-zo=
db-objects-that-no-longer-exist-under-zope-4

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:

 Error Type: KeyError
 Error Value: zope_quick_start

Am I missing something here? My old Zope is still 2.13.27 and not 2.13.29 b=
ut
I can't find anything in the Changelog hinting that this could be relevant.

Regards,

Michael Brunnbauer

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 time
> 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 is =
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 i=
s 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
++  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

--7JfCtLOvnd9MIVvH
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTAkMfrYFFSaeacJ6u+j6gOLbYeuQUCXfDeigAKCRC+j6gOLbYe
uVI0AJ9gVExTUfWLA8Wr01ZOvKkyNg1z5wCePrgjzy1WqWmjDm4YYG4S+L5Ed3M=
=He1N
-----END PGP SIGNATURE-----

--7JfCtLOvnd9MIVvH--

--===============6488624284391459722==
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 )

--===============6488624284391459722==--