Bug#714339: zope2.12: Zope2.12 missing important packages in Debian testing for python2.6.

2013-06-28 Thread Matthias Klose
On 06/28/13 07:40, Arnaud Fontaine wrote:
> I uploaded zope2.13 (which works with python2.7) one month ago but it is
> still in  NEW[0].  Needless to  say that  it is really  unfortunate that
> zope2.12 has  been removed quickly  from unstable but zope2.13  has been
> staying for one month in NEW, thus providing no installable/useable Zope
> package from the official archive.

you forgot to say that you didn't bother to package 2.13 for *years*. Now
complaining that things move with a different time scale seems a bit odd.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#714339: zope2.12: Zope2.12 missing important packages in Debian testing for python2.6.

2013-06-27 Thread Arnaud Fontaine
Hello,

Donovan Baarda  writes:

> Debian  testings python2.6  support  has decayed  to  the point  where
> Zope2.12 can nolonger run.

> 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?

Indeed, that's  because of python2.6 removal  transition. zope2.12 which
requires  python2.6 (and  will  probably only  work  properly with  this
specific version)  packages has  been removed  from unstable  because of
that.

I uploaded zope2.13 (which works with python2.7) one month ago but it is
still in  NEW[0].  Needless to  say that  it is really  unfortunate that
zope2.12 has  been removed quickly  from unstable but zope2.13  has been
staying for one month in NEW, thus providing no installable/useable Zope
package from the official archive.

In the meantime, you can use zope2.13 packages from there:
http://people.debian.org/~arnau/packages/zope2.13-sandbox_2.13.20-1_all.deb
http://people.debian.org/~arnau/packages/zope2.13_2.13.20-1_amd64.deb

I will request the removal of  zope2.12 package from testing because, as
you pointed out, it is unusable anyway. Sorry about the inconvenience.

Cheers,
-- 
Arnaud Fontaine

[0] http://ftp-master.debian.org/new/zope2.13_2.13.20-1.html


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#714339: zope2.12: Zope2.12 missing important packages in Debian testing for python2.6.

2013-06-27 Thread Donovan Baarda
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 
execfile(__file__)
  File "/usr/lib/zope2.12/bin/zopectl", line 3, in 
import Zope2.Startup.zopectl
  File 
"/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/Zope2/Startup/zopectl.py", line 
44, in 
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 
import ZReST
  File 
"/usr/lib/zope2.12/lib/python/Zope2-2.12.26.egg/Products/ZReST/ZReST.py", line 
11, in 
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-docutils0.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-common0.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