community/pipermail-archives/sup-devel/2010-04.txt (35403B) - raw
1 From rlane@club.cc.cmu.edu Sat Apr 3 14:01:56 2010
2 From: rlane@club.cc.cmu.edu (Rich Lane)
3 Date: Sat, 03 Apr 2010 14:01:56 -0400
4 Subject: [sup-devel] Now in master: multiple-locations and
5 remote-source-removal
6 Message-ID: <1270316637-sup-2831@zyrg.net>
7
8 As promised, IMAP and mbox+ssh sources have been completely removed from
9 the codebase.
10
11 I've also merged the index format change to keep track of all locations
12 (source + source_info) for a message. Once you've opened your index with
13 an upgraded sup you won't be able to read it with an older sup. I expect
14 the multiple-locations change by itself to be stable so that shouldn't
15 be a big deal. It is important to get it in master before I merge the
16 maildir branch to next so that you can switch between them without
17 nuking your index.
18
19 From sup-bugs@masanjin.net Mon Apr 5 03:18:41 2010
20 From: sup-bugs@masanjin.net (anonymous)
21 Date: Mon, 05 Apr 2010 07:18:41 +0000
22 Subject: [sup-devel] [issue88] just a crash
23 In-Reply-To: <1270451921.06.0.062010047151.issue88@masanjin.net>
24 Message-ID: <1270451921.06.0.062010047151.issue88@masanjin.net>
25
26
27 New submission from anonymous:
28
29 sup crashes for me almost daily. installed from the aur
30
31 --- NoMethodError from thread: periodic poll
32 undefined method `[]' for nil:NilClass
33 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:722:in `mkterm'
34 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:500:in `find_docid'
35 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:506:in `find_doc'
36 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:516:in `get_entry'
37 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:193:in `block in
38 build_message'
39 /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
40 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:525:in `synchronize'
41 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:193:in `build_message'
42 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
43 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:117:in `block (3 levels)
44 in do_poll'
45 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:176:in `block in
46 each_message_from'
47 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:197:in `block in each'
48 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:185:in `upto'
49 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:185:in `each'
50 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:610:in `__pass'
51 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:597:in `method_missing'
52 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:164:in
53 `each_message_from'
54 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:116:in `block (2 levels)
55 in do_poll'
56 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:104:in `each'
57 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:104:in `block in do_poll'
58 <internal:prelude>:8:in `synchronize'
59 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:103:in `do_poll'
60 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
61 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/poll-mode.rb:15:in `poll'
62 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:50:in `poll_with_sources'
63 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:69:in `poll'
64 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/poll.rb:87:in `block in start'
65 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup.rb:76:in `block in
66 reporting_thread'
67
68 ----------
69 messages: 208
70 nosy: anonymous
71 priority: bug
72 ruby_version: 1.9.1_p378-1
73 status: unread
74 sup_version: 0.11-1
75 title: just a crash
76
77 _________________________________________
78 Sup issue tracker <sup-bugs at masanjin.net>
79 <http://masanjin.net/sup-bugs/issue88>
80 _________________________________________
81
82 From sup-bugs@masanjin.net Tue Apr 6 09:09:41 2010
83 From: sup-bugs@masanjin.net (anonymous)
84 Date: Tue, 06 Apr 2010 13:09:41 +0000
85 Subject: [sup-devel] [issue89] Crash on sending mail
86 In-Reply-To: <1270559381.0.0.61709774331.issue89@masanjin.net>
87 Message-ID: <1270559381.0.0.61709774331.issue89@masanjin.net>
88
89
90 New submission from anonymous:
91
92 I'm greatly enjoying sup. I'm afraid I got an exception whilst sending my first
93 e-mail. I've copied my terminal output below and attached the exception-log.txt
94 file. The e-mail did arrive intact.
95
96
97
98 File /tmp/20522-0-sup.compose-mode saved
99 [Tue Apr 06 14:03:18 +0100 2010] ERROR: oh crap, an exception
100 ----------------------------------------------------------------
101 I'm very sorry. It seems that an error occurred in Sup. Please
102 accept my sincere apologies. Please submit the contents of
103 /home/neil/.sup/exception-log.txt and a brief report of the
104 circumstances to http://masanjin.net/sup-bugs/ so that I might
105 address this problem. Thank you!
106
107 Sincerely,
108 William
109 ----------------------------------------------------------------
110 --- TypeError from thread: main
111 can't convert nil into String
112 /usr/lib/ruby/1.8/sup/mbox/loader.rb:117:in `exists?'
113 /usr/lib/ruby/1.8/sup/mbox/loader.rb:117:in `store_message'
114 /usr/lib/ruby/1.8/sup/util.rb:599:in `send'
115 /usr/lib/ruby/1.8/sup/util.rb:599:in `__pass'
116 /usr/lib/ruby/1.8/sup/util.rb:586:in `method_missing'
117 /usr/lib/ruby/1.8/sup/sent.rb:28:in `write_sent_message'
118 /usr/lib/ruby/1.8/sup/util.rb:559:in `send'
119 /usr/lib/ruby/1.8/sup/util.rb:559:in `method_missing'
120 /usr/lib/ruby/1.8/sup/modes/edit-message-mode.rb:325:in `send_message'
121 /usr/lib/ruby/1.8/sup/mode.rb:51:in `send'
122 /usr/lib/ruby/1.8/sup/mode.rb:51:in `handle_input'
123 /usr/lib/ruby/1.8/sup/buffer.rb:270:in `handle_input'
124 /usr/bin/sup-mail:268
125
126 ----------
127 files: exception-log.txt
128 messages: 210
129 nosy: anonymous
130 priority: bug
131 ruby_version: 1.8.7.72-3lenny1
132 status: unread
133 sup_version: 0.10.2
134 title: Crash on sending mail
135
136 _________________________________________
137 Sup issue tracker <sup-bugs at masanjin.net>
138 <http://masanjin.net/sup-bugs/issue89>
139 _________________________________________
140 -------------- next part --------------
141 --- TypeError from thread: main
142 can't convert nil into String
143 /usr/lib/ruby/1.8/sup/mbox/loader.rb:117:in `exists?'
144 /usr/lib/ruby/1.8/sup/mbox/loader.rb:117:in `store_message'
145 /usr/lib/ruby/1.8/sup/util.rb:599:in `send'
146 /usr/lib/ruby/1.8/sup/util.rb:599:in `__pass'
147 /usr/lib/ruby/1.8/sup/util.rb:586:in `method_missing'
148 /usr/lib/ruby/1.8/sup/sent.rb:28:in `write_sent_message'
149 /usr/lib/ruby/1.8/sup/util.rb:559:in `send'
150 /usr/lib/ruby/1.8/sup/util.rb:559:in `method_missing'
151 /usr/lib/ruby/1.8/sup/modes/edit-message-mode.rb:325:in `send_message'
152 /usr/lib/ruby/1.8/sup/mode.rb:51:in `send'
153 /usr/lib/ruby/1.8/sup/mode.rb:51:in `handle_input'
154 /usr/lib/ruby/1.8/sup/buffer.rb:270:in `handle_input'
155 /usr/bin/sup-mail:268
156
157 From sup-bugs@masanjin.net Fri Apr 9 08:07:44 2010
158 From: sup-bugs@masanjin.net (anonymous)
159 Date: Fri, 09 Apr 2010 12:07:44 +0000
160 Subject: [sup-devel] [issue90] Crash during index
161 In-Reply-To: <1270814864.86.0.660572706943.issue90@masanjin.net>
162 Message-ID: <1270814864.86.0.660572706943.issue90@masanjin.net>
163
164
165 New submission from anonymous:
166
167 --- NoMethodError from thread: poll after loading inbox
168 undefined method `content_width' for nil:NilClass
169 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:923:in `from_width'
170 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:840:in
171 `text_for_thread_at'
172 /home/artagnon/src/sup/lib/sup/index.rb:493:in `each_with_index'
173 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:839:in `each'
174 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:839:in
175 `each_with_index'
176 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:839:in
177 `text_for_thread_at'
178 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:781:in `regen_text'
179 /home/artagnon/src/sup/lib/sup/util.rb:415:in `map_with_index'
180 /home/artagnon/src/sup/lib/sup/index.rb:493:in `each_with_index'
181 /home/artagnon/src/sup/lib/sup/util.rb:415:in `each'
182 /home/artagnon/src/sup/lib/sup/util.rb:415:in `each_with_index'
183 /home/artagnon/src/sup/lib/sup/util.rb:415:in `map_with_index'
184 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:781:in `regen_text'
185 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:242:in `update'
186 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:717:in `add_or_unhide'
187 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:196:in
188 `handle_added_update'
189 /home/artagnon/src/sup/lib/sup/update.rb:26:in `send'
190 /home/artagnon/src/sup/lib/sup/update.rb:26:in `relay'
191 /home/artagnon/src/sup/lib/sup/update.rb:26:in `each'
192 /home/artagnon/src/sup/lib/sup/update.rb:26:in `relay'
193 /home/artagnon/src/sup/lib/sup/util.rb:580:in `send'
194 /home/artagnon/src/sup/lib/sup/util.rb:580:in `method_missing'
195 /home/artagnon/src/sup/lib/sup/poll.rb:192:in `add_new_message'
196 /home/artagnon/src/sup/lib/sup/poll.rb:133:in `do_poll'
197 /home/artagnon/src/sup/lib/sup/poll.rb:177:in `each_message_from'
198 /home/artagnon/src/sup/lib/sup/maildir.rb:160:in `each'
199 /home/artagnon/src/sup/lib/sup/maildir.rb:157:in `upto'
200 /home/artagnon/src/sup/lib/sup/maildir.rb:157:in `each'
201 /home/artagnon/src/sup/lib/sup/util.rb:620:in `send'
202 /home/artagnon/src/sup/lib/sup/util.rb:620:in `__pass'
203 /home/artagnon/src/sup/lib/sup/util.rb:607:in `method_missing'
204 /home/artagnon/src/sup/lib/sup/poll.rb:165:in `each_message_from'
205 /home/artagnon/src/sup/lib/sup/poll.rb:116:in `do_poll'
206 /home/artagnon/src/sup/lib/sup/poll.rb:104:in `each'
207 /home/artagnon/src/sup/lib/sup/poll.rb:104:in `do_poll'
208 /home/artagnon/src/sup/lib/sup/poll.rb:103:in `synchronize'
209 /home/artagnon/src/sup/lib/sup/poll.rb:103:in `do_poll'
210 /home/artagnon/src/sup/lib/sup/util.rb:580:in `send'
211 /home/artagnon/src/sup/lib/sup/util.rb:580:in `method_missing'
212 /home/artagnon/src/sup/lib/sup/modes/poll-mode.rb:15:in `poll'
213 /home/artagnon/src/sup/lib/sup/poll.rb:50:in `poll_with_sources'
214 /home/artagnon/src/sup/lib/sup/poll.rb:69:in `poll'
215 /home/artagnon/src/sup/lib/sup/util.rb:580:in `send'
216 /home/artagnon/src/sup/lib/sup/util.rb:580:in `method_missing'
217 /home/artagnon/src/sup/bin/sup:211
218 /home/artagnon/src/sup/lib/sup.rb:77:in `reporting_thread'
219 /home/artagnon/src/sup/lib/sup.rb:75:in `initialize'
220 /home/artagnon/src/sup/lib/sup.rb:75:in `new'
221 /home/artagnon/src/sup/lib/sup.rb:75:in `reporting_thread'
222 /home/artagnon/src/sup/bin/sup:211
223 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:684:in `call'
224 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:684
225 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:625:in `call'
226 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:625:in
227 `load_n_threads_background'
228 /home/artagnon/src/sup/lib/sup.rb:77:in `reporting_thread'
229 /home/artagnon/src/sup/lib/sup.rb:75:in `initialize'
230 /home/artagnon/src/sup/lib/sup.rb:75:in `new'
231 /home/artagnon/src/sup/lib/sup.rb:75:in `reporting_thread'
232 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:623:in
233 `load_n_threads_background'
234 /home/artagnon/src/sup/lib/sup/modes/thread-index-mode.rb:694:in
235 `__unprotected_load_threads'
236 (eval):12:in `load_threads'
237 /home/artagnon/src/sup/bin/sup:211
238
239 ----------
240 messages: 211
241 nosy: anonymous
242 priority: bug
243 ruby_version: 4.4
244 status: unread
245 sup_version: 4e2734082bebee2
246 title: Crash during index
247
248 _________________________________________
249 Sup issue tracker <sup-bugs at masanjin.net>
250 <http://masanjin.net/sup-bugs/issue90>
251 _________________________________________
252
253 From hyperbolist@gmail.com Fri Apr 16 19:20:04 2010
254 From: hyperbolist@gmail.com (Eric Sherman)
255 Date: Fri, 16 Apr 2010 19:20:04 -0400
256 Subject: [sup-devel] [PATCH] before-add-message now only fires for new
257 messages
258 Message-ID: <1271459926-sup-1259@changeling.local>
259
260 ---
261 lib/sup/poll.rb | 2 +-
262 1 files changed, 1 insertions(+), 1 deletions(-)
263
264 diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
265 index 582cd4d..02aa0d3 100644
266 --- a/lib/sup/poll.rb
267 +++ b/lib/sup/poll.rb
268 @@ -130,6 +130,7 @@ EOS
269 end
270 else
271 yield "Found new message at #{m.source_info} with labels #{m.labels.to_a * ','}"
272 + HookManager.run "before-add-message", :message => m
273 add_new_message m
274 loaded_labels.merge m.labels
275 num += 1
276 @@ -173,7 +174,6 @@ EOS
277 m.labels.delete :unread if m.source_marked_read? # preserve read status if possible
278 m.labels.each { |l| LabelManager << l }
279
280 - HookManager.run "before-add-message", :message => m
281 yield m
282 end
283 rescue SourceError => e
284 --
285 1.6.6
286
287
288 From michael+sup@stapelberg.de Mon Apr 19 03:43:49 2010
289 From: michael+sup@stapelberg.de (Michael Stapelberg)
290 Date: Mon, 19 Apr 2010 09:43:49 +0200
291 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
292 Message-ID: <1271662579-sup-4883@midna.zekjur.net>
293
294 Hi,
295
296 yesterday I got a PGP/MIME message which had multiple attachments. Turns out
297 RubyMail cannot do multipart/signed (sup says RubyMail failed to decode the
298 document for some bizarre reason, when you try it in irb, you?ll see it
299 actually decodes the message parts as headers). I also tried 'mail' by the
300 same author which he claims can do multipart and is better in general, but
301 it seems it also cannot do multipart/signed (RFC 1847).
302
303 So, what are the plans in regard to RubyMail? Switching to something different
304 altogether? If so, to which library? I would then fix parsing of
305 multipart/signed messages for this library?
306
307 Best regards,
308 Michael
309
310 PS: I attached a minimum working example of a problematic message (decrypted
311 body only)
312 -------------- next part --------------
313 A non-text attachment was scrubbed...
314 Name: mwe
315 Type: application/octet-stream
316 Size: 2099 bytes
317 Desc: not available
318 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100419/6ef078a1/attachment.obj>
319
320 From samhall@riseup.net Mon Apr 19 08:55:37 2010
321 From: samhall@riseup.net (Sam Hall)
322 Date: Mon, 19 Apr 2010 14:55:37 +0200
323 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
324 In-Reply-To: <1271662579-sup-4883@midna.zekjur.net>
325 References: <1271662579-sup-4883@midna.zekjur.net>
326 Message-ID: <20100419125537.GA19586@3QuajwodyerfIj>
327
328 Hi,
329
330 On Mon, Apr 19, 2010 at 09:43 (+0200), Michael Stapelberg wrote:
331 > I also tried 'mail' by the same author which he claims can do
332 > multipart and is better in general, but it seems it also cannot do
333 > multipart/signed (RFC 1847).
334
335 'rmail' is significantly broken since a whole while IMHO, but 'mail'
336 works for me:
337
338 ~> irb -r mail
339 irb(main):001:0> pp Mail.read('mwe').parts
340 [#<Mail::Part:16136008, Multipart: true, Headers: <Content-Type: multipart/mixed; boundary="MP_/+kacMkT=yx+FKvl3YUds1sR">>,
341 #<Mail::Part:19934460, Multipart: false, Headers: <Content-Type: application/pgp-signature; name=signature.asc>, <Content-Disposition: attachment; filename=signature.asc>>]
342 => nil
343
344 What's the problem on your side?
345
346
347 Best wishes, Sam
348
349 From michael+sup@stapelberg.de Mon Apr 19 11:57:11 2010
350 From: michael+sup@stapelberg.de (Michael Stapelberg)
351 Date: Mon, 19 Apr 2010 17:57:11 +0200
352 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
353 In-Reply-To: <20100419125537.GA19586@3QuajwodyerfIj>
354 References: <1271662579-sup-4883@midna.zekjur.net>
355 <20100419125537.GA19586@3QuajwodyerfIj>
356 Message-ID: <1271692464-sup-1637@midna.zekjur.net>
357
358 Hi Sam,
359
360 Excerpts from Sam Hall's message of 2010-04-19 14:55:37 +0200:
361 > ~> irb -r mail
362 > irb(main):001:0> pp Mail.read('mwe').parts
363 > [#<Mail::Part:16136008, Multipart: true, Headers: <Content-Type: multipart/mixed; boundary="MP_/+kacMkT=yx+FKvl3YUds1sR">>,
364 > #<Mail::Part:19934460, Multipart: false, Headers: <Content-Type: application/pgp-signature; name=signature.asc>, <Content-Disposition: attachment; filename=signature.asc>>]
365 > => nil
366 > What's the problem on your side?
367 The problem arises as soon as you try to iterate over the content of the mail.
368 You will see that it only contains 2 parts (according to 'mail'), while there
369 are at least three text files, a signature and a text part:
370
371 irb(main):003:0> puts mail.parts.length
372 2
373 irb(main):006:0> pp mail.parts.map { |p| p.content_type }
374 ["multipart/mixed; boundary=\"MP_/+kacMkT=yx+FKvl3YUds1sR\"",
375 "application/pgp-signature; name=signature.asc"]
376 irb(main):007:0>
377
378 Best regards,
379 Michael
380
381 From gregor@hoffleit.de Mon Apr 19 11:48:09 2010
382 From: gregor@hoffleit.de (Gregor Hoffleit)
383 Date: Mon, 19 Apr 2010 17:48:09 +0200
384 Subject: [sup-devel] Slow Sup: Drawing speed depends on window height?
385 Message-ID: <1271690970-sup-7143@sam.mediasupervision.de>
386
387 My Sup window is about 60 lines high. Interacting with Sup feels slow,
388 even simple actions like tagging/untagging threads ('t') in the Inbox.
389
390 Only recently I noticed that interaction speed is much better in a
391 smaller terminal window (in the sense of less lines, the width seems to
392 be no issue).
393
394 To reproduce: A simple benchmark is to tag the first 10 threads of the
395 page. In a terminal window with 60 lines, I type ten "t"'s and then can
396 wait for several seconds, watchin the cursor move down line be line.
397 In a terminal with 20 lines, the cursor moves almost the same speed as I
398 type.
399
400 FWIW, I'm running the next branch on a Debian lenny system, with
401 packages ruby1.8 (1.8.7.174-2), libncurses-ruby1.8 (1.2.3-0.2) etc.pp.
402
403
404 Regards,
405 Gregor
406
407 From sup-bugs@masanjin.net Mon Apr 19 21:59:39 2010
408 From: sup-bugs@masanjin.net (anonymous)
409 Date: Tue, 20 Apr 2010 01:59:39 +0000
410 Subject: [sup-devel] [issue91] sup crashes on startup
411 In-Reply-To: <1271728778.83.0.161866916629.issue91@masanjin.net>
412 Message-ID: <1271728778.83.0.161866916629.issue91@masanjin.net>
413
414
415 New submission from anonymous:
416
417 --- RuntimeError from thread: load threads for thread-index-mode
418 invalid source 16
419 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:197:in `build_message'
420 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:187:in `block (2 levels)
421 in each_message_in_thread_for'
422 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/thread.rb:343:in `call'
423 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/thread.rb:343:in `block in
424 load_thread_for_message'
425 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:187:in `block in
426 each_message_in_thread_for'
427 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:187:in `each'
428 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:187:in
429 `each_message_in_thread_for'
430 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/thread.rb:341:in
431 `load_thread_for_message'
432 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/thread.rb:333:in `block in
433 load_n_threads'
434 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:148:in `block in
435 each_id_by_date'
436 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:239:in `block in
437 each_id'
438 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:239:in `each'
439 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
440 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
441 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/thread.rb:328:in `load_n_threads'
442 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:640:in
443 `load_n_threads'
444 (eval):12:in `load_n_threads'
445 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:624:in
446 `block in load_n_threads_background'
447 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup.rb:76:in `block in
448 reporting_thread'
449
450 ----------
451 messages: 212
452 nosy: anonymous
453 priority: bug
454 ruby_version: ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
455 status: unread
456 sup_version: 0.11
457 title: sup crashes on startup
458
459 _________________________________________
460 Sup issue tracker <sup-bugs at masanjin.net>
461 <http://masanjin.net/sup-bugs/issue91>
462 _________________________________________
463
464 From sup-bugs@masanjin.net Tue Apr 20 02:13:29 2010
465 From: sup-bugs@masanjin.net (anonymous)
466 Date: Tue, 20 Apr 2010 06:13:29 +0000
467 Subject: [sup-devel] [issue92] undefined method `downcase' for
468 nil:NilClass (message.rb:387)
469 In-Reply-To: <1271744009.52.0.220249256921.issue92@masanjin.net>
470 Message-ID: <1271744009.52.0.220249256921.issue92@masanjin.net>
471
472
473 New submission from anonymous:
474
475 /opt/local/lib/ruby/gems/1.8/gems/rmail-1.0.0/lib/rmail/header.rb:537:in
476 `content_type': undefined method `downcase' for nil:NilClass (NoMethodError)
477 from /opt/local/lib/ruby/gems/1.8/gems/sup-
478 0.8.1/lib/sup/message.rb:387:in `message_to_chunks'
479 from /opt/local/lib/ruby/gems/1.8/gems/sup-
480 0.8.1/lib/sup/message.rb:209:in `load_from_source!'
481 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/poll.rb:151:in
482 `add_messages_from'
483 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:187:in
484 `each'
485 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:175:in
486 `upto'
487 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:175:in
488 `each'
489 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in
490 `send'
491 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in
492 `__pass'
493 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:539:in
494 `method_missing'
495 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/poll.rb:141:in
496 `add_messages_from'
497 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in
498 `send'
499 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in
500 `method_missing'
501 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:140
502 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:135:in
503 `each'
504 from /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:135
505 from /opt/local/bin/sup-sync:19:in `load'
506 from /opt/local/bin/sup-sync:19
507 Rats, that failed. You may have to do it manually.
508
509 ----------
510 messages: 213
511 nosy: anonymous
512 priority: bug
513 ruby_version: 1.8.7
514 status: unread
515 sup_version: 0.8.1
516 title: undefined method `downcase' for nil:NilClass (message.rb:387)
517
518 _________________________________________
519 Sup issue tracker <sup-bugs at masanjin.net>
520 <http://masanjin.net/sup-bugs/issue92>
521 _________________________________________
522
523 From sup-bugs@masanjin.net Tue Apr 20 02:17:41 2010
524 From: sup-bugs@masanjin.net (Maarten Billemont)
525 Date: Tue, 20 Apr 2010 06:17:41 +0000
526 Subject: [sup-devel] [issue93] undefined method `downcase' for
527 nil:NilClass (message.rb:387)
528 In-Reply-To: <1271744261.84.0.880071737049.issue93@masanjin.net>
529 Message-ID: <1271744261.84.0.880071737049.issue93@masanjin.net>
530
531
532 New submission from Maarten Billemont <lhunath at gmail.com>:
533
534 Copy of issue 92
535
536 ----------
537 messages: 215
538 nosy: lhunath
539 priority: bug
540 ruby_version: 1.8.7
541 status: chatting
542 sup_version: 0.8.1
543 title: undefined method `downcase' for nil:NilClass (message.rb:387)
544
545 _________________________________________
546 Sup issue tracker <sup-bugs at masanjin.net>
547 <http://masanjin.net/sup-bugs/issue93>
548 _________________________________________
549
550 From samhall@riseup.net Tue Apr 20 02:26:00 2010
551 From: samhall@riseup.net (Sam Hall)
552 Date: Tue, 20 Apr 2010 08:26:00 +0200
553 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
554 In-Reply-To: <1271692464-sup-1637@midna.zekjur.net>
555 References: <1271662579-sup-4883@midna.zekjur.net>
556 <20100419125537.GA19586@3QuajwodyerfIj>
557 <1271692464-sup-1637@midna.zekjur.net>
558 Message-ID: <20100420062557.GA31729@jurbIgebBeddUfs2>
559
560 On Mon, Apr 19, 2010 at 17:57 (+0200), Michael Stapelberg wrote:
561 > The problem arises as soon as you try to iterate over the content of the mail.
562 > You will see that it only contains 2 parts (according to 'mail'), while there
563 > are at least three text files, a signature and a text part:
564
565 The first part is a multipart-message in itself, you have to recurse to get
566 hands on its parts:
567
568 irb(main):012:0> pp mail.parts.first.parts.map { |p| p.content_type }
569 ["text/plain; charset=US-ASCII",
570 "text/plain; charset=US_ASCII",
571 "text/plain; charset=US_ASCII",
572 "text/plain; charset=US_ASCII",
573 "text/plain; charset=US_ASCII"]
574
575
576 This is not only legal, RFC 3156 even requires this (in 5.):
577
578 The multipart/signed body MUST consist of exactly two parts. The first part
579 contains the signed data in MIME canonical format, including a set of
580 appropriate content headers describing the data.
581
582 The second body MUST contain the OpenPGP digital signature. It MUST be
583 labeled with a content type of "application/pgp-signature".
584
585
586 Best wishes, Sam
587
588
589 From michael+sup@stapelberg.de Tue Apr 20 02:40:36 2010
590 From: michael+sup@stapelberg.de (Michael Stapelberg)
591 Date: Tue, 20 Apr 2010 08:40:36 +0200
592 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
593 In-Reply-To: <20100420062557.GA31729@jurbIgebBeddUfs2>
594 References: <1271662579-sup-4883@midna.zekjur.net>
595 <20100419125537.GA19586@3QuajwodyerfIj>
596 <1271692464-sup-1637@midna.zekjur.net>
597 <20100420062557.GA31729@jurbIgebBeddUfs2>
598 Message-ID: <1271745597-sup-8192@midna.zekjur.net>
599
600 Hi Sam,
601
602 Excerpts from Sam Hall's message of 2010-04-20 08:26:00 +0200:
603 > The first part is a multipart-message in itself, you have to recurse to get
604 > hands on its parts:
605 Ah, alright. I thought 'mail' would automatically flatten the parts. Nevermind,
606 then.
607
608 So, when do we switch to 'mail'?
609
610 Best regards,
611 Michael
612
613 From rlane@club.cc.cmu.edu Tue Apr 20 11:27:54 2010
614 From: rlane@club.cc.cmu.edu (Rich Lane)
615 Date: Tue, 20 Apr 2010 11:27:54 -0400
616 Subject: [sup-devel] RubyMail cannot handle multipart/signed messages
617 In-Reply-To: <1271745597-sup-8192@midna.zekjur.net>
618 References: <1271662579-sup-4883@midna.zekjur.net>
619 <20100419125537.GA19586@3QuajwodyerfIj>
620 <1271692464-sup-1637@midna.zekjur.net>
621 <20100420062557.GA31729@jurbIgebBeddUfs2>
622 <1271745597-sup-8192@midna.zekjur.net>
623 Message-ID: <1271776749-sup-2472@zyrg.net>
624
625 Excerpts from Michael Stapelberg's message of 2010-04-20 02:40:36 -0400:
626 > So, when do we switch to 'mail'?
627
628 I'm all for it but we need to be careful about regressions. We'd need
629 to have a pretty extensive testsuite covering Message and Chunk before
630 switching, which is a bigger effort than the switch itself.
631
632 From sup-bugs@masanjin.net Wed Apr 21 04:36:11 2010
633 From: sup-bugs@masanjin.net (anonymous)
634 Date: Wed, 21 Apr 2010 08:36:11 +0000
635 Subject: [sup-devel] [issue94] sup crashes on thread labelling
636 In-Reply-To: <1271838971.05.0.229170305885.issue94@masanjin.net>
637 Message-ID: <1271838971.05.0.229170305885.issue94@masanjin.net>
638
639
640 New submission from anonymous:
641
642 sup crashes when labelling a certain thread with an existing label (i.e. other
643 same labeled threads exist). Labelling this thread in not possible, even afte
644 restart, other thread can be labeled with the given label.
645
646 label was "sopra2010"
647
648 exception log attached, may be a Xapian problem
649
650 ----------
651 files: exception-log.txt
652 messages: 218
653 nosy: anonymous
654 priority: bug
655 ruby_version: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
656 status: unread
657 sup_version: sup/git last commitFri Apr 16 16:32:51 2010
658 title: sup crashes on thread labelling
659
660 _________________________________________
661 Sup issue tracker <sup-bugs at masanjin.net>
662 <http://masanjin.net/sup-bugs/issue94>
663 _________________________________________
664 -------------- next part --------------
665 --- ArgumentError from thread: index sync
666 InvalidArgumentError: Term `I9998' is not present in document, in Xapian::Document::Internal::remove_term()
667 /home/guedemann/source/sup/lib/sup/index.rb:665:in `remove_term'
668 /home/guedemann/source/sup/lib/sup/index.rb:665:in `index_message_locations'
669 /home/guedemann/source/sup/lib/sup/index.rb:665:in `each'
670 /home/guedemann/source/sup/lib/sup/index.rb:665:in `index_message_locations'
671 /home/guedemann/source/sup/lib/sup/index.rb:605:in `sync_message'
672 /home/guedemann/source/sup/lib/sup/index.rb:125:in `update_message_state'
673 /home/guedemann/source/sup/lib/sup/index.rb:428:in `run_sync_worker'
674 /home/guedemann/source/sup/lib/sup/index.rb:415:in `start_sync_worker'
675 /home/guedemann/source/sup/lib/sup.rb:77:in `reporting_thread'
676 /home/guedemann/source/sup/lib/sup.rb:75:in `initialize'
677 /home/guedemann/source/sup/lib/sup.rb:75:in `new'
678 /home/guedemann/source/sup/lib/sup.rb:75:in `reporting_thread'
679 /home/guedemann/source/sup/lib/sup/index.rb:415:in `start_sync_worker'
680 /home/guedemann/source/sup/lib/sup/util.rb:580:in `send'
681 /home/guedemann/source/sup/lib/sup/util.rb:580:in `method_missing'
682 /home/guedemann/source/sup/bin/sup:155
683
684 From sup-bugs@masanjin.net Wed Apr 21 09:03:27 2010
685 From: sup-bugs@masanjin.net (anonymous)
686 Date: Wed, 21 Apr 2010 13:03:27 +0000
687 Subject: [sup-devel] [issue95] incompatible encoding regexp match
688 (ASCII-8BIT regexp with UTF-8 string)
689 In-Reply-To: <1271855007.24.0.641994624503.issue95@masanjin.net>
690 Message-ID: <1271855007.24.0.641994624503.issue95@masanjin.net>
691
692
693 New submission from anonymous:
694
695 sup crashes when I try to autocomplete a contact that contains umlauts
696
697 a ~$ cat .sup/exception-log.txt
698 --- Encoding::CompatibilityError from thread: main
699 incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
700 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:483:in `block (2
701 levels) in ask_many_emails_with_completions'
702 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:483:in `select'
703 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:483:in `block in
704 ask_many_emails_with_completions'
705 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/textfield.rb:79:in `call'
706 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/textfield.rb:79:in `handle_input'
707 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:585:in `ask'
708 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:479:in
709 `ask_many_emails_with_completions'
710 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
711 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:555:in
712 `ask_for_contacts'
713 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
714 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/compose-mode.rb:24:in
715 `spawn_nicely'
716 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:330:in `<module:Redwood>'
717 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:68:in `<top (required)>'
718 /usr/bin/sup:19:in `load'
719 /usr/bin/sup:19:in `<main>'
720
721 ----------
722 messages: 219
723 nosy: anonymous
724 priority: bug
725 ruby_version: ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
726 status: unread
727 sup_version: 0.11
728 title: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
729
730 _________________________________________
731 Sup issue tracker <sup-bugs at masanjin.net>
732 <http://masanjin.net/sup-bugs/issue95>
733 _________________________________________
734
735 From eg@gaute.vetsj.com Wed Apr 21 09:24:55 2010
736 From: eg@gaute.vetsj.com (Gaute Hope)
737 Date: Wed, 21 Apr 2010 15:24:55 +0200
738 Subject: [sup-devel] [issue95] incompatible encoding regexp match
739 (ASCII-8BIT regexp with UTF-8 string)
740 In-Reply-To: <1271855007.24.0.641994624503.issue95@masanjin.net>
741 References: <1271855007.24.0.641994624503.issue95@masanjin.net>
742 Message-ID: <1271856189-sup-1107@dolk>
743
744 Excerpts from anonymous's message of 2010-04-21 15:03:27 +0200:
745 >
746 > New submission from anonymous:
747 >
748 > sup crashes when I try to autocomplete a contact that contains umlauts
749
750 this is probably related to: http://masanjin.net/sup-bugs/issue36
751
752 - gaute
753 -------------- next part --------------
754 A non-text attachment was scrubbed...
755 Name: signature.asc
756 Type: application/pgp-signature
757 Size: 198 bytes
758 Desc: not available
759 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100421/977d44d9/attachment.bin>
760
761 From sup-bugs@masanjin.net Thu Apr 22 04:50:41 2010
762 From: sup-bugs@masanjin.net (Gaute Hope)
763 Date: Thu, 22 Apr 2010 08:50:41 +0000
764 Subject: [sup-devel] [issue96] Crash on archive
765 In-Reply-To: <1271926203-sup-2253@dolk>
766 Message-ID: <1271926203-sup-2253@dolk>
767
768
769 New submission from Gaute Hope <eg at gaute.vetsj.com>:
770
771 While trying to archive a specific thread in the index or thread view,
772 this happens:
773
774 --- ArgumentError from thread: index sync
775 InvalidArgumentError: Term `I9998' is not present in document, in Xapian::Document::Internal::remove_term()
776 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:665:in `remove_term'
777 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:665:in `block in index_message_locations'
778 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:665:in `each'
779 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:665:in `index_message_locations'
780 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:605:in `sync_message'
781 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:125:in `update_message_state'
782 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:428:in `run_sync_worker'
783 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/index.rb:415:in `block in start_sync_worker'
784 /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup.rb:77:in `block in reporting_thread'
785
786 Running latest 'next'.
787
788 - gaute
789
790 ----------
791 messages: 220
792 nosy: gauteh
793 status: unread
794 title: Crash on archive
795
796 _________________________________________
797 Sup issue tracker <sup-bugs at masanjin.net>
798 <http://masanjin.net/sup-bugs/issue96>
799 _________________________________________
800
801 From sup-bugs@masanjin.net Mon Apr 26 00:31:28 2010
802 From: sup-bugs@masanjin.net (anonymous)
803 Date: Mon, 26 Apr 2010 04:31:28 +0000
804 Subject: [sup-devel] [issue97] exception (NoMethodError from thread:
805 periodic poll)
806 In-Reply-To: <1272256288.63.0.525145954272.issue97@masanjin.net>
807 Message-ID: <1272256288.63.0.525145954272.issue97@masanjin.net>
808
809
810 New submission from anonymous:
811
812 I was browsing a 68-message long thread and poof, seemingly unrelated, I was
813 thrown out of sup! exception log attached, hopefully more informative than I can be.
814
815 ----------
816 files: exception-log.txt
817 messages: 221
818 nosy: anonymous
819 priority: bug
820 ruby_version: 1.8
821 status: unread
822 sup_version: 0.11
823 title: exception (NoMethodError from thread: periodic poll)
824
825 _________________________________________
826 Sup issue tracker <sup-bugs at masanjin.net>
827 <http://masanjin.net/sup-bugs/issue97>
828 _________________________________________
829 -------------- next part --------------
830 --- NoMethodError from thread: periodic poll
831 undefined method `+' for nil:NilClass
832 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/maildir.rb:171:in `end_offset'
833 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/source.rb:88:in `done?'
834 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:610:in `send'
835 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:610:in `__pass'
836 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:597:in `method_missing'
837 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:107:in `do_poll'
838 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:104:in `each'
839 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:104:in `do_poll'
840 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:103:in `synchronize'
841 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:103:in `do_poll'
842 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `send'
843 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
844 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/modes/poll-mode.rb:15:in `poll'
845 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:50:in `poll_with_sources'
846 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:69:in `poll'
847 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:87:in `start'
848 /var/lib/gems/1.8/gems/sup-0.11/lib/sup.rb:76:in `reporting_thread'
849 /var/lib/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `initialize'
850 /var/lib/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `new'
851 /var/lib/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `reporting_thread'
852 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/poll.rb:84:in `start'
853 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `send'
854 /var/lib/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
855 /var/lib/gems/1.8/gems/sup-0.11/bin/sup:241
856 /var/lib/gems/1.8/bin/sup:19:in `load'
857 /var/lib/gems/1.8/bin/sup:19
858