Package: zope2.12 Version: 2.12.26-1 Severity: important Dear Maintainer,
Debian testings python2.6 support has decayed to the point where Zope2.12 can nolonger run. After recent updates on my Debian testing system, I found Zope would not start. Running the start command manually revealed a missing import; $ sudo dzhandle -z 2.12 zopectl minkirri start Traceback (most recent call last): File "/usr/lib/zope2.12/bin/python", line 78, in <module> execfile(__file__) File "/usr/lib/zope2.12/bin/zopectl", line 3, in <module> import Zope2.Startup.zopectl File "/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/Zope2/Startup/zopectl.py", line 44, in <module> import pkg_resources ImportError: No module named pkg_resources This package is installed by python-pkg-resources into pyshared and only creates a symlink to it for python2.7; $ dpkg -S pkg_resources.py python-pkg-resources: /usr/share/pyshared/pkg_resources.py python-pkg-resources: /usr/lib/python2.7/dist-packages/pkg_resources.py Note that I have python-pkg-resources version 0.6.37-1 installed. After manually creating a python2.6 link for it, zope would successfully start, but the logs showed that at least one important import (docutils) fails, breaking things like zwiki; 2013-06-28T13:31:18 ERROR Application Could not import Products.ZReST Traceback (most recent call last): File "/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/OFS/Application.py", line 596, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/Products/ZReST/__init__.py", line 7, in <module> import ZReST File "/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/Products/ZReST/ZReST.py", line 11, in <module> import docutils.core ImportError: No module named docutils.core At this point I gave up trying to make it work with python2.6, since there are way too many manual symlinks I'd need to create. Instead, I decided to edit dzhandle to use python2.7 instead. To do this I edited /user/bin/dzhandle, changing pyver in zope_packages for zope2.12, and edited /usr/lib/zope2.12/bin/python changing the #! line to python2.7. After doing this zope seemed to start OK, but dies at the first http request without logging anything. It may be that this bug should be re-assigned to python-pkg-resources and python-docutils asking why they have stopped supporting python2.6, but I suspect the answer will be update to python2.7, or drop this package from Debian testing. This leaves me with an unusable zope2.12 instance. What are my options for upgrading my content that will run on a Debian testing system? -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zope2.12 depends on: ii debconf [debconf-2.0] 1.5.50 ii libc6 2.17-3 ii lsb-base 4.1+Debian12 ii python 2.7.5-2 ii python-docutils 0.10-3 ii python-initgroups 2.13.0-1+b1 ii python-mechanize 1:0.2.5-3 ii python-pkg-resources 0.6.37-1 ii python-tz 2012c-1 ii python2.6 2.6.8-2 ii zope-common 0.5.52 zope2.12 recommends no packages. Versions of packages zope2.12 suggests: ii python [python-profiler] 2.7.5-2 ii python-unit 1.4.1-16 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org