Subject: python-stdeb: pypi-install error: The cache directory is empty
Package: python-stdeb
Version: 0.5.1-1
Severity: important

As per subject, pypi-install fails with the error and traceback listed
below. This happens both as normal user and root. I can't find any
reference to apt-file in the docs so I would be surprised if I had to
run it beforehand.

Ciao,
steko



st...@gibreel:~$ pypi-install mercurial_keyring
running sdist_dsc
running egg_info
writing requirements to mercurial_keyring.egg-info/requires.txt
writing mercurial_keyring.egg-info/PKG-INFO
writing top-level names to mercurial_keyring.egg-info/top_level.txt
writing dependency_links to mercurial_keyring.egg-info/dependency_links.txt
reading manifest file 'mercurial_keyring.egg-info/SOURCES.txt'
writing manifest file 'mercurial_keyring.egg-info/SOURCES.txt'
E: The cache directory is empty. You need to run 'apt-file update' first.
ERROR running: apt-file search --ignore-case --regexp 
(/(keyring)(?:-[^/]+)?(?:-py[0-9]\.[0-9.]+)?\.egg-info)
Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    zip_safe = True,
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/pymodules/python2.5/stdeb/command/sdist_dsc.py", line 222, in 
run
    sdist_dsc_command = self,
  File "/usr/lib/pymodules/python2.5/stdeb/util.py", line 712, in __init__
    install_requires))
  File "/usr/lib/pymodules/python2.5/stdeb/util.py", line 281, in 
get_deb_depends_from_setuptools_requires
    args))
RuntimeError: returncode 1 from subprocess ['apt-file', 'search', 
'--ignore-case', '--regexp', 
'(/(keyring)(?:-[^/]+)?(?:-py[0-9]\\.[0-9.]+)?\\.egg-info)']
Traceback (most recent call last):
  File "/usr/bin/pypi-install", line 142, in <module>
    main()
  File "/usr/bin/pypi-install", line 128, in main
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/bin/python setup.py 
--command-packages=stdeb.command sdist_dsc 
--guess-conflicts-provides-replaces=True bdist_deb' returned non-zero exit 
status 1



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-stdeb depends on:
ii  python                        2.5.4-9    An interactive high-level
object-o
ii  python-setuptools             0.6.10-1   Python Distutils
Enhancements (set
ii  python-support                1.0.6      automated rebuilding
support for P

Versions of packages python-stdeb recommends:
ii  apt-file                      2.3.3      search for files within
Debian pac
ii  dpkg-dev                      1.15.5.6   Debian package development
tools

python-stdeb suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to