Gero
(gero)
June 9, 2023, 1:35pm
1
Hello,
i'm trying to install a plone modul login lockout
Plone 5.2.2 (5209)
CMF 2.4.8
Zope 4.5.1
Python 3.6.8 (default, Apr 2 2020, 13:34:55) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
PIL 6.2.2 (Pillow)
WSGI : Activé
Serveur : waitress 1.4.4
i tried to install it with buildout, but it installs the 2015 version 0.4 from pypi
and manually i push the directory LoginLockout in products
"Place the Product directory 'LoginLockout' in your 'Products/' directory. Restart Zope."
and it doesn't work, i tried with Products, same it doesn't work.
So how to install this modul manually.
Thank you
alert
(Alessandro Pisa)
June 9, 2023, 2:04pm
2
That is quite an obsolete way to install it.
Probably a new version of the package should be released.
I would open a couple of issues to the repository to kindly ask:
for instructions to be updated
for a new release
While waiting for a release you can use, mr.developer and checkout the repository.
I hope that was clear enough , it might not be easy if you are totally new about Plone development.
Gero
(gero)
June 9, 2023, 2:40pm
3
Thank you,
I had tried with mr developer. Like it had led to nothing. I see that the git tree is fetched under src. But in the plone config I don't see any new modules.
[buildout]
buildout.sanitycheck makes sure you're not running buildout
as root.
extensions =
buildout.sanitycheck
mr.developer
auto-checkout = monPackage
[sources]
monPackage = git *github /collective/Products.LoginLockout.git
ls src/monPackage/
base.cfg bootstrap.sh checkouts.cfg docs Products README.rst setup.py test-4.3.x.cfg test-5.1.x.cfg test-6.0.x.cfg
bootstrap.py buildout.cfg code-analysis.cfg MANIFEST.in Products.LoginLockout.egg-info setup.cfg test-4.1.x.cfg test-5.0.x.cfg test-5.2.x.cfg versions-2.7.cfg
alert
(Alessandro Pisa)
June 9, 2023, 3:23pm
4
Try with this configuration:
[quote="Gero, post:3, topic:17550"]
[buildout]
extensions =
buildout.sanitycheck
mr.developer
auto-checkout = Products.LoginLockout
[instance]
eggs +=
Products.LoginLockout
[sources]
Products.LoginLockout = git https://github.com/collective/Products.LoginLockout.git
Then try:
./bin/develop co Products.LoginLockout
./bin/develop rb
Good luck!
1 Like
Gero
(gero)
June 12, 2023, 7:00am
5
it works perfectly. thanks.
1 Like