[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758403: marked as done (apt-xapian-index: Please die with an error message instead of a traceback when the index is not available)



Your message dated Sat, 27 Jul 2019 11:19:10 +0000
with message-id <E1hrKjG-000EiV-VO@fasolo.debian.org>
and subject line Bug#758403: fixed in apt-xapian-index 0.50
has caused the Debian Bug report #758403,
regarding apt-xapian-index: Please die with an error message instead of a traceback when the index is not available
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
758403: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758403
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-xapian-index
Version: 0.46
Severity: wishlist

I have manually deleted the apt xapian index in
/var/cache/apt-xapian-index to free some space in an emergency and 
then forgot to recreate it, so when I run axi-cache the next time 
I got:

    Traceback (most recent call last):
      File "/usr/bin/axi-cache", line 846, in <module>
        sys.exit(ui.perform())
      File "/usr/bin/axi-cache", line 841, in perform
        return f(self.args)
      File "/usr/bin/axi-cache", line 530, in do_search
        self.db = DB()
      File "/usr/bin/axi-cache", line 120, in __init__
        self.db = xapian.Database(axi.XAPIANINDEX)
      File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3667, in __init__
        _xapian.Database_swiginit(self,_xapian.new_Database(*args))
    xapian.DatabaseOpeningError: Couldn't stat '/var/cache/apt-xapian-index/index.2' (No such file or directory)

It would be nice to get an human readable error message instead.

Patch arriving as soon as I have a bug number.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-xapian-index depends on:
ii  python          2.7.8-1
ii  python-apt      0.9.3.8
ii  python-debian   0.1.22
ii  python-support  1.0.15
ii  python-xapian   1.2.18-1

apt-xapian-index recommends no packages.

Versions of packages apt-xapian-index suggests:
pn  app-install-data  <none>
ii  python-xdg        0.25-4

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt-xapian-index
Source-Version: 0.50

We believe that the bug you reported is fixed in the latest version of
apt-xapian-index, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 758403@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Wise <pabs@debian.org> (supplier of updated apt-xapian-index package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 27 Jul 2019 19:01:18 +0800
Source: apt-xapian-index
Architecture: source
Version: 0.50
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Paul Wise <pabs@debian.org>
Closes: 758403 804099 841417
Changes:
 apt-xapian-index (0.50) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Barry Warsaw ]
   * Switch to Python 3 as the default. (Closes: #804099)
   * d/compat: Bump to version 9.
   * d/control:
     - Bump debhelper version to >= 9.
     - Switch dependencies to their Python 3 version.
     - Use X-Python3-Version instead.
   * d/rules:
     - Fix the dh argument order.
     - Use --with=python3 and --build-system=pybuild
     - Run the tests in an override_dh_auto_test target.
 .
   [ Paul Wise ]
   * Use the right path to the GPLv2 in Debian
   * Migrate a few minor things to Python 2 only
   * Use dpkg-source format 3.0 (native)
   * Use the current version of python3-xapian
   * Correctly import from the Python 3 configparser module
   * Decode bytes from Xapian to Python 3 strings
   * Update VCS information to use the new Salsa repo
   * Switch from debian/compat to debhelper-compat
   * Bump debhelper compat level to 12
   * Drop ancient X-Python3-Version
   * Fix spelling errors
 .
   [ Elena Grandi ]
   * Don't traceback on missing index. Closes: #758403
 .
   [ Ralf Treinen ]
   * Fix typo in postrm (Closes: #841417)
Checksums-Sha1:
 cf68281fdfdaf145d840f12e127463ee62ed863a 1804 apt-xapian-index_0.50.dsc
 15b35c8459a49d3dcde57d675b1fadbf49ac318c 44792 apt-xapian-index_0.50.tar.xz
Checksums-Sha256:
 07c68969cc85eaff2f7fc4394aaf55d30b2dd76c7762ca3cb999ce9083679ce9 1804 apt-xapian-index_0.50.dsc
 090d0de29cb1fdeb964cac5f77960b3a2b462ebef6ce70cfe5655d41f3329e6a 44792 apt-xapian-index_0.50.tar.xz
Files:
 cf01ddfe31b56df24a34007686da0d2c 1804 admin optional apt-xapian-index_0.50.dsc
 e55c496575a3b6bf7b43598c3769145d 44792 admin optional apt-xapian-index_0.50.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAl08MZUACgkQMRa6Xp/6
aaPNXw//ZU703KhIO58Oh4cP/iTV52nJAb1Hlq8JGJaagiS8bKFbg4ZytVa+thcw
MLCxTjD3DvOcnQ4ZL/ArzdWh4Ob/ZcU2yi4x8nCS5AUj4AkPBIu5l252Q5xQKfJJ
kjHa0B9zl9/9OduciuTnuEa0iH1T3h4wSxAZLUVmNdxucOXI59K5MRzbGnkCwLku
ayFf3KO/+pYwBBB1DCsnwYkvJ6eVczEH70PyJNqnsop2SyVEoujZpmCKkLP40+5t
YatAj69B6kZpzoR7vGGsReyBMXsYMNUwB4AzZM6CCpxKDoDBB69abm+OCCJtivt1
d/WPiy4i25t2MEbObX3Cyj8ca8432LG8tNrxqSX0Pi9cJbfwvY+GnAYS1EmYECpa
jLLF0aQM4/az6tZQWTmetyCSGui1N6rTjDQDhQxOTxT8gL1JbwUFp7dl8/o1XfrA
QUI9F2f6/FJSlYLZdgpIHtBGlJZPZ8NCdzrFTF+DF6ftN/MmPCoOJvMGBCUvURfQ
W071GZjr5MOmwQVLxWQHN0X+roI7jgoFySLXfSzHyX6MFzOFf7ayXopCd5aQDDwv
CL+lkGGVNVbC58SPSbG2CPYxe/qRLh9d8FkKpMF3FZ3UBcb6Vf3i4AIogHOq2AME
FOZ4bgSPhVyyeLO0SYkPmY5Jkp7SzBi2BrS0J5Zg4y9WFSxpWDw=
=6vQV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: