[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] Update in heliotrope !
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