Re: Zope 4 migration

Michael Brunnbauer <[email protected]> Fri, 13 Dec 2019 11:45:06 +0100
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
--===============5908242709023283711==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK"
Content-Disposition: inline


--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Hello Michael,

thanks. I'll install Products.TemporaryFolder to avoid the warnings but wil=
l=20
replace /temp_folder with a normal folder as recommended by the maintainers
of the Sessions product. Now let's see how the more complicated setups cope
with Zope 4 - LOL.

Regards,

Michael Brunnbauer

On Fri, Dec 13, 2019 at 07:46:29AM +0100, Michael Howitz wrote:
> Am 12.12.2019 um 10:22 schrieb Michael Brunnbauer <[email protected]>:
> [???]
> > Thank you very much for your help. I have some reservations about insta=
lling
> > Products.TemporaryFolder.
>=20
> You seem only to need ZODBMountPoint. But maybe you do not use server sid=
e sessions so you can live without TemporaryFolder which needs ZODBMountPoi=
nt to mount the temporary folder.
> There is https://github.com/zopefoundation/Products.TemporaryFolder/issue=
s/12 to extract ZODBMountPoint into its own package. Feel free to comment t=
here if you actually need ZODBMountPoint without TemporaryFolder.
>=20
> > See here:
> >=20
> > https://pypi.org/project/Products.Sessions/
> >=20
> > "The default session support under Zope 2 relied on Products.TemporaryF=
older
> >  for storing session data, which in turn used the tempstorage package.
> >  tempstorage is no longer recommended because it has unfixed and possib=
ly
> >  unfixable issues under Zope 4 that lead to corrupted temporary storage=
s.???
>=20
> This is only the case when using tempstorage, a RAM based storage impleme=
ntation.
> You could also configure an additional ZODB for the server side session d=
ata and mount it instead of using Products.TemporaryFolder.
> This makes server side sessions persistent between restarts.
>=20
> > Also, for me this means installing 8 Products after installing Zope wit=
h pip:
> > Sessions, ExternalMethod, PythonScripts, ZSQLMethods, ZMySQLDA, MailHos=
t,
> > TemporaryFolder, SiteErrorLog.
>=20
> That???s right, some Products were part of Zope2 or install dependencies.
> Zope 4 is a but more lightweight. So you have to install the Products you=
 need.
>=20
> > Would the standard zc.buildout install already contain some of those?
>=20
> No, you have to add them to buildout.cfg.
>=20
> > I somehow got attached to the pip way over the years but maybe I should
> > really switch.
>=20
> If you know how to use pip: It???s okay to use it.
> I personally find Buildout more convenient.
>=20
> --
> Mit freundlichen Gr=FC=DFen
> Michael Howitz
>=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

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature; name="signature.asc"

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

iF0EARECAB0WIQTAkMfrYFFSaeacJ6u+j6gOLbYeuQUCXfNrsAAKCRC+j6gOLbYe
uY3MAKC32J7ZF4UAHJoL2wFjl/tKV/5HvQCgiF+zd3DPsLs2AXpztsOjVLTkcjg=
=Sv6+
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--

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

--===============5908242709023283711==--