Bug#583875: python-tz: pytz is missing in pymodules/python2.6

Brian Sutherland brian at vanguardistas.net
Mon May 31 10:36:40 UTC 2010


On Mon, May 31, 2010 at 11:27:04AM +0200, Matteo Bertini wrote:
> Package: python-tz
> Version: 2010b-1
> Severity: grave
> Justification: renders package unusable
> 
> 
> The package is installed (and reinstalled) but 'ipython -pylab' fails to
> start with an error like the one in bug #565432.
> 
> A workaround is to create a folder like this:
> 
> $ ls -l /usr/lib/pymodules/python2.6/pytz
> total 0
> lrwxrwxrwx 1 root root 36 2010-05-31 10:59 __init__.py
> -> /usr/share/pyshared/pytz/__init__.py
> lrwxrwxrwx 1 root root 37 2010-05-31 10:59 reference.py
> -> /usr/share/pyshared/pytz/reference.py
> lrwxrwxrwx 1 root root 34 2010-05-31 10:59 tzfile.py
> -> /usr/share/pyshared/pytz/tzfile.py
> lrwxrwxrwx 1 root root 34 2010-05-31 10:59 tzinfo.py
> -> /usr/share/pyshared/pytz/tzinfo.py

Hi,

I tried to reproduce this, but couldn't. Can you try (without the folder
that you created as a workaround) this command in the shell:

    python2.6 -c 'import pytz; print pytz.__file__'

To try reproduce this, I installed python-tz on a brand new minimally
installed machine. It worked as expected from the python2.6 command
line:

    # python2.6
    Python 2.6.5+ (release26-maint, May 30 2010, 13:37:47) 
    [GCC 4.4.4] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pytz
    >>> print pytz.__file__
    /usr/lib/python2.6/dist-packages/pytz/__init__.pyc
    >>> 

> 
> -- System Information:
> Debian Release: 5.0.4
>   APT prefers stable
>   APT policy: (990, 'stable'), (600, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (x86_64)
> 
> Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages python-tz depends on:
> ii  python                     2.5.2-3       An interactive high-level object-o
> ii  python-central             0.6.16        register and build utility for Pyt
> ii  tzdata                     2010a-0lenny1 time zone and daylight-saving time
> 
> python-tz recommends no packages.
> 
> python-tz suggests no packages.
> 
> -- no debconf information
> 
> 
> 
> _______________________________________________
> pkg-zope-developers mailing list
> pkg-zope-developers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-zope-developers

-- 
Brian Sutherland





More information about the pkg-zope-developers mailing list