From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B83821F8C6; Fri, 6 Aug 2021 20:36:18 +0000 (UTC) Date: Fri, 6 Aug 2021 20:36:18 +0000 From: Eric Wong To: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= Cc: meta@public-inbox.org Subject: Re: Updating index from public-inbox-mda fails on Perl 5.34 Message-ID: <20210806203618.GA25682@dcvr> References: <87pmuq64gw.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pmuq64gw.fsf@toke.dk> List-Id: Toke Høiland-Jørgensen wrote: > Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=/var/lib/publicinbox/galene/public-inbox/xapian15/over.sqlite3 at /usr/share/perl5/vendor_perl/PublicInbox/Import.pm line 187. > /var/lib/publicinbox/galene index failed: Can't call method "get_metadata" on an undefined value at /usr/share/perl5/vendor_perl/PublicInbox/SearchIdx.pm line 745. > > Subsequently running the public-inbox-index command on the repository > updates the index (and thus the web interface). > > Any idea what might be the issue here? I'm running public-inbox v1.6.1 > and the archive is in v1 format. It worked previously, and I *think* the > failure started after the system Perl installation was upgraded from > v5.32 to v5.34 (I'm running this on Arch Linux). > > Any ideas? Is Xapian enabled and working for that inbox? (Or are you using indexlevel=basic which doesn't use Xapian?). I wonder if upgrading 5.32 => 5.34 left your Xapian bindings behind in 5.32... In any case, there probably ought to be a better error message in public-inbox indicating such a failure.