Re: Zone 4 issue: The 'Paste' distribution was not found and is required by the application
Michael Howitz <[email protected]> Mon, 17 Jun 2019 08:15:25 +0200
| Newsgroups | gmane.comp.web.zope.general |
|---|---|
| Message-ID | <[email protected]> |
--===============6458601825413741882== Content-Type: multipart/signed; boundary="Apple-Mail=_B54A3F4D-3EF0-473D-95DF-6A4D9D5EB0CA"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_B54A3F4D-3EF0-473D-95DF-6A4D9D5EB0CA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Am 14.06.2019 um 17:12 schrieb Giampiero Benvenuti = <giampiero.benvenuti-jacJaabyINpm6/[email protected]>: > Thanks Jens & Alberto, >=20 > you right, I guess the paste version was not up to date: Hm, the problem smells like = https://github.com/zopefoundation/Zope/issues/452 and Paste is actually missing from requirements-full.txt Last time I was not able to reproduce the issue. But today it was possible. So I am going to reopen the issue. Paste is needed because `etc/zope.ini` uses egg:Paste#translogger >=20 > ./bin/pip install paste > Collecting paste > Using cached = https://files.pythonhosted.org/packages/fc/8e/287533a1515f2e9eaf34be06f35e= 8f170d0cb625a2ada2c5e41c0b9ae1e5/Paste-3.0.8-py2.py3-none-any.whl > Requirement already satisfied: six>=3D1.4.0 in = ./lib/python3.6/site-packages (from paste) (1.12.0) > Installing collected packages: paste > Successfully installed paste-3.0.8 >=20 > ./bin/runwsgi -v etc/zope.ini > Starting server in PID 3172. > Serving on http://localhost:8080 >=20 >=20 > Zope4.0 it=E2=80=99s now up and running! >=20 >> On 14 Jun 2019, at 16:34 48, Jens Vagelpohl <[email protected]> = wrote: >>=20 >> You can run =E2=80=9Cbin/pip install Paste=E2=80=9D in the = virtualenv. >>=20 >> jens >>=20 >>=20 >>=20 >>> On 14. Jun 2019, at 13:46 , Giampiero Benvenuti = <giampiero.benvenuti-jacJaabyINpm6/[email protected]> wrote: >>>=20 >>> Hello, >>>=20 >>> I was wondering if somebody run into this error, and how should I = take care of it: >>>=20 >>> python3.6 -m venv zope4.0 >>> cd zope4.0 >>> bin/pip install -r = https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt >>> bin/mkwsgiinstance -d . >>> bin/runwsgi -v etc/zope.ini >>>=20 >>> Error: >>> File = "/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.= py", line 778, in resolve >>> raise DistributionNotFound(req, requirers) >>> pkg_resources.DistributionNotFound: The 'Paste' distribution was not = found and is required by the application >>>=20 >>> Any idea? >>>=20 >>> Thanks so much, >>>=20 >>> Giampiero >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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 > _______________________________________________ > 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 ) -- Mit herzlichen Gr=C3=BC=C3=9Fen Michael Howitz --Apple-Mail=_B54A3F4D-3EF0-473D-95DF-6A4D9D5EB0CA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEzRcZ5x+BCFYq+baDYQXEIR/92gQFAl0HL/0ACgkQYQXEIR/9 2gSwIAf/XZHvIwKlrF+PyL3jWBsCX+wrou31o+9sGuhhriS1Y+Nb9mbdeKSiWTt+ LeuK3x1OGDoJe12BfoFJtsHSlKOK2Pb/5qjeyibCHxdoLsk+owyMSQUOvbQVSMQI /3h2257/JVs1FgvpDBOXixUS8givMdcVmjaADsfnJ9OrPSuncmH1JA8vT1BJMRxb f/Xka6OslP1Yc2b7YgVs2pPzWgmlArZTZf+3tm+F2i7zjfOTRA0wnvD5V4zc+xhK T7H4vdqOoUsqljQRmQDCqHng7hm80ZTGnDd/69Z7uirrLu44ZC2x1Pm1bWD1335v I6NqyyDMi7GL0bdpwNJmDcC93Ok6Ng== =4lbM -----END PGP SIGNATURE----- --Apple-Mail=_B54A3F4D-3EF0-473D-95DF-6A4D9D5EB0CA-- --===============6458601825413741882== 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 ) --===============6458601825413741882==--