Package: python-stdeb
Version: 0.6.0+20100620-2
Severity: minor

Dear Maintainer,

Trying to use py2dsc on a .zip archives crashes with a traceback if unzip isn't 
installed. I understand py2dsc requiring unzip to handle .zip archives, but 
then :

1. It should make a clean error message instead of a traceback.

2. unzip should be added in "Recommends" or "Suggests" dependencies.

Here is the traceback :
Traceback (most recent call last):
  File "/usr/bin/py2dsc", line 157, in <module>
    main()
  File "/usr/bin/py2dsc", line 154, in main
    sys.exit(runit())
  File "/usr/bin/py2dsc", line 70, in runit
    expand_sdist_file(os.path.abspath(sdist_file),cwd=expand_dir)
  File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 443, in 
expand_sdist_file
    expand_zip(sdist_file,cwd=cwd)
  File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 427, in expand_zip
    stderr=subprocess.PIPE,
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-stdeb depends on:
ii  debhelper          9.20120909
ii  python             2.7.3-4
ii  python-setuptools  0.6.24-1
ii  python2.6          2.6.8-1.1
ii  python2.7          2.7.3-6

Versions of packages python-stdeb recommends:
ii  apt-file    2.5.1
ii  dpkg-dev    1.16.10
ii  python-all  2.7.3-4

Versions of packages python-stdeb suggests:
pn  python-all-dev  <none>

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

Reply via email to