beagle 0.2.11 doesn't remember the index across sessions



I just built 0.2.11 on Kubuntu edgy, because I had the same problem with the
ubuntu packages (which are slightly older). Basically after I shut down beagle
and start it up again, it appears to have lost all its indexes. Here's what I did:

nuisance swamp:~$ echo $BEAGLE_STORAGE
/export/nuisance/beagle
nuisance swamp:~$ rm -rf /export/nuisance/beagle
nuisance swamp:~$ beagled --bg; sleep 5m; beagle-query test; beagle-shutdown
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>2311
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>2310
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>2308
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>6
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>5
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>168
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>140
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>137
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>130
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>122
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2000>119
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>3832
imap://nuisance swamp ghs com:666/fetch>UID>/archive-2002>4361
nuisance swamp:~$ beagled --bg; sleep 20s; beagle-query test; beagle-shutdown
nuisance swamp:~$

As you can see the second time I ran beagle, it didn't remember any of the stuff it had indexed before.

This is what my Log directory looks like at the end:
-rw-r--r-- 1 nuisance green 28785 2006-10-25 12:28 2006-10-25-12-23-19-Beagle
-rw-r--r-- 1 nuisance green 2776 2006-10-25 12:25 2006-10-25-12-23-19-BeagleExceptions
-rw-r--r-- 1 nuisance green 66202 2006-10-25 12:28 2006-10-25-12-24-23-IndexHelper
-rw-r--r-- 1 nuisance green  2678 2006-10-25 12:29 2006-10-25-12-29-30-Beagle
lrwxrwxrwx 1 nuisance green 54 2006-10-25 12:29 current-Beagle -> /export/nuisance/beagle/Log/2006-10-25-12-29-30-Beagle lrwxrwxrwx 1 nuisance green 59 2006-10-25 12:24 current-IndexHelper -> /export/nuisance/beagle/Log/2006-10-25-12-24-23-IndexHelper

and this is the output of "grep -v DEBUG 2006*" in that directory:
2006-10-25-12-23-19-Beagle:061025 1223201018 28918 Beagle WARN: Extended attributes are not supported on this filesystem. Performance will suffer as a result. 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: Failed to load /home/u/nuisance/.mozilla-thunderbird/6iappa5t.default/ImapMail/swamp.ghs.com/archive-2003.msf: 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: System.ArgumentOutOfRangeException: < 0 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: Parameter name: length 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at System.String.Substring (Int32 startIndex, Int32 length) [0x00088] in /build/buildd/mono-1.1.17.1/mcs/class/corlib/System/String.cs:377 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content, System.Int32 position, System.String start, System.String end) [0x00033] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:129 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x0018d] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:115 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read () [0x00047] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:73 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.Thunderbird+Database.Load () [0x00010] in /export/nuisance/fun/beagle-0.2.11/Util/Thunderbird.cs:433 2006-10-25-12-23-19-Beagle:061025 1224311995 28918 Beagle WARN EX: at Beagle.Daemon.ThunderbirdQueryable.MailIndexableGenerator.LoadDatabase () [0x00017] in /export/nuisance/fun/beagle-0.2.11/beagled/ThunderbirdQueryable/Mail.cs:81 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: Failed to load /home/u/nuisance/.mozilla-thunderbird/6iappa5t.default/ImapMail/swamp.ghs.com/archive-2003.msf: 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: System.ArgumentOutOfRangeException: < 0 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: Parameter name: length 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at System.String.Substring (Int32 startIndex, Int32 length) [0x00088] in /build/buildd/mono-1.1.17.1/mcs/class/corlib/System/String.cs:377 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content, System.Int32 position, System.String start, System.String end) [0x00033] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:129 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x0018d] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:115 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read () [0x00047] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:73 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.Thunderbird+Database.Load () [0x00010] in /export/nuisance/fun/beagle-0.2.11/Util/Thunderbird.cs:433 2006-10-25-12-23-19-Beagle:061025 1225290527 28918 Beagle WARN EX: at Beagle.Daemon.ThunderbirdQueryable.MailIndexableGenerator.LoadDatabase () [0x00017] in /export/nuisance/fun/beagle-0.2.11/beagled/ThunderbirdQueryable/Mail.cs:81 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: Failed to load /home/u/nuisance/.mozilla-thunderbird/6iappa5t.default/ImapMail/swamp.ghs.com/archive-2003.msf: 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: System.ArgumentOutOfRangeException: < 0 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: Parameter name: length 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at System.String.Substring (Int32 startIndex, Int32 length) [0x00088] in /build/buildd/mono-1.1.17.1/mcs/class/corlib/System/String.cs:377 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content, System.Int32 position, System.String start, System.String end) [0x00033] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:129 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x0018d] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:115 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read () [0x00047] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:73 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at Beagle.Util.Thunderbird+Database.Load () [0x00010] in /export/nuisance/fun/beagle-0.2.11/Util/Thunderbird.cs:433 2006-10-25-12-23-19-BeagleExceptions:061025 1224311995 28918 Beagle WARN EX: at Beagle.Daemon.ThunderbirdQueryable.MailIndexableGenerator.LoadDatabase () [0x00017] in /export/nuisance/fun/beagle-0.2.11/beagled/ThunderbirdQueryable/Mail.cs:81 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: Failed to load /home/u/nuisance/.mozilla-thunderbird/6iappa5t.default/ImapMail/swamp.ghs.com/archive-2003.msf: 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: System.ArgumentOutOfRangeException: < 0 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: Parameter name: length 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at System.String.Substring (Int32 startIndex, Int32 length) [0x00088] in /build/buildd/mono-1.1.17.1/mcs/class/corlib/System/String.cs:377 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content, System.Int32 position, System.String start, System.String end) [0x00033] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:129 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x0018d] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:115 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read () [0x00047] in /export/nuisance/fun/beagle-0.2.11/Util/Mork.cs:73 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at Beagle.Util.Thunderbird+Database.Load () [0x00010] in /export/nuisance/fun/beagle-0.2.11/Util/Thunderbird.cs:433 2006-10-25-12-23-19-BeagleExceptions:061025 1225290527 28918 Beagle WARN EX: at Beagle.Daemon.ThunderbirdQueryable.MailIndexableGenerator.LoadDatabase () [0x00017] in /export/nuisance/fun/beagle-0.2.11/beagled/ThunderbirdQueryable/Mail.cs:81 2006-10-25-12-24-23-IndexHelper:061025 1224243203 30775 IndexH WARN: Unable to set IO priority for process to idle 2006-10-25-12-29-30-Beagle:061025 1229304390 04910 Beagle WARN: Extended attributes are not supported on this filesystem. Performance will suffer as a result.


What's happening to my index? Beagle looks really cool. I really want to use
it.

Tim
--
Tim Newsome, Green Hills Probe Code Monkey at GHS; out 10/30, 11/6
nuisance ghs com, 805-965-6044 ext. 235, http://www.ghs.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]