plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

NameError: name 'ZServerCtlOptions' is not defined #74

Closed zopyx closed 5 years ago

zopyx commented 5 years ago

Version 6.1.1, Python 3:


bin/instance fg
Traceback (most recent call last):
  File "bin/instance", line 262, in <module>
    + sys.argv[1:]))
  File "/home/ajung/.buildout/eggs/plone.recipe.zope2instance-6.1.1-py3.7.egg/plone/recipe/zope2instance/ctl.py", line 883, in main
    options = ZServerCtlOptions()
NameError: name 'ZServerCtlOptions' is not defined
frapell commented 5 years ago

Also getting this when building a base Plone 5.2b1 with Python 3.7, when running bin/instance fg

zopyx commented 5 years ago

Tried with wsgi=on?

zopyx commented 5 years ago

And perhaps try the latest zope2instance checkout,from master

frapell commented 5 years ago

Oh, I was under the impression that wsgi was on by default... checking the commits I see the change was not yet released.

adding wsgi=on does fix the issue. thanks

dataflake commented 5 years ago

This is already fixed, wsgi = on is the default.