ZOPE 4.1 Script (Python) missing?

I am following tutorial on ZOPE but it seems there is no way to add a Script (Python) into it. I was able to add the Page Template, but the Script options it seems is missing?

"PythonScripts" are now in a separate package (Products.PythonScripts). Install this package to get them.

3 Likes

Hi @balavec
as you noticed, the documentation is out of date and only valid for Zope 2.

Besides migrating Zope 2 to Zope 4 (on Python 3), also a lot of work has been put into updating documentation, but there is just so much documentation and only so and so many hours/volunteers.

The documentation is hosted on github, so if you find any errors, please file an issue over at https://github.com/zopefoundation/Zope/issues or even submit a pull request with the corrections.

This is also a great way to learn a thing or two... I speak from experience, as I learned a lot about Zope when updating the Zope developer's guide.

2 Likes

Thank you for the comments. I was researching and eventually figured out I need to add Products.PythonScripts and Products.ExternalMethod to my buildout.cfg.

Thank you dieter

I learned something too! I didn’t know these had been removed.

https://zope.readthedocs.io/en/latest/changes.html#dependencies

1 Like

I created an issue over at Zope's github repo


and also I created a pull request to mark the content outdated, ie written for Zope 2 only.

1 Like