* [sup-devel] Exception
@ 2010-09-30 19:19 Edward Z. Yang
2010-10-01 4:52 ` Michael Stipicevic
0 siblings, 1 reply; 3+ messages in thread
From: Edward Z. Yang @ 2010-09-30 19:19 UTC (permalink / raw)
To: sup-devel
I got the following exception
/home/ezyang/Dev/sup/lib/sup/index.rb:537:in `find_docid'
/home/ezyang/Dev/sup/lib/sup/index.rb:542:in `find_doc'
/home/ezyang/Dev/sup/lib/sup/index.rb:552:in `get_entry'
/home/ezyang/Dev/sup/lib/sup/index.rb:195:in `build_message'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/home/ezyang/Dev/sup/lib/sup/index.rb:561:in `synchronize'
/home/ezyang/Dev/sup/lib/sup/index.rb:195:in `build_message'
/home/ezyang/Dev/sup/lib/sup/index.rb:150
/home/ezyang/Dev/sup/lib/sup/index.rb:230:in `call'
/home/ezyang/Dev/sup/lib/sup/index.rb:230:in `load_contacts'
/home/ezyang/Dev/sup/lib/sup/index.rb:150:in `each_id_by_date'
/home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each_id'
/home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each'
/home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each_id'
/home/ezyang/Dev/sup/lib/sup/index.rb:150:in `each_id_by_date'
/home/ezyang/Dev/sup/lib/sup/index.rb:228:in `load_contacts'
/home/ezyang/Dev/sup/lib/sup/util.rb:596:in `send'
/home/ezyang/Dev/sup/lib/sup/util.rb:596:in `method_missing'
/home/ezyang/Dev/sup/lib/sup/buffer.rb:548:in `ask_for_contacts'
/home/ezyang/Dev/sup/lib/sup/util.rb:596:in `send'
/home/ezyang/Dev/sup/lib/sup/util.rb:596:in `method_missing'
/home/ezyang/Dev/sup/lib/sup/modes/compose-mode.rb:25:in `spawn_nicely'
/home/ezyang/Dev/sup/bin/sup:311
Caused by this failed assertion:
def find_docid id
docids = term_docids(mkterm(:msgid,id))
fail unless docids.size <= 1
docids.first
end
So I guess my index is corrupted in some weird way (probably I managed
to create two mails with the same docid). I've worked around it by commenting
out the assert, but any idea how to fix my index?
Edward
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-01 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 19:19 [sup-devel] Exception Edward Z. Yang
2010-10-01 4:52 ` Michael Stipicevic
2010-10-01 17:13 ` Edward Z. Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox