Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Alexander Klink <alexander@klink.name>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Programmatically removing tags (:inbox)
Date: Thu, 24 Apr 2014 15:17:56 +0200	[thread overview]
Message-ID: <1398345391-sup-8384@zoe> (raw)
In-Reply-To: <1398276016-sup-4989@kpad>

Hi Matthieu,

Excerpts from Matthieu Rakotojaona's message of 2014-04-23 20:11:28 +0200:
> Excerpts from Alexander Klink's message of 2014-04-23 17:42:40 +0200:
> > I am trying to archive all my existing mails in order to make a nicer
> > workflow for myself (sort of a GTD thing with reading mails, either
> > acting directly or tagging them with 'todo' or 'hold' depending on whether I
> > have to do something or am waiting for someone to reply).
> 
> bin/sup-tweak-labels was made for this :)

Unfortunately, that fails completely for me:

$ sup-tweak-labels -r inbox -v --all-sources
[2014-04-24 15:15:50 +0200] WARNING: can't find character set by using locale, defaulting to utf-8
Found 149439 documents across 453 sources. Scanning...
1-773309-5rGbUSNrGbUS9qb@example.com: {inbox,unread,spam} => {unread,spam}
[2014-04-24 15:15:50 +0200] Flushing Xapian updates to disk. This may take a while...
/home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/lib/sup/index.rb:141:in `update_message_state': undefined method `[]' for #<Redwood::Message:0x000000029ebf68> (NoMethodError)
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/bin/sup-tweak-labels:109:in `block in <top (required)>'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/lib/sup/index.rb:288:in `block in each_id'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/lib/sup/index.rb:288:in `each'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/lib/sup/index.rb:288:in `each_id'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/bin/sup-tweak-labels:95:in `each'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/bin/sup-tweak-labels:95:in `<top (required)>'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/bin/sup-tweak-labels:19:in `load'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/bin/sup-tweak-labels:19:in `<main>'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
	from /home/alech/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

Any ideas?

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


  reply	other threads:[~2014-04-24 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 15:42 Alexander Klink
2014-04-23 16:24 ` MaDhAt2r
2014-04-24  8:55   ` Alexander Klink
2014-04-23 18:11 ` Matthieu Rakotojaona
2014-04-24 13:17   ` Alexander Klink [this message]
2014-04-25 10:53     ` Gaute Hope
2014-05-02  9:08       ` Gaute Hope
2014-04-24 18:00 ` Devon Gleeson

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=1398345391-sup-8384@zoe \
    --to=alexander@klink.name \
    --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