From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.224.197 with SMTP id ip5cs184873icb; Mon, 21 Feb 2011 16:54:59 -0800 (PST) Received: by 10.52.169.161 with SMTP id af1mr2945955vdc.225.1298336098982; Mon, 21 Feb 2011 16:54:58 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id s18si8428385vcf.200.2011.02.21.16.54.58; Mon, 21 Feb 2011 16:54:58 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 955BE3C8048; Mon, 21 Feb 2011 19:54:58 -0500 (EST) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id 8FEFD18581B2 for ; Mon, 21 Feb 2011 19:54:46 -0500 (EST) Received: by wwb31 with SMTP id 31so6839453wwb.23 for ; Mon, 21 Feb 2011 16:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ytE8niRGPJ1cvgIISNheXuAsNj3/Ej9TR6iPdMFMB5w=; b=XFTE+U6OETM6qYudFOGnJ16Tj+X8w4Hjbs//sbXl9fITeBsoPqioGsR6enw51NdYDV iFUyD/3HbOci9kC0lZqM6UFTU0RyW1pbIm7Wn3iMWiOAgFVzfql1XOMIC1UEPwn62Y69 ze6Cxfp9MRgTEj0xk/Rlct94hKJhvIDVP5tVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M7eXJ8PiUWArMrG94jvTC4HSWbOTZmQzM7auwmxvvHNvQb4warDuXpfttMuQo4LQst Zhdff9CqpVX1J8Uviy/wDVKmKWkDUjShT+/LxPBTYrysf1n+T2uF9+7y3KXtjrqTY5wk OJorD3CKE+tIpGEnCOVb1Ryf20/eDX3rEdg7Q= MIME-Version: 1.0 Received: by 10.216.173.82 with SMTP id u60mr1724876wel.0.1298336083894; Mon, 21 Feb 2011 16:54:43 -0800 (PST) Received: by 10.216.6.84 with HTTP; Mon, 21 Feb 2011 16:54:43 -0800 (PST) Date: Tue, 22 Feb 2011 09:54:43 +0900 Message-ID: From: Horacio Sanson To: sup-talk@rubyforge.org Subject: [sup-talk] Correct way to sync index between two machines? 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org I have a laptop, my home desktop and my work desktop were I sync and read my email. Previously with mutt I simply rsync my mail folders so the mail was in sync with all three machines but for some reason rsync the whole .sup folder results in corrupted index. I make sure sup is not running and then rsync the .sup folder (via unison). Then when trying to run sup in the updated machine I get this error: Scanning maildir:/home/user/.mail/hsanson/INBOX... /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:792:in `load': invalid encoding symbol (EncodingError) from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:792:in `entry' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:567:in `get_entry' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:196:in `block in build_message' from /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:575:in `synchronize' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:196:in `build_message' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/poll.rb:159:in `block in poll_from' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:106:in `block (2 levels) in poll' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each_with_index' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `block in poll' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `each' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `poll' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/poll.rb:155:in `poll_from' from /var/lib/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' from /var/lib/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:123:in `block in ' from /var/lib/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in `each' from /var/lib/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in `' from /var/lib/gems/1.9.1/bin/sup-sync:19:in `load' from /var/lib/gems/1.9.1/bin/sup-sync:19:in `
' Removing the index (xapian folder) fixes the problem but of course I lost my whole night of labeling work. So how to safely sync my index between several machines? regards, Horacio _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk