Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed?
@ 2011-02-09  5:57 John Wyzer
       [not found] ` <1297452493-sup-3136@spade.spade-domain>
  2011-02-13 11:27 ` Sascha Silbe
  0 siblings, 2 replies; 5+ messages in thread
From: John Wyzer @ 2011-02-09  5:57 UTC (permalink / raw)
  To: sup-talk

Hi!
I have my sent messages in a maildir and deleted one message.
sup-sync used to have --changed to fix this in the index, but no longer 
has (the FAQ still says so).
Sup only says that there was an error loading the message, but does not 
say how to fix the index.
Is there a new method to do this?

Thanks in advance and
all the best,
John

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed?
       [not found] ` <1297452493-sup-3136@spade.spade-domain>
@ 2011-02-13  8:20   ` John Wyzer
  2011-02-13 13:59     ` Moritz Wilhelmy
  0 siblings, 1 reply; 5+ messages in thread
From: John Wyzer @ 2011-02-13  8:20 UTC (permalink / raw)
  To: sup-talk

Excerpts from Jon Austin's message of Fri Feb 11 20:29:28 +0100 2011:
> I think sup-sync -o may fix it.
> 
> (I've been having a strange issue since .12 came out if I send a message and then quit sup, then relaunch, it'll show the first line of the message, ending in '.....' and then show the below error (inside the message), until I sup-sync -o)
> 
> ***********************************************************************
>  An error occurred while loading this message.
> ***********************************************************************
> 
> I even spent several hours yesterday completely rebuilding the xapian index, but still happening...if anyone has a clue what could be causing this, I'd love to hear it :)


Hmm. In lib/sup/index.rb it says:
  ## xapian-compact takes too long, so this is a no-op
  ## until we think of something better
  def optimize
  end

And from what I understand, the -o optime does not do more at the moment.

So the question remain - if messags are missing from one Maildir, is my only option to dump, reindex all and restore?
That would be painful given the number of messages...

-- 
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed?
  2011-02-09  5:57 [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed? John Wyzer
       [not found] ` <1297452493-sup-3136@spade.spade-domain>
@ 2011-02-13 11:27 ` Sascha Silbe
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Silbe @ 2011-02-13 11:27 UTC (permalink / raw)
  To: John Wyzer; +Cc: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 683 bytes --]

Excerpts from John Wyzer's message of Wed Feb 09 06:57:19 +0100 2011:

> I have my sent messages in a maildir and deleted one message.
> sup-sync used to have --changed to fix this in the index, but no longer 
> has (the FAQ still says so).
> Sup only says that there was an error loading the message, but does not 
> say how to fix the index.

Check out the recent thread "Delete email from Sup index" [1] on
sup-talk and my patch [2] on sup-devel.

Sascha

[1] http://rubyforge.org/pipermail/sup-talk/2011-February/thread.html#4511
[2] http://rubyforge.org/pipermail/sup-devel/2011-February/thread.html#982
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed?
  2011-02-13  8:20   ` John Wyzer
@ 2011-02-13 13:59     ` Moritz Wilhelmy
  2011-02-13 18:03       ` Rich Lane
  0 siblings, 1 reply; 5+ messages in thread
From: Moritz Wilhelmy @ 2011-02-13 13:59 UTC (permalink / raw)
  To: sup-talk

Hi,

Excerpts from John Wyzer's message of Sun Feb 13 09:20:13 +0100 2011:
> So the question remain - if messags are missing from one Maildir, is my only
> option to dump, reindex all and restore?  That would be painful given the
> number of messages...

Not only painful and annoying but also very stupid. Why would someone want to
get rid of sup-sync --changed? It happens all the time that Maildirs are
externally changed, there *should* be some easy way to sync these changes back,
at least that's my insignificant opinion. I don't completely understand the
motivation for getting rid of this feature in the first place. Can someone
please explain?

Best regards,

Moritz
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed?
  2011-02-13 13:59     ` Moritz Wilhelmy
@ 2011-02-13 18:03       ` Rich Lane
  0 siblings, 0 replies; 5+ messages in thread
From: Rich Lane @ 2011-02-13 18:03 UTC (permalink / raw)
  To: Moritz Wilhelmy; +Cc: sup-talk

Excerpts from Moritz Wilhelmy's message of 2011-02-13 08:59:12 -0500:
> Excerpts from John Wyzer's message of Sun Feb 13 09:20:13 +0100 2011:
> > So the question remain - if messags are missing from one Maildir, is my only
> > option to dump, reindex all and restore?  That would be painful given the
> > number of messages...
> 
> Not only painful and annoying but also very stupid. Why would someone want to
> get rid of sup-sync --changed? It happens all the time that Maildirs are
> externally changed, there *should* be some easy way to sync these changes back,
> at least that's my insignificant opinion. I don't completely understand the
> motivation for getting rid of this feature in the first place. Can someone
> please explain?

sup-sync --changed was removed because it is no longer necessary. The
maildir code can now gracefully deal with messages being moved and
deleted. If all locations for a message are deleted it will keep the
index entry (including the snippet) but display an error (inline, not
disrupting the rest of the UI) if you try to view the message.

Is this the behavior you're seeing, or is there a bug in the
implementation?

Sascha posted a patch that deletes index entries with no locations after
a sync. I'd rather see that as a extra sup-sync --purge option, and if
you don't want deleted messages to appear in the UI we should just check
for that before adding them to the ThreadSet.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-13 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09  5:57 [sup-talk] message missing in source, sup v0.12.1, sup-sync no longer has --changed? John Wyzer
     [not found] ` <1297452493-sup-3136@spade.spade-domain>
2011-02-13  8:20   ` John Wyzer
2011-02-13 13:59     ` Moritz Wilhelmy
2011-02-13 18:03       ` Rich Lane
2011-02-13 11:27 ` Sascha Silbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox