From: bburky@bburky.com (Blake Burkhart)
Subject: [sup-talk] exception while importing to xapian
Date: Sun, 30 Aug 2009 15:14:56 -0500 [thread overview]
Message-ID: <1251662840-sup-4363@Backspace.local> (raw)
In-Reply-To: <1251570765-sup-4265@ntdws12.chass.utoronto.ca>
Excerpts from Ben Walton's message of Sat Aug 29 13:35:03 -0500 2009:
>
> I just tried again to switch to xapian and I got the following:
>
> $ SUP_INDEX=xapian ruby -Ilib bin/sup-sync --all --all-sources --restore
> ~/.sup/dumpfile
> Loading state dump from /cquest/roger/staff0/systems/bwalton/.sup/dumpfile...
> Read 72360 entries from dump file.
> Scanning maildir:///u/bwalton/Maildir/...
> [Sat Aug 29 14:29:11 -0400 2009] hook: read 'before-add-message' from
> /cquest/roger/staff0/systems/bwalton/.sup/hooks/before-add-message.rb
> ./lib/sup/xapian_index.rb:365:in `find_docid': undefined method `tap'
> for []:Array (NoMethodError)
>
> [...]
>
I am getting this same error myself. I'm running Mac OS 10.5 with ruby 1.8.6.
Are you also using ruby 1.8.6? I think the tap method is in ruby 1.8.7 and
later. Actually a quick google shows it may even be ruby 1.9 only, or 1.9 and
backported from there.
Is it necessary to use this method? Is there an alternate way to do this?
-- Blake Burkhart
next prev parent reply other threads:[~2009-08-30 20:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-29 18:35 Ben Walton
2009-08-30 20:14 ` Blake Burkhart [this message]
2009-08-30 20:21 ` Ben Walton
2009-08-30 20:47 ` Rich Lane
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1251662840-sup-4363@Backspace.local \
--to=bburky@bburky.com \
/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