unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: Updating index from public-inbox-mda fails on Perl 5.34
Date: Fri, 06 Aug 2021 22:51:18 +0200	[thread overview]
Message-ID: <87k0ky5mbd.fsf@toke.dk> (raw)
In-Reply-To: <20210806203618.GA25682@dcvr>

Eric Wong <e@80x24.org> writes:

> Toke Høiland-Jørgensen <toke@toke.dk> 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...

Bingo! That was indeed the issue; I'm building the required packages
myself, and simply forgot to rebuild the Perl libraries after the
upgrade. Should have thought of that; thanks!

But how did public-inbox-index work, then? Is that not using the Xapian
bindings as well?

> In any case, there probably ought to be a better error message in
> public-inbox indicating such a failure.

Heh, yeah, that would be nice :)

-Toke

      reply	other threads:[~2021-08-06 20:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 14:19 Updating index from public-inbox-mda fails on Perl 5.34 Toke Høiland-Jørgensen
2021-08-06 20:36 ` Eric Wong
2021-08-06 20:51   ` Toke Høiland-Jørgensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0ky5mbd.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).