From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.96.157.163 with SMTP id wn3csp101799qdb; Thu, 24 Apr 2014 06:27:56 -0700 (PDT) X-Received: by 10.60.176.9 with SMTP id ce9mr1434217oec.55.1398346075986; Thu, 24 Apr 2014 06:27:55 -0700 (PDT) Return-Path: Received: from rubyforge.org ([50.56.192.79]) by mx.google.com with ESMTP id kg1si3524184oeb.203.2014.04.24.06.27.55 for ; Thu, 24 Apr 2014 06:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 826132E248; Thu, 24 Apr 2014 13:27:56 +0000 (UTC) Received: from shiftordie.de (0x90.eu [78.47.172.14]) by rubyforge.org (Postfix) with ESMTP id AFE7A2E243 for ; Thu, 24 Apr 2014 13:17:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by shiftordie.de (Postfix) with ESMTP id 787CA42021 for ; Thu, 24 Apr 2014 15:17:57 +0200 (CEST) From: Alexander Klink To: sup-talk In-reply-to: <1398276016-sup-4989@kpad> References: <1398267413-sup-3348@zoe> <1398276016-sup-4989@kpad> Date: Thu, 24 Apr 2014 15:17:56 +0200 Message-Id: <1398345391-sup-8384@zoe> User-Agent: Sup/0.17.0 Subject: Re: [sup-talk] Programmatically removing tags (:inbox) X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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 # (NoMethodError) from /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/bin/sup-tweak-labels:109:in `block in ' 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 `' 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 `
' 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 `
' Any ideas? Cheers, Alex _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk