Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Problems running sup-convert-ferret-index
Date: Mon, 18 Jan 2010 11:33:23 +0530	[thread overview]
Message-ID: <1263793901-sup-7278@deepthought> (raw)
In-Reply-To: <1263779746-sup-4232@zyrg.net>


[-- Attachment #1.1: Type: text/plain, Size: 3302 bytes --]

Hi,

I'm unable to run sup-convert-ferret-index as well.

It fails like this:

----------BEGIN PASTE------------
[11:20]:~/Desktop/sup-mainline$ xclip -o -selection clipboard
[11:20]:~/Desktop/sup-mainline$ ruby -I lib -w bin/sup-convert-ferret-index 
./lib/sup/util.rb:295: warning: `&' interpreted as argument prefix
./lib/sup/util.rb:9: warning: method redefined; discarding old gen_lock_id
./lib/sup/util.rb:20: warning: method redefined; discarding old dump_lock_id
[Mon Jan 18 11:20:40 +0530 2010] WARNING: can't find character set by using locale, defaulting to utf-8
./lib/sup/message-chunks.rb:36: warning: method redefined; discarding old make_tmpname
./lib/sup/imap.rb:119: warning: ambiguous first argument; put parentheses or even spaces
## Step one: back up all message state to /tmp/sup-state.txt
bin/sup-dump --index ferret > /tmp/sup-state.txt
[Mon Jan 18 11:20:40 +0530 2010] WARNING: can't find character set by using locale, defaulting to utf-8
(completed in 0.8s)

## message state saved to /tmp/sup-state.txt
## Step two: back up sources.yaml file to /home/anirudhs/.sup/sources.yaml-before-xapian-upgrade
cp /home/anirudhs/.sup/sources.yaml /home/anirudhs/.sup/sources.yaml-before-xapian-upgrade
(completed in 0.0s)

## Step three: build the Xapian index
bin/sup-sync --all --all-sources --index xapian --restore /tmp/sup-state.txt 
[Mon Jan 18 11:20:41 +0530 2010] WARNING: can't find character set by using locale, defaulting to utf-8
Loading state dump from /tmp/sup-state.txt...
Read 0 entries from dump file.
/usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:500:in `initialize': No such file or directory - xapian/.deepthought_2282_sup-sync_1263793841_863632_780999264.lck (Errno::ENOENT)
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:500:in `open'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:500:in `create'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:432:in `create_tmplock'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:213:in `lock'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:539:in `attempt'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:539:in `catch'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:539:in `attempt'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:539:in `loop'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:539:in `attempt'
	from /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:210:in `lock'
	from /usr/lib/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/index.rb:38:in `lock'
	from /usr/lib/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
	from /usr/lib/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
	from /usr/lib/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/interactive-lock.rb:26:in `lock_interactively'
	from bin/sup-sync:116
-----------END PASTE--------------

Since Xapian install from gem failed, I installed libxapian-ruby1.8
instead.

[11:29]:~/Desktop/sup-mainline$ apt-cache policy libxapian-ruby1.8 
libxapian-ruby1.8:
  Installed: 1.0.14-1build1
  Candidate: 1.0.14-1build1
  Version table:
 *** 1.0.14-1build1 0
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Thanks,
Anirudh

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

  reply	other threads:[~2010-01-18  6:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 19:50 Steve Goldman
2010-01-17 20:38 ` William Morgan
2010-01-17 21:22   ` Steve Goldman
2010-01-17 21:34     ` William Morgan
2010-01-17 23:38       ` Steve Goldman
2010-01-18  0:04         ` William Morgan
2010-01-18  0:28           ` Steve Goldman
2010-01-18  1:44             ` Steve Goldman
2010-01-18  2:10               ` Rich Lane
2010-01-18  6:03                 ` Anirudh Sanjeev [this message]
2010-01-18 17:04                   ` William Morgan
2010-01-18 17:27                     ` Anirudh Sanjeev
2010-01-18 19:43                 ` Steve Goldman
2010-01-18 22:05                   ` William Morgan
2010-01-19 13:31                     ` Steve Goldman
2010-01-19 13:37                       ` William Morgan
2010-01-25 16:34                         ` Steve Goldman
2010-01-25 21:30                           ` William Morgan
2010-01-25 21:56                             ` Steve Goldman
2010-01-26 13:00                               ` William Morgan
2010-01-27  3:24                                 ` Steve Goldman

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=1263793901-sup-7278@deepthought \
    --to=anirudh@anirudhsanjeev.org \
    --cc=sup-talk@rubyforge.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