[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Programmatically removing tags (:inbox)



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