[Zope] ZopeCtlOptions instance has no attribute 'transcript' (was: Re: [Zope-dev] Annoucement: Zope2 2.13.27 released)

Michael Howitz icemac at gmx.net
Mon Feb 5 13:26:49 CET 2018


Hi Jesus,

thank you for trying out Zope 2.13.27.

Am 01.02.2018 um 21:19 schrieb Jesus Cea <jcea at jcea.es>:
> After installing Zope 2.13.27, I see this:
> 
> """
> File "/home/zope/Zope-2.13.27-virtualenv/bin/zopectl", line 11, in <module>
>    sys.exit(run())
>  File
> "/home/zope/Zope-2.13.27-virtualenv/lib/python2.7/site-packages/Zope2/Startup/zopectl.py",
> line 488, in run
>    exitstatus = main()
>  File
> "/home/zope/Zope-2.13.27-virtualenv/lib/python2.7/site-packages/Zope2/Startup/zopectl.py",
> line 447, in main
>    c.onecmd(" ".join(options.args))
>  File "/opt/local/lib/python2.7/cmd.py", line 221, in onecmd
>    return func(arg)
>  File
> "/home/zope/Zope-2.13.27-virtualenv/lib/python2.7/site-packages/Zope2/Startup/zopectl.py",
> line 241, in do_start
>    ZDCmd.do_start(self, arg)
>  File
> "/home/zope/Zope-2.13.27-virtualenv/lib/python2.7/site-packages/zdaemon/zdctl.py",
> line 307, in do_start
>    args += self._get_override("-t", "transcript")
>  File
> "/home/zope/Zope-2.13.27-virtualenv/lib/python2.7/site-packages/Zope2/Startup/zopectl.py",
> line 223, in _get_override
>    value = getattr(self.options, name)
> AttributeError: ZopeCtlOptions instance has no attribute 'transcript'
> """
> 
> I installed creating a virtualenv and then, inside:
> 
>  $ bin/pip install Zope2==2.13.27

The suggested way to install Zope 2 is:

$ bin/pip install --no-binary zc.recipe.egg -r https://zopefoundation.github.io/Zope/releases/2.13.27/requirements.txt

Does the exception also happen if you install Zope 2.13.27 this way? (in a new virtualenv)
(Without the requirements file some too new versions of deepened packages are getting installed.)
I get another error if I install Zope2 as you did. What did you do after installing the packages?
What command did you call to get the traceback?

See http://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html for details.


>  $ bin/pip install "Products.ZSQLMethods<3.0“

I think this one is correct.

> I have reverted to Zope 2.13.26 for now :-(.

--
Mit herzlichen Grüßen
Michael Howitz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.zope.org/pipermail/zope/attachments/20180205/38e5170b/attachment.sig>


More information about the Zope mailing list