Re: [Zope] ZopeCtlOptions instance has no attribute 'transcript'

2018-02-07 Thread Michael Howitz
Hi Jesus,
Am 06.02.2018 um 21:02 schrieb Jesus Cea :
[…]
> it works. Nice. Upgraded! :-).

Nice!

> Sorry for wasting your time.

It seemed that actually I was wasting your time by writing a too short 
announcement.
Sorry for that.

> The announcement email is quite short, 3 paragraphs. One of them is just
> this:
> 
> """
> You can download it via PyPI: https://pypi.org/project/Zope2/2.13.27
> """
> 
> Yes, I can download it, but I can not install it via PYPI as a regular
> package. It doesn't work. In fact
>  shows "pip install
> Zope2==2.13.27", that we have seen as wrong command to install.

You are right.

> I wonder why "requirements.txt" in pypi package doesn't pin dependencies
> versions, as listed. Is that a PIP bug?.

It does not seem be supported by pip, at least I did not find a way to trick it 
to install the requirements.txt from inside a package it should install.
Anyone else who has a tip?

> The thing is:
> 
> 1. Zope2 can not be installed as 99.9% other packages, just doing "pip
> install".
> 
> 2. The announcement email points to a webpage showing a PROMINENT
> install command that produce a non-working configuration.

You are right, I am looking forward to create a more helpful announcement next 
time.

> A simple possibility is just to add paragraph in future announcement
> emails just saying: "This package ca not be installed in the regular
> way. Follow instructions in http://“.

Thank you for your valuable feedback.


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
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 )


Re: [Zope] ZopeCtlOptions instance has no attribute 'transcript'

2018-02-06 Thread Jesus Cea
On 05/02/18 13:26, Michael Howitz wrote:
> Am 01.02.2018 um 21:19 schrieb Jesus Cea :
>> 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?

it works. Nice. Upgraded! :-).

Sorry for wasting your time.

The announcement email is quite short, 3 paragraphs. One of them is just
this:

"""
You can download it via PyPI: https://pypi.org/project/Zope2/2.13.27
"""

Yes, I can download it, but I can not install it via PYPI as a regular
package. It doesn't work. In fact
 shows "pip install
Zope2==2.13.27", that we have seen as wrong command to install.

I wonder why "requirements.txt" in pypi package doesn't pin dependencies
versions, as listed. Is that a PIP bug?.

The thing is:

1. Zope2 can not be installed as 99.9% other packages, just doing "pip
install".

2. The announcement email points to a webpage showing a PROMINENT
install command that produce a non-working configuration.

A simple possibility is just to add paragraph in future announcement
emails just saying: "This package ca not be installed in the regular
way. Follow instructions in http://;.

Thanks for the work you and all the team are doing. Much appreciated.
Looking forward Zope 4 and scared of how the migration will go :). Too
much legacy, grateful of Zope 2 maintenance :).

-- 
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



signature.asc
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
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 )


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

2018-02-05 Thread Michael Howitz
Hi Jesus,

thank you for trying out Zope 2.13.27.

Am 01.02.2018 um 21:19 schrieb Jesus Cea :
> After installing Zope 2.13.27, I see this:
> 
> """
> File "/home/zope/Zope-2.13.27-virtualenv/bin/zopectl", line 11, in 
>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



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
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 )