[Bug 1530518] Re: /etc/cron.weekly/apt-xapian-index reports TypeError

AlainKnaff 1530518 at bugs.launchpad.net
Tue Jan 30 08:48:53 UTC 2018


There are 2 more sys.exit(0) calls in the code, and they need their del
indexer as well. Indeed, we keep getting the error message despite the
presence of del indexer before the sys.exit(0) at the end of the file.
Adding del indexer to the other 2 fixes it.

... and possibly the two sys.exit's with non-zero exit-status need it as
well.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/1530518

Title:
  /etc/cron.weekly/apt-xapian-index reports TypeError

Status in apt-xapian-index package in Ubuntu:
  Fix Released
Status in apt-xapian-index source package in Xenial:
  Fix Released

Bug description:
  Received the following email from cron:

  To: glitsj16 at gmail.com
  Subject: Anacron job 'cron.weekly' on lab16
  Date: Sat,  2 Jan 2016 05:53:34 +0100 (CET)

  /etc/cron.weekly/apt-xapian-index:
  Exception ignored in: <bound method ServerProgress.__del__ of <axi.indexer.ServerProgress object at 0x7f226fad1710>>
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
  TypeError: 'NoneType' object is not callable

  $ lsb_release -rd
  Description:	Ubuntu Xenial Xerus (development branch)
  Release:	16.04

  $ apt-cache policy apt-xapian-index
  apt-xapian-index:
    Installed: 0.47ubuntu6
    Candidate: 0.47ubuntu6
    Version table:
   *** 0.47ubuntu6 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages
          100 /var/lib/dpkg/status

  $ sudo /usr/sbin/update-apt-xapian-index
  The index /var/lib/apt-xapian-index is up to date
  Exception ignored in: <bound method ServerProgress.__del__ of <axi.indexer.ServerProgress object at 0x7f5b2a3736d8>>
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
  TypeError: 'NoneType' object is not callable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1530518/+subscriptions



More information about the foundations-bugs mailing list