-
Notifications
You must be signed in to change notification settings - Fork 13
Cannot install Zope 4 with ZServer following installation documentation #19
Comments
Jürgen Gmach wrote at 2019-7-2 03:05 -0700:
In order to reproduce zopefoundation/Zope#665 with a clean Zope installation, I tried to install Zope 4 with ZServer following the documenation at https://zope.readthedocs.io/en/latest/INSTALL.html and https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html#creating-a-zope-instance
Result:
```
***@***.***:~/Projects/zserver-test$ bin/mkzopeinstance
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.
Directory: instance
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.
Username: admin
Password:
Verify password:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named Zope2
`Zope` does contain a `Zope2` package (at least, it did until very recently).
I would start by checking that your installation contains
a `Zope2` package. If not, try to unstall it.
Should your Zope lack the `Zope2` package, then it was very
recently removed and other dependent software (e.g. `ZServer`)
might not yet have been adapted.
|
@d-maurer You are right - the package "Zope2" is missing following the above way - which is the way described in the documentation. So instead of installing it manually, it should be declared as a dependency somewhere, right? |
@jugmac00 I think there is a confusion of terms here: "package" might mean "directory one can import in Python" or it might mean "thing installable from PyPY". In this case, I just checked, and the |
@tseaver This Zope2 thing is rather confusing anyway... cf zopefoundation/Zope#616 and zopefoundation/Zope#625 When I do a I am looking forward very much to reach the end of Python 2 when there is only ZopeX on Python3 and nothing else :-) |
@jugmac00 the The name of the |
The "eggs" used during the generation of |
The exception gets thrown here in p = ... ZServer/src/ZServer/Zope2/utilities/mkzopeinstance.py Lines 208 to 221 in d1f3789
Looking in the path for Zope in bin/mkzopeinstance everything looks normal...
Currently I lack both time and especially knowledge to dig deeper into this issue. At first, I only wanted to create an instance to reproduce the bug with ZServer and threading reported in zopefoundation/Zope#665 For me buildout is still the great unknown. |
Hm, when trying to reproduce this issue I get another one:
I am using a checkout of Zope I am going to create an issue in the |
Using a clean
It should be adapted like in Zope's mkwsgiinstance.py As both issues are |
The shown error message does not mean that creating an instance had an error, it is only an internal message which should be suppressed. |
See zopefoundation/Zope@eed8f0c as the commit introducing the fix in the Zope repository. |
@icemac I am not sure what this means... is this issue fixed with your linked commit? |
@jugmac00 I think that the liked commit has to be ported to ZServer as it has its own copy of the code. |
In order to reproduce zopefoundation/Zope#665 with a clean Zope installation, I tried to install Zope 4 with ZServer following the documentation at https://zope.readthedocs.io/en/latest/INSTALL.html and https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html#creating-a-zope-instance
Result:
Step by step...
The text was updated successfully, but these errors were encountered: