From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.58.247.3 with SMTP id ya3csp1031720vec; Tue, 25 Sep 2012 14:06:07 -0700 (PDT) Received: by 10.50.191.165 with SMTP id gz5mr9369530igc.50.1348607167443; Tue, 25 Sep 2012 14:06:07 -0700 (PDT) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id x3si1427053ice.9.2012.09.25.14.06.07; Tue, 25 Sep 2012 14:06:07 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-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-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id BA6992E079; Tue, 25 Sep 2012 21:06:06 +0000 (UTC) Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) by rubyforge.org (Postfix) with ESMTP id DA5342E070 for ; Tue, 25 Sep 2012 21:02:05 +0000 (UTC) Received: by ieje11 with SMTP id e11so17226513iej.23 for ; Tue, 25 Sep 2012 14:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:from:to:subject:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; bh=DztZx1Yz0BlrzxkhH6v1Gmu/inJ8rURHsa8mo2COIgk=; b=mrj+oxl519WHToZy5xqYm5fUN0QqhV3Kprlfp3gVB/LXeCWdwvv239Fwn1lG+hllBH 6vgawaYqg34bJ6iZpEQAv5CC8YQVchVFr+I7sYftUY4AWltBC8Zmhz9dZyg+P2IpXOi1 RE3rx0rGJp754sECusxrpuK8Y4U6LnenYdG8jwldpCva0oAb4IySmMUPOaz+8DIyVak5 3zUcioW6DVtpDQ+kA7SJN5Ryg7B1Er3HwCNjrQ5FKpQ3eWsLZHVi5xHOYmiZ7wwnoLLd fD5VD1ZMBT4QFa9Wm+JQOTVevpuDoDsamvTP8fbLv7/xR2qeMm+2Q32kWD7dzmk4iGrM y6Lw== Received: by 10.43.48.129 with SMTP id uw1mr12820396icb.10.1348606925437; Tue, 25 Sep 2012 14:02:05 -0700 (PDT) Received: from localhost ([64.56.231.94]) by mx.google.com with ESMTPS id ce10sm11499296igb.1.2012.09.25.14.02.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 14:02:03 -0700 (PDT) From: Steven Hum To: sup-devel In-reply-to: References: <1348599178-sup-12@luna> Date: Tue, 25 Sep 2012 17:01:45 -0400 Message-Id: <1348605639-sup-455@luna> User-Agent: Sup/git Subject: Re: [sup-devel] Update in heliotrope ! X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion 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-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Yes! :-) (though I did try the import with the server running after the persistent hanging without.. just in case the documentation wasn't correct!). As nothing appeared to be working, I purged the heliotrope mailstore and performed 2 actions: 1) the initial server startup to initialize the mailstore and associated files, and 2) an import of a small maildir (after stopping the server). I presume the logs you are referring to is the LOG file in the /store dir. LOG from step 1) (or LOG.old after completing both steps) 2012/09/25-16:42:13.770269 7ff2345bc700 Delete type=3 #1 LOG from attempted import, step 2) 2012/09/25-16:43:12.450537 7f0c45ff8700 Recovering log #3 2012/09/25-16:43:12.450585 7f0c45ff8700 Level-0 table #5: started 2012/09/25-16:43:12.458919 7f0c45ff8700 Level-0 table #5: 344 bytes OK 2012/09/25-16:43:12.460026 7f0c45ff8700 Delete type=0 #3 2012/09/25-16:43:12.460050 7f0c45ff8700 Delete type=3 #2 Oh, the second thing you should know is that I run on debian (test / wheezy) and have been using rvm 1.9.3. I know that the debian environment doesn'd always make it easy for ruby installs at times. In addition to the gems requirements listed in the README, I had to install the mail and thin gems to get heliotrope to run. Regards, Steven Excerpts from Matthieu Rakotojaona's message of 2012-09-25 15:44:49 -0400: > On Tue, Sep 25, 2012 at 9:15 PM, Steven Hum wrote: > > Hello Matthieu, > > Hello, > > > I am able to initialize the heliotrope mailstore directory easy enough > > with > > > > ruby -Ilib bin/heliotrope-server -d > > > > (stuff gets created :-) but when I try to import with > > > > ruby -Ilib bin/heliotrope-import -a -d > > Did you even read the README ? =] > > It clearly says : "To bulk import mail, use heltrope-import. You must > stop your server first." > > The thing is, both heliotrope-server and heliotrope-import will try to > access the same resources, which are not designed for > multi-concurrency. So, you have to shut heliotrope-server down before > using heliotrope-import. > > > I tried using heliotrope-add with the server running, but it > > hung at the same point (not surpisingly). > > This is more problematic, because it should work. Can you share some > of your logs ? > > > Secondly, your note "stop all other activity with heliotrope while you > > sync with offlinimap". Does that mean heliotrope-server should not be > > running if offlineimap is (updating the maildirs)? > > No, on the contrary, it means that while heliotrope-server is running, > you should either access it with a traditional http client, or with an > IMAP client, but you should never do both the same time. > But you will need heliotrope-server running for accessing IMAP. > -- "Truth or die." Steven Hum 5 - 28 Gilmour St Ottawa, ON K2P 0N3 email sdothum@gmail.com tel 613.237.9058 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel