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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530518 Title: /etc/cron.weekly/apt-xapian-index reports TypeError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1530518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs