Re: notmuch-tree display
[notmuch-archives.git] / 55 / baa174b05ff83042824d6a3407ee319d5c0015
1 Return-Path: <pioto@pioto.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id C19E040D146\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 07:35:34 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id kbeDwhATvOvk for <notmuch@notmuchmail.org>;\r
16         Wed, 13 Oct 2010 07:35:23 -0700 (PDT)\r
17 Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235])\r
18         by olra.theworths.org (Postfix) with ESMTP id CDBE640D143\r
19         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 07:35:23 -0700 (PDT)\r
20 Received: from pioto.org (pit84.pair.com [216.92.130.84])\r
21         (Authenticated sender: pioto)\r
22         by everglades.pioto.org (Postfix) with ESMTPSA id 087B01601D1\r
23         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 10:35:22 -0400 (EDT)\r
24 Date: Wed, 13 Oct 2010 10:35:15 -0400\r
25 From: Mike Kelly <pioto@pioto.org>\r
26 To: notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH 0/4] Maildir synchronization v2\r
28 Message-ID: <20101013103515.21ec86f7@pioto.org>\r
29 In-Reply-To: <20101013102425.0ca181c1@pioto.org>\r
30 References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz>\r
31         <20101013093158.6d637b89@pioto.org>\r
32         <20101013102425.0ca181c1@pioto.org>\r
33 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0)\r
34 Mime-Version: 1.0\r
35 Content-Type: text/plain; charset=US-ASCII\r
36 Content-Transfer-Encoding: 7bit\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Wed, 13 Oct 2010 14:35:34 -0000\r
50 \r
51 On Wed, 13 Oct 2010 10:24:25 -0400\r
52 Mike Kelly <pioto@pioto.org> wrote:\r
53 \r
54 > Looks like this may also require a newer xapian than i have now\r
55 > (xapian-core 1.0.18), as notmuch new aborts with:\r
56\r
57 >   terminate called after throwing an instance of\r
58 > 'Xapian::InvalidArgumentError'\r
59\r
60 > I'll see if I can track down anything more concrete as a cause.\r
61 \r
62 Well, the full backtrace looks like this:\r
63 \r
64   #0  __cxa_throw (obj=0x2883d560, tinfo=0x8070278, dest=0x806132e <~InvalidArgumentError>)\r
65       at ../../.././../gcc-4.4-20100309/libstdc++-v3/libsupc++/eh_throw.cc:67\r
66           header = (__cxxabiv1::__cxa_refcounted_exception *) 0x2883d500\r
67   #1  0x28353b72 in Xapian::Document::Internal::remove_term () from /usr/local/lib/libxapian.so.21\r
68   No symbol table info available.\r
69   #2  0x28353c96 in Xapian::Document::remove_term () from /usr/local/lib/libxapian.so.21\r
70   No symbol table info available.\r
71   #3  0x080604bc in _notmuch_message_remove_term (message=0x28a85c10, prefix_name=0x806c887 "tag", value=0x806c564 "draft")\r
72       at lib/message.cc:737\r
73           term = 0x28806ab0 "Kdraft"\r
74   #4  0x0806086a in notmuch_message_remove_tag (message=0x28a85c10, tag=0x806c564 "draft") at lib/message.cc:832\r
75           private_status = 134662454\r
76           status = NOTMUCH_STATUS_SUCCESS\r
77   #5  0x08060a56 in notmuch_message_maildir_to_tags (message=0x28a85c10, \r
78       filename=0x28a860f0 "/usr/home/staff/mike/mail/staff-support/cur/1286944232_2.71920.pit84.pair.com,U=26762,FMD5=74eb4e66bae4700f6b79b81477ef9cfa:2,S") at lib/message.cc:889\r
79           flags = 0x28a8616e "S"\r
80           i = 0\r
81           status = NOTMUCH_STATUS_SUCCESS\r
82           p = 0x28a8616f ""\r
83           f = 83 'S'\r
84           valid = true\r
85           unread = true\r
86   #6  0x08050bbe in add_files_recursive (notmuch=0x2881e7f0, path=0x2881ec70 "/usr/home/staff/mike/mail/staff-support/cur", \r
87       state=0xbfbfe238) at notmuch-new.c:420\r
88           err = 32\r
89           dir = (DIR *) 0x0\r
90           entry = (struct dirent *) 0x28a68640\r
91           next = 0x28a860f0 "/usr/home/staff/mike/mail/staff-support/cur/1286944232_2.71920.pit84.pair.com,U=26762,FMD5=74eb4e66bae4700f6b79b81477ef9cfa:2,S"\r
92           fs_mtime = 1286978382\r
93           db_mtime = 1286944232\r
94           status = NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID\r
95           ret = NOTMUCH_STATUS_SUCCESS\r
96           message = (notmuch_message_t *) 0x28a85c10\r
97           fs_entries = (struct dirent **) 0x28a6f000\r
98           i = 4915\r
99           num_fs_entries = 4922\r
100           directory = (notmuch_directory_t *) 0x288069f0\r
101           db_files = (notmuch_filenames_t *) 0x28806af0\r
102           db_subdirs = (notmuch_filenames_t *) 0x28806b30\r
103           st = {st_dev = 89, st_ino = 4172664, st_mode = 16832, st_nlink = 2, st_uid = 1118, st_gid = 0, st_rdev = 16689352, \r
104     st_atimespec = {tv_sec = 1286979943, tv_nsec = 0}, st_mtimespec = {tv_sec = 1286978382, tv_nsec = 0}, st_ctimespec = {\r
105       tv_sec = 1286978382, tv_nsec = 0}, st_size = 1205760, st_blocks = 2400, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, \r
106     st_birthtimespec = {tv_sec = 1264441077, tv_nsec = 0}}\r
107           is_maildir = 0\r
108           new_directory = 0\r
109           tag = (const char **) 0x8069d62\r
110   #7  0x08050780 in add_files_recursive (notmuch=0x2881e7f0, path=0x2881e790 "/usr/home/staff/mike/mail/staff-support", state=0xbfbfe238)\r
111       at notmuch-new.c:302\r
112           dir = (DIR *) 0x0\r
113           entry = (struct dirent *) 0x288cc5b0\r
114           next = 0x2881ec70 "/usr/home/staff/mike/mail/staff-support/cur"\r
115           fs_mtime = 1264003223\r
116           db_mtime = 1264003223\r
117           status = NOTMUCH_STATUS_SUCCESS\r
118           ret = NOTMUCH_STATUS_SUCCESS\r
119           message = (notmuch_message_t *) 0x0\r
120           fs_entries = (struct dirent **) 0x2883d480\r
121           i = 2\r
122           num_fs_entries = 5\r
123           directory = (notmuch_directory_t *) 0x28806870\r
124           db_files = (notmuch_filenames_t *) 0x28806a30\r
125           db_subdirs = (notmuch_filenames_t *) 0x28806a70\r
126           st = {st_dev = 89, st_ino = 3889110, st_mode = 16832, st_nlink = 5, st_uid = 1118, st_gid = 0, st_rdev = 15524535, \r
127     st_atimespec = {tv_sec = 1286979943, tv_nsec = 0}, st_mtimespec = {tv_sec = 1264003223, tv_nsec = 0}, st_ctimespec = {\r
128       tv_sec = 1264473647, tv_nsec = 0}, st_size = 512, st_blocks = 4, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, \r
129     st_birthtimespec = {tv_sec = 1264003223, tv_nsec = 0}}\r
130           is_maildir = 1\r
131           new_directory = 0\r
132           tag = (const char **) 0x8069d62\r
133   #8  0x08050780 in add_files_recursive (notmuch=0x2881e7f0, path=0x2881f680 "/usr/home/staff/mike/mail", state=0xbfbfe238)\r
134       at notmuch-new.c:302\r
135           dir = (DIR *) 0x0\r
136           entry = (struct dirent *) 0x28808900\r
137           next = 0x2881e790 "/usr/home/staff/mike/mail/staff-support"\r
138           fs_mtime = 1284781182\r
139           db_mtime = 1284781182\r
140           status = NOTMUCH_STATUS_SUCCESS\r
141           ret = NOTMUCH_STATUS_SUCCESS\r
142           message = (notmuch_message_t *) 0x0\r
143           fs_entries = (struct dirent **) 0x28825000\r
144           i = 40\r
145           num_fs_entries = 47\r
146           directory = (notmuch_directory_t *) 0x28806730\r
147           db_files = (notmuch_filenames_t *) 0x288068b0\r
148           db_subdirs = (notmuch_filenames_t *) 0x28806970\r
149           st = {st_dev = 89, st_ino = 3889107, st_mode = 16832, st_nlink = 47, st_uid = 1118, st_gid = 0, st_rdev = 15524532, \r
150     st_atimespec = {tv_sec = 1286979943, tv_nsec = 0}, st_mtimespec = {tv_sec = 1284781182, tv_nsec = 0}, st_ctimespec = {\r
151       tv_sec = 1284781182, tv_nsec = 0}, st_size = 1024, st_blocks = 4, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, \r
152     st_birthtimespec = {tv_sec = 1264181508, tv_nsec = 0}}\r
153           is_maildir = 0\r
154           new_directory = 0\r
155           tag = (const char **) 0xbfbfe178\r
156   #9  0x08050fb5 in add_files (notmuch=0x2881e7f0, path=0x2881f680 "/usr/home/staff/mike/mail", state=0xbfbfe238) at notmuch-new.c:553\r
157           status = NOTMUCH_STATUS_SUCCESS\r
158           action = {__sigaction_u = {__sa_handler = 0x8050166 <handle_sigalrm>, __sa_sigaction = 0x8050166 <handle_sigalrm>}, sa_flags = 2, \r
159     sa_mask = {__bits = {0, 0, 0, 0}}}\r
160           timerval = {it_interval = {tv_sec = 1, tv_usec = 0}, it_value = {tv_sec = 1, tv_usec = 0}}\r
161           timer_is_active = 1\r
162           st = {st_dev = 89, st_ino = 3889107, st_mode = 16832, st_nlink = 47, st_uid = 1118, st_gid = 0, st_rdev = 15524532, \r
163     st_atimespec = {tv_sec = 1286979943, tv_nsec = 0}, st_mtimespec = {tv_sec = 1284781182, tv_nsec = 0}, st_ctimespec = {\r
164       tv_sec = 1284781182, tv_nsec = 0}, st_size = 1024, st_blocks = 4, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, \r
165     st_birthtimespec = {tv_sec = 1264181508, tv_nsec = 0}}\r
166   #10 0x08051809 in notmuch_new_command (ctx=0x288090a0, argc=0, argv=0xbfbfe320) at notmuch-new.c:800\r
167           config = (notmuch_config_t *) 0x2881e490\r
168           notmuch = (notmuch_database_t *) 0x2881e7f0\r
169           add_files_state = {output_is_a_tty = 1, verbose = 0, new_tags = 0x288064b0, new_tags_length = 0, total_files = 0, \r
170     processed_files = 1, added_messages = 0, tv_start = {tv_sec = 1286980142, tv_usec = 691823}, removed_files = 0x288066b0, \r
171     removed_directories = 0x288066f0, maildir_sync = NOTMUCH_MAILDIR_SYNC_NEW_RENAMED_TAGGED}\r
172           elapsed = -0.12455515557656988\r
173           tv_now = {tv_sec = 671753656, tv_usec = -1077943692}\r
174           ret = 0\r
175           st = {st_dev = 89, st_ino = 3886724, st_mode = 16877, st_nlink = 3, st_uid = 1118, st_gid = 0, st_rdev = 15527616, \r
176     st_atimespec = {tv_sec = 1286953297, tv_nsec = 0}, st_mtimespec = {tv_sec = 1273174498, tv_nsec = 0}, st_ctimespec = {\r
177       tv_sec = 1273174498, tv_nsec = 0}, st_size = 512, st_blocks = 4, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, \r
178     st_birthtimespec = {tv_sec = 1273174498, tv_nsec = 0}}\r
179           db_path = 0x2881f680 "/usr/home/staff/mike/mail"\r
180           dot_notmuch_path = 0x0\r
181           action = {__sigaction_u = {__sa_handler = 0x8050181 <handle_sigint>, __sa_sigaction = 0x8050181 <handle_sigint>}, sa_flags = 2, \r
182     sa_mask = {__bits = {0, 0, 0, 0}}}\r
183           f = (_filename_node_t *) 0x2d\r
184           renamed_files = 672185856\r
185           removed_files = 0\r
186           status = 134639189\r
187           i = 0\r
188   #11 0x0804edd6 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499\r
189           local = (void *) 0x288090a0\r
190           command = (command_t *) 0x80708f4\r
191           i = 1\r
192 \r
193 -- \r
194 Mike Kelly\r