From: Steven Hum <sdothum@gmail.com>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] Update in heliotrope !
Date: Tue, 25 Sep 2012 17:01:45 -0400 [thread overview]
Message-ID: <1348605639-sup-455@luna> (raw)
In-Reply-To: <CAMiZLn1LnxLAYmunVP+E5TP2OVATjrMH3=VWF7_EU_qnqCZq=w@mail.gmail.com>
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 <mailstore>/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 <sdothum@gmail.com> wrote:
> > Hello Matthieu,
>
> Hello,
>
> > I am able to initialize the heliotrope mailstore directory easy enough
> > with
> >
> > ruby -Ilib bin/heliotrope-server -d <mailstore>
> >
> > (stuff gets created :-) but when I try to import with
> >
> > ruby -Ilib bin/heliotrope-import -a <maildir> -d <mailstore>
>
> 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
next prev parent reply other threads:[~2012-09-25 21:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 22:13 Matthieu Rakotojaona
2012-09-25 19:15 ` Steven Hum
2012-09-25 19:44 ` Matthieu Rakotojaona
2012-09-25 21:01 ` Steven Hum [this message]
2012-09-27 15:50 ` Matthieu Rakotojaona
2012-09-27 16:46 ` Steven Hum
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=1348605639-sup-455@luna \
--to=sdothum@gmail.com \
--cc=sup-devel@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