community/pipermail-archives/sup-talk/2007-06.txt (73144B) - raw
1 From jeff.covey@pobox.com Sun Jun 3 14:14:02 2007
2 From: jeff.covey@pobox.com (jeff covey)
3 Date: Sun, 3 Jun 2007 14:14:02 -0400
4 Subject: [sup-talk] how to avoid adding labels based on source names
5 In-Reply-To: <1180325255-sup-6791@south>
6 References: <20070527195013.GB4859@mona.jeffcovey.net>
7 <1180325255-sup-6791@south>
8 Message-ID: <20070603181402.GA8650@mona.jeffcovey.net>
9
10 on Sun, May 27, 2007 at 09:12:05PM -0700%, William Morgan said:
11
12 > > how do i stop sup-sync from adding a label to each message based on the
13 > > name of its source?
14 >
15 > There is currently no way to do this. This is my top priority change at
16 > the moment.
17
18 is there any news on this? there's no rush, but it is the one thing that's
19 keeping me from trying sup. :)
20
21 thanks,
22
23 --
24 jeff covey
25 http://jeffcovey.net/
26
27 -------------- next part --------------
28 A non-text attachment was scrubbed...
29 Name: not available
30 Type: application/pgp-signature
31 Size: 229 bytes
32 Desc: Digital signature
33 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070603/8025892a/attachment.bin
34
35 From wmorgan-sup@masanjin.net Sun Jun 3 15:20:47 2007
36 From: wmorgan-sup@masanjin.net (William Morgan)
37 Date: Sun, 03 Jun 2007 12:20:47 -0700
38 Subject: [sup-talk] how to avoid adding labels based on source names
39 In-Reply-To: <20070603181402.GA8650@mona.jeffcovey.net>
40 References: <20070527195013.GB4859@mona.jeffcovey.net>
41 <1180325255-sup-6791@south>
42 <20070603181402.GA8650@mona.jeffcovey.net>
43 Message-ID: <1180898390-sup-7346@south>
44
45 Excerpts from jeff covey's message of Sun Jun 03 11:14:02 -0700 2007:
46 > is there any news on this? there's no rush, but it is the one thing
47 > that's keeping me from trying sup. :)
48
49 I have a patch for it. Going to do a little more testing and then I'll
50 commit, probably later today.
51
52 --
53 William <wmorgan-sup at masanjin.net>
54
55 From wmorgan-sup@masanjin.net Sun Jun 3 17:49:12 2007
56 From: wmorgan-sup@masanjin.net (William Morgan)
57 Date: Sun, 03 Jun 2007 14:49:12 -0700
58 Subject: [sup-talk] tip for running sup-config from svn
59 Message-ID: <1180907207-sup-2856@south>
60
61 sup-config makes use of a RUBY_INVOCATION environment variable, so if
62 you want it to be able to call sup-add and sup-sync nicely, you can run
63 it like this (probably bash-specific):
64
65 RUBY_INVOCATION="ruby -I lib" ruby -I lib bin/sup-config
66
67 I'm about to commit some improvements, so feel free to check it out
68 (it shouldn't break your existing config.yaml if any).
69
70 --
71 William <wmorgan-sup at masanjin.net>
72
73 From wmorgan-sup@masanjin.net Sun Jun 3 18:15:57 2007
74 From: wmorgan-sup@masanjin.net (William Morgan)
75 Date: Sun, 03 Jun 2007 15:15:57 -0700
76 Subject: [sup-talk] new in svn: source labels (IMPORTANT)
77 Message-ID: <1180908278-sup-4457@south>
78
79 I've just committed a changeset that allows arbitrary labels to be
80 attached to sources, and sets ALL labels for new messages to be the
81 labels from the source.
82
83 The previous behavior of automagically applying labels to messages based
84 on, e.g., the filename of an mbox source, is no longer the case.
85
86 What this means for you: if you want any labels to be automatically
87 applied to messages, you need to edit sources.yaml and manually add a
88 "labels" entry to the corresponding source. YAML allows you to specify
89 these in one line by enclosing them in []'s, or to split them out line
90 by line. Examples:
91
92 labels: [label]
93 or
94 labels: [label1, label2]
95 or
96 labels:
97 - label
98 or
99 labels:
100 - label
101 - label2
102
103 Here's a complete example:
104
105 - !masanjin.net,2006-10-01/Redwood/MBox/Loader
106 uri: mbox:///home/w/Mail/ruby-talk
107 cur_offset: 159154117
108 usual: true
109 archived: true
110 id: 36
111 labels: [ruby-talk]
112
113 If you don't specify a labels: line for a source, it will be assigned
114 the empty set.
115
116 Sup-add has a new argument for this, and sup-config will ask you for a
117 list of labels, so this only affects existing source.yaml files.
118
119 --
120 William <wmorgan-sup at masanjin.net>
121
122 From jeff.covey@pobox.com Sun Jun 3 21:11:34 2007
123 From: jeff.covey@pobox.com (jeff covey)
124 Date: Sun, 3 Jun 2007 21:11:34 -0400
125 Subject: [sup-talk] gracefully handling missing sources
126 In-Reply-To: <1180898390-sup-7346@south>
127 References: <20070527195013.GB4859@mona.jeffcovey.net>
128 <1180325255-sup-6791@south>
129 <20070603181402.GA8650@mona.jeffcovey.net>
130 <1180898390-sup-7346@south>
131 Message-ID: <20070604011134.GA12184@mona.jeffcovey.net>
132
133 on Sun, Jun 03, 2007 at 12:20:47PM -0700%, William Morgan said:
134
135 > I have a patch for it. Going to do a little more testing and then I'll
136 > commit, probably later today.
137
138 thanks! i updated with svn and am trying it out. i've run into this
139 problem when sup tries to load a source which no longer exists:
140
141 ./lib/sup/buffer.rb:45: warning: already initialized constant KEY_CANCEL
142 ./lib/sup/mbox/loader.rb:20:in `initialize': No such file or directory - /home/jeff/mail/dogabulten at dogadernegi.org-2007-06 (Errno::ENOENT)
143 from ./lib/sup/mbox/loader.rb:20:in `open'
144 from ./lib/sup/mbox/loader.rb:20:in `initialize'
145 from ./lib/sup.rb:28:in `new'
146 from ./lib/sup.rb:28:in `yaml_properties'
147 from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
148 from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
149 from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
150 from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
151 from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
152 from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
153 from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
154 from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
155 from ./lib/sup.rb:84:in `load_yaml_obj'
156 from ./lib/sup/index.rb:278:in `load_sources'
157 from ./lib/sup/index.rb:29:in `load'
158 from bin/sup:58
159
160 i have a cron job which deletes zero-length files under ~/mail so they don't
161 clutter. could sup handle no-longer-existent sources gracefully, either
162 ignoring them or (perhaps better) offering to remove them from sources.yaml?
163
164 thanks,
165
166 --
167 jeff covey
168 http://jeffcovey.net/
169
170 -------------- next part --------------
171 A non-text attachment was scrubbed...
172 Name: not available
173 Type: application/pgp-signature
174 Size: 229 bytes
175 Desc: Digital signature
176 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070603/2ca68556/attachment.bin
177
178 From wmorgan-sup@masanjin.net Mon Jun 4 00:56:54 2007
179 From: wmorgan-sup@masanjin.net (William Morgan)
180 Date: Sun, 03 Jun 2007 21:56:54 -0700
181 Subject: [sup-talk] new in svn: locking
182 Message-ID: <1180932944-sup-6021@south>
183
184 Sup now detects concurrent sup processes and gives you the opportunity
185 to have them commit suicide. Useful because Ferret dies messily when
186 more than one process is touching the same index.
187
188 You'll need to install the lockfile gem.
189
190 --
191 William <wmorgan-sup at masanjin.net>
192
193 From brian@lorf.org Mon Jun 4 22:52:31 2007
194 From: brian@lorf.org (Brian)
195 Date: Mon, 04 Jun 2007 21:52:31 -0500
196 Subject: [sup-talk] repairing mistakes
197 Message-ID: <1181011819-sup-5916@doses>
198
199 Sometimes, I tag several messages and then hit &$ rather than ;&$,
200 assassinating some innocent bystander message. Is there a nice way to
201 fix it? If not, that's OK.
202
203
204 From brian@lorf.org Mon Jun 4 23:16:57 2007
205 From: brian@lorf.org (Brian)
206 Date: Mon, 04 Jun 2007 22:16:57 -0500
207 Subject: [sup-talk] sending attachments
208 Message-ID: <1181013314-sup-1307@doses>
209
210 Does sup support sending attachments?
211
212
213 From wmorgan-sup@masanjin.net Tue Jun 5 12:58:24 2007
214 From: wmorgan-sup@masanjin.net (William Morgan)
215 Date: Tue, 05 Jun 2007 09:58:24 -0700
216 Subject: [sup-talk] sending attachments
217 In-Reply-To: <1181013314-sup-1307@doses>
218 References: <1181013314-sup-1307@doses>
219 Message-ID: <1181062629-sup-8687@south>
220
221 Excerpts from Brian's message of Mon Jun 04 20:16:57 -0700 2007:
222 > Does sup support sending attachments?
223
224 That's very very high on my list. Probably the one thing I really want
225 before a 0.0.9 release. I just haven't summoned the energy to deal with
226 it because it's not as sexy as all the other things I've been thinking
227 about doing.
228
229 --
230 William <wmorgan-sup at masanjin.net>
231
232 From wmorgan-sup@masanjin.net Tue Jun 5 13:11:27 2007
233 From: wmorgan-sup@masanjin.net (William Morgan)
234 Date: Tue, 05 Jun 2007 10:11:27 -0700
235 Subject: [sup-talk] repairing mistakes
236 In-Reply-To: <1181011819-sup-5916@doses>
237 References: <1181011819-sup-5916@doses>
238 Message-ID: <1181062708-sup-3338@south>
239
240 Excerpts from Brian's message of Mon Jun 04 19:52:31 -0700 2007:
241 > Sometimes, I tag several messages and then hit &$ rather than ;&$,
242 > assassinating some innocent bystander message. Is there a nice way to
243 > fix it? If not, that's OK.
244
245 Right now, no. I really want an undo feature, and it shouldn't be
246 terrifically hard to implement. I personally accomplish undo right now
247 by hitting ctrl-c and restarting Sup if I screw something up, but that
248 only works if you haven't hit the '$' button already.
249
250 Once there's a good undo button, I'll probably drop '$' completely, and
251 move over to the Mac philosophy of the user not having to care about
252 changes in memory vs changes on disk.
253
254 --
255 William <wmorgan-sup at masanjin.net>
256
257 From jeff.covey@pobox.com Wed Jun 6 08:42:06 2007
258 From: jeff.covey@pobox.com (jeff covey)
259 Date: Wed, 6 Jun 2007 08:42:06 -0400
260 Subject: [sup-talk] sup dying with a ferret initialization error
261 Message-ID: <20070606124206.GA13658@mona.jeffcovey.net>
262
263 i was just adding my 2006 mail to sup's index, and now sup dies with this:
264
265
266 ./lib/sup/util.rb:5: warning: method redefined; discarding old gen_lock_id
267 ./lib/sup/util.rb:16: warning: method redefined; discarding old dump_lock_id
268 ./lib/sup/buffer.rb:31: warning: already initialized constant KEY_CANCEL
269 [Wed Jun 06 08:37:37 -0400 2007] locking /home/jeff/.sup/lock...
270 [Wed Jun 06 08:37:45 -0400 2007] loading index...
271 /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `initialize': IO Error occured at <except.c>:93 in xraise (IOError)
272 Error occured in index.c:901 - sis_find_segments_file
273 Error reading the segment infos. Store listing was
274
275
276 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `new'
277 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `ensure_reader_open'
278 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:581:in `size'
279 from /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
280 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:580:in `size'
281 from ./lib/sup/index.rb:113:in `load_index'
282 from ./lib/sup/index.rb:86:in `load'
283 from ./lib/sup/util.rb:315:in `send'
284 from ./lib/sup/util.rb:315:in `method_missing'
285 from bin/sup:86
286
287
288 any ideas?
289
290 thanks,
291
292 --
293 jeff covey
294 http://jeffcovey.net/
295
296 -------------- next part --------------
297 A non-text attachment was scrubbed...
298 Name: not available
299 Type: application/pgp-signature
300 Size: 229 bytes
301 Desc: Digital signature
302 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070606/35d5c5b0/attachment.bin
303
304 From wmorgan-sup@masanjin.net Wed Jun 6 11:27:52 2007
305 From: wmorgan-sup@masanjin.net (William Morgan)
306 Date: Wed, 06 Jun 2007 08:27:52 -0700
307 Subject: [sup-talk] sup dying with a ferret initialization error
308 In-Reply-To: <20070606124206.GA13658@mona.jeffcovey.net>
309 References: <20070606124206.GA13658@mona.jeffcovey.net>
310 Message-ID: <1181143450-sup-4506@south>
311
312 Excerpts from jeff.covey's message of Wed Jun 06 05:42:06 -0700 2007:
313 > /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `initialize':
314 > IO Error occured at <except.c>:93 in xraise (IOError)
315 > Error occured in index.c:901 - sis_find_segments_file
316 > Error reading the segment infos. Store listing was
317 >
318 >
319 > from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in
320
321 Crap. I've run into this once before, a while ago, and I think it's a
322 Ferret bug. I couldn't figure out how to recover the index and had to
323 start over from scratch. Foolishly I deleted everything, so I've been
324 waiting to see if it happened again before talking to the Ferret folks.
325
326 But if it's happening to you too, I guess I will take this up with the
327 Ferret folks. The backtrace may be enough. If the index had email you'd
328 be comfortable sharing, you can send me your ~/.sup/ferret directory.
329
330 For the immediate future, I don't know if there's anything to do
331 besides deleting ~/.sup/ferret and running sup-sync --all-sources --all,
332 and losing whatever message state was in your index. :(
333
334 --
335 William <wmorgan-sup at masanjin.net>
336
337 From jeff.covey@pobox.com Wed Jun 6 21:30:31 2007
338 From: jeff.covey@pobox.com (jeff.covey at pobox.com)
339 Date: Wed, 06 Jun 2007 21:30:31 -0400
340 Subject: [sup-talk] sup setting my name
341 Message-ID: <1181179353-sup-8570@mona>
342
343 sup seems to have the idea that my name is "Burning House Zendo", apparently
344 based on something it found while indexing. whenever it finds a message
345 from jeff.covey at pobox.com, it displays it with that name, and when i start
346 composing a message, it sets the first line to "From: Burning House Zendo
347 <jeff.covey at pobox.com>".
348
349 why does it do this, and how can i make it stop? adding an alias for my
350 address doesn't help, nor does changing the text after the numbers in
351 ~/.sup/people.txt.
352
353 why doesn't it use the name information i set in ~/.sup/config.yaml? i have
354 :name: set to "jeff covey" there, and have :email: and :alternates: set.
355
356 thanks,
357
358 --
359 jeff covey
360 http://jeffcovey.net/
361
362
363 From jeff.covey@pobox.com Wed Jun 6 19:03:58 2007
364 From: jeff.covey@pobox.com (jeff.covey at pobox.com)
365 Date: Wed, 06 Jun 2007 19:03:58 -0400
366 Subject: [sup-talk] sup dying with a ferret initialization error
367 In-Reply-To: <1181143450-sup-4506@south>
368 References: <20070606124206.GA13658@mona.jeffcovey.net>
369 <1181143450-sup-4506@south>
370 Message-ID: <1181170820-sup-7755@mona>
371
372 Excerpts from William Morgan's message of Wed Jun 06 11:27:52 -0400 2007:
373
374 > The backtrace may be enough. If the index had email you'd be comfortable
375 > sharing, you can send me your ~/.sup/ferret directory.
376
377 i made a backup of it before restoring my index. let me know if you don't
378 have enough information from the backtrace, and i'll send it to you.
379
380 > For the immediate future, I don't know if there's anything to do besides
381 > deleting ~/.sup/ferret and running sup-sync --all-sources --all, and
382 > losing whatever message state was in your index. :(
383
384 i had a sup-dump backup from last night, so i was able to hunt down which
385 threads i'd labeled.
386
387 thanks,
388
389 --
390 jeff covey
391 http://jeffcovey.net/
392
393
394 From wmorgan-sup@masanjin.net Thu Jun 7 18:42:09 2007
395 From: wmorgan-sup@masanjin.net (William Morgan)
396 Date: Thu, 07 Jun 2007 15:42:09 -0700
397 Subject: [sup-talk] sup setting my name
398 In-Reply-To: <1181179353-sup-8570@mona>
399 References: <1181179353-sup-8570@mona>
400 Message-ID: <1181256092-sup-5757@south>
401
402 Excerpts from jeff.covey's message of Wed Jun 06 18:30:31 -0700 2007:
403 > sup seems to have the idea that my name is "Burning House Zendo",
404 > apparently based on something it found while indexing. whenever it
405 > finds a message from jeff.covey at pobox.com, it displays it with that
406 > name, and when i start composing a message, it sets the first line to
407 > "From: Burning House Zendo <jeff.covey at pobox.com>".
408
409 Hah. Good catch. I'm going to fix this in a general way by treating all
410 names in config.yaml and contacts.txt as definitive. For the time being
411 just delete every instance of that name from people.txt, and apply this
412 patch:
413
414 Index: lib/sup/person.rb
415 ===================================================================
416 --- lib/sup/person.rb (revision 433)
417 +++ lib/sup/person.rb (working copy)
418 @@ -19,7 +19,7 @@
419 ## all else being equal, prefer longer names, unless the prior name
420 ## doesn't contain any capitalization
421 oldcount, oldname = @names[email]
422 - @names[email] = [0, name] if oldname.nil? || oldname.length < name.length || (oldname !~ /[A-Z]/ && name =~ /[A-Z]/)
423 + @names[email] = [0, name] if oldname.nil?
424 @names[email][0] = Time.now.to_i
425 end
426
427 --
428 William <wmorgan-sup at masanjin.net>
429
430 From wmorgan-sup@masanjin.net Fri Jun 8 18:52:31 2007
431 From: wmorgan-sup@masanjin.net (William Morgan)
432 Date: Fri, 08 Jun 2007 15:52:31 -0700
433 Subject: [sup-talk] sup setting my name
434 In-Reply-To: <1181256092-sup-5757@south>
435 References: <1181179353-sup-8570@mona> <1181256092-sup-5757@south>
436 Message-ID: <1181343096-sup-4822@south>
437
438 Excerpts from William Morgan's message of Thu Jun 07 15:42:09 -0700 2007:
439 > Hah. Good catch. I'm going to fix this in a general way by treating all
440 > names in config.yaml and contacts.txt as definitive.
441
442 Ok, I believe I've fixed this in SVN. Jeff, you will have to reverse
443 that patch before updating, or otherwise resolve the conflict. Let me
444 know if I've managed to break something.
445
446 --
447 William <wmorgan-sup at masanjin.net>
448
449 From wmorgan-sup@masanjin.net Fri Jun 8 19:43:59 2007
450 From: wmorgan-sup@masanjin.net (William Morgan)
451 Date: Fri, 08 Jun 2007 16:43:59 -0700
452 Subject: [sup-talk] multiple accounts
453 In-Reply-To: <1180321628-sup-8630@south>
454 References: <1179909888-sup-1320@doses> <1180321628-sup-8630@south>
455 Message-ID: <1181345284-sup-5160@south>
456
457 Excerpts from William Morgan's message of Sun May 27 20:15:55 -0700 2007:
458 > Excerpts from Brian's message of Wed May 23 01:49:58 -0700 2007:
459 > > What should config.yaml look like for multiple accounts? I have
460 > > several accounts that use different SMTP relays. My plan is to do
461 > > stuff like :sendmail: /usr/bin/nbsmtp -c
462 > > /home/brian/.nbsmtp_brian_lorf_org in each account, but I don't
463 > > understand how to make sup use any account other than :default:.
464
465 Oh, there actually is a good answer for this. I forgot that the one part
466 of the multiple accounts stuff that is actually functional is the
467 sendmail aspect.
468
469 For each different account, add an entry under the :accounts: section of
470 config.yaml, copying the fields from the :default: block. E.g.:
471
472 :account_name:
473 :name: A Name
474 :signature: /home/whatever/.signature
475 :alternates: []
476 :email: email at address
477 :sendmail: /sendmail/command
478
479 So this should be a sibling of the :default: block. The :account_name:
480 thing should be something unique, but can be anything---it's not used
481 other than to distinguish them.
482
483 Then when you send mail with a From: line set to the primary (or an
484 alternate) email address of an account, sup will use the corresponding
485 sendmail command. I just gave it a quick try and it seemed to work, but
486 test it before accidentally spamming your boss.
487
488 The next step will be to be able to select a From address from a list
489 when composing (so that the right signature can be put in).
490
491 --
492 William <wmorgan-sup at masanjin.net>
493
494 From jeff.covey@pobox.com Sun Jun 10 14:00:44 2007
495 From: jeff.covey@pobox.com (jeff covey)
496 Date: Sun, 10 Jun 2007 14:00:44 -0400
497 Subject: [sup-talk] ~/.sup/sources.yaml disappearing
498 Message-ID: <1181497661-sup-448@mona>
499
500 has anyone else experienced a problem with ~/.sup/sources.yaml being wiped
501 out? it's gone away on me a few times, though i'm not sure exactly what
502 happens to it. sup hits an error, and either deletes sources.yaml or makes
503 it an empty file. i can't say which, i just suddenly notice that my sup
504 wrapper script is running sup-add to add a bunch of sources which should
505 already be there, and when i look at sources.yaml, it's starting to rebuild
506 my supiverse from scratch.
507
508 i'm afraid i can't say what caused it, either. the latest time it happened
509 was with an error about draw_screen, but the backtrace was gone too fast for
510 me to grab it.
511
512 sorry to give you so little information, william. maybe you could check the
513 handling of sources.yaml generally? maybe there's a place where it's opened
514 for writing, then never closed before an error occurs?
515
516 i'll try to get more details if it happens again.
517
518 thanks,
519
520 --
521 jeff covey
522 http://jeffcovey.net/
523
524
525 From jeff.covey@pobox.com Sun Jun 10 14:12:56 2007
526 From: jeff.covey@pobox.com (jeff covey)
527 Date: Sun, 10 Jun 2007 14:12:56 -0400
528 Subject: [sup-talk] error on loading a saved index
529 Message-ID: <1181498605-sup-9938@mona>
530
531 after my ~/.sup/sources.yaml was wiped out, i tried sup-adding all my
532 sources and running sup-sync --changed on them, but got the ferret error
533 again.
534
535 so i removed ~/.sup/ferret/* and started from scratch. i built my index and
536 tried to restore its state with the sup-dump backup from the night before.
537 everything went well for a time, then it died with this error:
538
539 ruby -I lib -w bin/sup-sync --restored --restore sup-backup-2007-06-08-22:08:15
540
541 ...
542 Scanning mbox:///home/jeff/mail/invoice at icgroup.com-2007-06...
543 Scanned 2, added 0, updated 2 messages from mbox:///home/jeff/mail/invoice at icgroup.com-2007-06.
544 Restored state on 2 (100.00%) messages.
545 Scanning mbox:///home/jeff/mail/jchalmers at corp.sourceforge.com-2007-06...
546 Scanned 1, added 0, updated 1 messages from mbox:///home/jeff/mail/jchalmers at corp.sourceforge.com-2007-06.
547 Restored state on 1 (100.00%) messages.
548 Scanning mbox:///home/jeff/mail/jeff.covey at pobox.com-2007-06...
549 [Sat Jun 09 11:05:59 -0400 2007] saving index and sources...
550 [Sat Jun 09 11:06:00 -0400 2007] unlocking /home/jeff/.sup/lock...
551 bin/sup-sync:152: undefined method `sort_by' for nil:NilClass (NoMethodError)
552 from ./lib/sup/poll.rb:115:in `add_messages_from'
553 from ./lib/sup/source.rb:91:in `each'
554 from ./lib/sup/util.rb:349:in `send'
555 from ./lib/sup/util.rb:349:in `__pass'
556 from ./lib/sup/util.rb:338:in `method_missing'
557 from ./lib/sup/poll.rb:95:in `add_messages_from'
558 from ./lib/sup/util.rb:313:in `send'
559 from ./lib/sup/util.rb:313:in `method_missing'
560 from bin/sup-sync:133
561 from bin/sup-sync:128:in `each'
562 from bin/sup-sync:128
563
564
565 [so i had to find and manually label messages in sup which had labels in the
566 backup. the bright side is that i'm getting good at writing scripts to fix
567 sup when it falls down. :)]
568
569 thanks,
570
571 --
572 jeff covey
573 http://jeffcovey.net/
574
575
576 From jeff.covey@pobox.com Sun Jun 10 14:37:52 2007
577 From: jeff.covey@pobox.com (jeff covey)
578 Date: Sun, 10 Jun 2007 14:37:52 -0400
579 Subject: [sup-talk] sup setting my name
580 In-Reply-To: <1181343096-sup-4822@south>
581 References: <1181179353-sup-8570@mona> <1181256092-sup-5757@south>
582 <1181343096-sup-4822@south>
583 Message-ID: <1181499963-sup-777@mona>
584
585 > Ok, I believe I've fixed this in SVN.
586
587 it's fixed for composing messages, but the name displayed in threads is
588 still whatever sup put in people.txt. in this thread, for example, the
589 first message was still displayed as being from Burning House Zendo in
590 inbox-mode, thread-view-mode, etc. i moved people.txt out of the way, and
591 it started showing me as jeff.covey. i edited that to "jeff covey" in the
592 newly-generated people.txt, and it started showing me that.
593
594 it's not a big deal, but the display is probably most readily intelligible
595 if it shows people whatever names they have set for themselves in
596 config.yaml and the names they have set for others in contacts.txt. or
597 would it be even better to use "me" for messages from oneself (from all the
598 primary and alternate addresses), as gmail does? "me" takes the least space
599 on the screen, leaving more room for the names of the other conversation
600 participants, which is what you really want to see.
601
602 thanks!
603
604 --
605 jeff covey
606 http://jeffcovey.net/
607
608
609 From jeff.covey@pobox.com Sun Jun 10 17:57:11 2007
610 From: jeff.covey@pobox.com (jeff covey)
611 Date: Sun, 10 Jun 2007 17:57:11 -0400
612 Subject: [sup-talk] ~/.sup/sources.yaml disappearing
613 In-Reply-To: <1181497661-sup-448@mona>
614 References: <1181497661-sup-448@mona>
615 Message-ID: <1181512336-sup-912@mona>
616
617 ok, it happened again[0] and i was able to catch it this time.
618
619 i hit "q" to quit sup while it was in the middle of doing something (polling
620 for new messages, i believe), and got this:
621
622 [Sun Jun 10 16:07:48 -0400 2007] good night, sweet prince!
623 [Sun Jun 10 16:07:48 -0400 2007] saving index and sources...
624 ./lib/sup/util.rb:313:in `send': undefined method `draw_screen' for nil:NilClass (NoMethodError)
625 from ./lib/sup/util.rb:313:in `method_missing'
626 from ./lib/sup/modes/poll-mode.rb:12:in `puts'
627 from ./lib/sup/modes/poll-mode.rb:20:in `poll'
628 from ./lib/sup/poll.rb:59:in `do_poll'
629 from ./lib/sup/poll.rb:115:in `add_messages_from'
630 from ./lib/sup/source.rb:91:in `each'
631 from ./lib/sup/util.rb:349:in `send'
632 from ./lib/sup/util.rb:349:in `__pass'
633 ... 26 levels...
634 from ./lib/sup.rb:56:in `reporting_thread'
635 from ./lib/sup/modes/thread-index-mode.rb:342:in `load_n_threads_background'
636 from ./lib/sup/modes/thread-index-mode.rb:391:in `load_threads'
637 from bin/sup:171
638
639 after that, my sources.yaml was reset to nothing, and all the associated
640 problems followed as before.
641
642 thanks,
643 jeff
644
645
646 [0] and i had to rebuild my whole sup setup from scratch again. :(
647
648 --
649 jeff covey
650 http://jeffcovey.net/
651
652
653 From jeff.covey@pobox.com Sun Jun 10 21:30:51 2007
654 From: jeff.covey@pobox.com (jeff covey)
655 Date: Sun, 10 Jun 2007 21:30:51 -0400
656 Subject: [sup-talk] sup failing to display the text of a message
657 Message-ID: <20070611013051.GA12580@mona.jeffcovey.net>
658
659 sup's displaying the attached message as though it has no text at all; it
660 doesn't even show the two sections as attachments that can be viewed.
661
662 i think that's enough from me for today! :)
663
664 thanks,
665
666 --
667 jeff covey
668 http://jeffcovey.net/
669
670 -------------- next part --------------
671 An embedded message was scrubbed...
672 From: The freshmeat daily newsletter <freshmeat-news at lists.freshmeat.net>
673 Subject: [fm-news] Newsletter for Saturday, June 09th 2007
674 Date: Sun, 10 Jun 2007 00:10:07 -0700 (PDT)
675 Size: 40585
676 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20070610/42b1f8bd/attachment-0001.mht
677 -------------- next part --------------
678 A non-text attachment was scrubbed...
679 Name: not available
680 Type: application/pgp-signature
681 Size: 229 bytes
682 Desc: Digital signature
683 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070610/42b1f8bd/attachment-0001.bin
684
685 From wmorgan-sup@masanjin.net Mon Jun 11 11:42:42 2007
686 From: wmorgan-sup@masanjin.net (William Morgan)
687 Date: Mon, 11 Jun 2007 08:42:42 -0700
688 Subject: [sup-talk] ~/.sup/sources.yaml disappearing
689 In-Reply-To: <1181512336-sup-912@mona>
690 References: <1181497661-sup-448@mona> <1181512336-sup-912@mona>
691 Message-ID: <1181576042-sup-5097@south>
692
693 Hi Jeff,
694
695 First let me say that I really appreciate all the feedback and I'm sorry
696 that Sup keeps breaking in annoying ways for you. Thanks for being
697 patient. Users like you are an asset!
698
699 Excerpts from jeff.covey's message of Sun Jun 10 14:57:11 -0700 2007:
700 > i hit "q" to quit sup while it was in the middle of doing something
701 > (polling for new messages, i believe), and got this:
702 >
703 > [Sun Jun 10 16:07:48 -0400 2007] good night, sweet prince!
704 > [Sun Jun 10 16:07:48 -0400 2007] saving index and sources...
705 > ./lib/sup/util.rb:313:in `send': undefined method `draw_screen' for nil:NilClass (NoMethodError)
706
707 Ok, here's my first problem. :)
708
709 > after that, my sources.yaml was reset to nothing, and all the associated
710 > problems followed as before.
711
712 I believe this happens when Sup dies in the process of "saving index and
713 sources...". The right answer is to remove all possible the sources of
714 error in that process, but maybe I can also change the code to be a
715 little more resilient. Let me take a look.
716
717 > [0] and i had to rebuild my whole sup setup from scratch again. :(
718
719 Sup writes a sources.yaml.bak for this very reason. I put it in in
720 earlier, even buggier days when this often happened to me.
721
722 --
723 William <wmorgan-sup at masanjin.net>
724
725 From wmorgan-sup@masanjin.net Mon Jun 11 14:33:51 2007
726 From: wmorgan-sup@masanjin.net (William Morgan)
727 Date: Mon, 11 Jun 2007 11:33:51 -0700
728 Subject: [sup-talk] sup setting my name
729 In-Reply-To: <1181499963-sup-777@mona>
730 References: <1181179353-sup-8570@mona> <1181256092-sup-5757@south>
731 <1181343096-sup-4822@south> <1181499963-sup-777@mona>
732 Message-ID: <1181586632-sup-8137@south>
733
734 Excerpts from Jeff Covey's message of Sun Jun 10 11:37:52 -0700 2007:
735 > > Ok, I believe I've fixed this in SVN.
736 >
737 > it's fixed for composing messages, but the name displayed in threads is
738 > still whatever sup put in people.txt.
739
740 Ok, it should be "really fixed" now. Everything in contact.txt and
741 config.yaml should override everything in people.txt. Which is as it
742 should be, as the latter is auto-generated and the former is human-
743 generated.
744
745 The reason for the weirdness with Burning House Zendo, btw, is that I
746 have a heuristic when I have multiple names for a given email address to
747 prefer the longest one, which is clearly deficient in many cases.
748
749 > would it be even better to use "me" for messages from oneself (from
750 > all the primary and alternate addresses), as gmail does?
751
752 Apparently I broke that a few revisions ago. Should be fixed now.
753
754 Let me know how it's working for you now.
755
756 --
757 William <wmorgan-sup at masanjin.net>
758
759 From jeff.covey@pobox.com Mon Jun 11 21:22:57 2007
760 From: jeff.covey@pobox.com (jeff covey)
761 Date: Mon, 11 Jun 2007 21:22:57 -0400
762 Subject: [sup-talk] sup setting my name
763 In-Reply-To: <1181586632-sup-8137@south>
764 References: <1181179353-sup-8570@mona> <1181256092-sup-5757@south>
765 <1181343096-sup-4822@south> <1181499963-sup-777@mona>
766 <1181586632-sup-8137@south>
767 Message-ID: <1181611342-sup-2169@mona>
768
769 Excerpts from William Morgan's message of Mon Jun 11 14:33:51 -0400 2007:
770
771 > Let me know how it's working for you now.
772
773 seems to be ok; thanks!
774
775 --
776 jeff covey
777 http://jeffcovey.net/
778
779
780 From ian@lorf.org Tue Jun 12 14:20:13 2007
781 From: ian@lorf.org (Ian Taylor)
782 Date: Tue, 12 Jun 2007 14:20:13 -0400
783 Subject: [sup-talk] no message-id field in header
784 Message-ID: <1181671858-sup-239@zap>
785
786 When doing...
787
788 sup-sync -c
789
790 ...I see lots of messages about ignoring erroneous messages missing the
791 message-id field.
792
793 These messages are the same that seem to be ignored by sup.
794
795 I really like sup, but I can't rely on it right now because of this. I'm
796 using latest subversion.
797
798
799 From wmorgan-sup@masanjin.net Tue Jun 12 20:07:15 2007
800 From: wmorgan-sup@masanjin.net (William Morgan)
801 Date: Tue, 12 Jun 2007 17:07:15 -0700
802 Subject: [sup-talk] no message-id field in header
803 In-Reply-To: <1181671858-sup-239@zap>
804 References: <1181671858-sup-239@zap>
805 Message-ID: <1181693140-sup-3121@south>
806
807 Excerpts from Ian Taylor's message of Tue Jun 12 11:20:13 -0700 2007:
808 > When doing...
809 >
810 > sup-sync -c
811 >
812 > ...I see lots of messages about ignoring erroneous messages missing the
813 > message-id field.
814
815 Do these messages have message id headers? If so, can you send a few my
816 way so I can see why Sup is discarding them?
817
818 From brian@lorf.org Tue Jun 12 20:42:12 2007
819 From: brian@lorf.org (Brian)
820 Date: Tue, 12 Jun 2007 19:42:12 -0500
821 Subject: [sup-talk] no message-id field in header
822 In-Reply-To: <1181693140-sup-3121@south>
823 References: <1181671858-sup-239@zap> <1181693140-sup-3121@south>
824 Message-ID: <1181694687-sup-7571@doses>
825
826 Excerpts from William Morgan's message of Tue Jun 12 19:07:15 -0500 2007:
827 > Excerpts from Ian Taylor's message of Tue Jun 12 11:20:13 -0700 2007:
828 > > When doing...
829 > >
830 > > sup-sync -c
831 > >
832 > > ...I see lots of messages about ignoring erroneous messages missing the
833 > > message-id field.
834 >
835 > Do these messages have message id headers? If so, can you send a few my
836 > way so I can see why Sup is discarding them?
837
838 I'm seeing this too. Here's one:
839
840 [Tue Jun 12 16:38:42 -0500 2007] ignoring erroneous message at
841 imaps://localhost:9930/INBOX#11787508680015216: no message-id field in
842 header {"Subject"=>"Your Order with Amazon.com", "date"=>"Wed, 09 May
843 2007 15:47:20 -0700", "from"=>"\"auto-confirm at amazon.com\"
844 <auto-confirm at amazon.com>", "From"=>"\"auto-confirm at amazon.com\"
845 <auto-confirm at amazon.com>", "to"=>"bsl04 at uark.edu", "subject"=>"Your
846 Order with Amazon.com", "To"=>"bsl04 at uark.edu", "Date"=>"Wed, 09 May
847 2007 15:47:20 -0700"} (source imaps://localhost:9930/INBOX offset
848 11787508680015216)
849
850 Not sure if this is trustworthy, but when I look at this particular
851 message through the uark.edu web interface, it does seem to have a
852 message ID: <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
853
854 This no message-id thing is kind of insidious because it seems to make
855 sup ignore stuff sent by programs. Like I'm not getting stuff from
856 Amazon or various JIRAs.
857
858
859 From wmorgan-sup@masanjin.net Tue Jun 12 20:48:50 2007
860 From: wmorgan-sup@masanjin.net (William Morgan)
861 Date: Tue, 12 Jun 2007 17:48:50 -0700
862 Subject: [sup-talk] ~/.sup/sources.yaml disappearing
863 In-Reply-To: <1181576042-sup-5097@south>
864 References: <1181497661-sup-448@mona> <1181512336-sup-912@mona>
865 <1181576042-sup-5097@south>
866 Message-ID: <1181695661-sup-6575@south>
867
868 Excerpts from William Morgan's message of Mon Jun 11 08:42:42 -0700 2007:
869 > Excerpts from jeff.covey's message of Sun Jun 10 14:57:11 -0700 2007:
870 > > [Sun Jun 10 16:07:48 -0400 2007] good night, sweet prince!
871 > > [Sun Jun 10 16:07:48 -0400 2007] saving index and sources...
872 > > ./lib/sup/util.rb:313:in `send': undefined method `draw_screen' for nil:NilClass (NoMethodError)
873 >
874 > Ok, here's my first problem. :)
875
876 This particular problem should now be fixed, and similar problems mitigated.
877
878 > I believe this happens when Sup dies in the process of "saving index
879 > and sources...". The right answer is to remove all possible the
880 > sources of error in that process, but maybe I can also change the code
881 > to be a little more resilient. Let me take a look.
882
883 I'm still not sure why sources.yaml, of all files, would end up being
884 zero, since the write was pretty atomic, but I've now made it even more
885 atomic, so hopefully this shouldn't happen too often any more.
886
887 --
888 William <wmorgan-sup at masanjin.net>
889
890 From wmorgan-sup@masanjin.net Tue Jun 12 20:57:02 2007
891 From: wmorgan-sup@masanjin.net (William Morgan)
892 Date: Tue, 12 Jun 2007 17:57:02 -0700
893 Subject: [sup-talk] error on loading a saved index
894 In-Reply-To: <1181498605-sup-9938@mona>
895 References: <1181498605-sup-9938@mona>
896 Message-ID: <1181696154-sup-7679@south>
897
898 Excerpts from Jeff Covey's message of Sun Jun 10 11:12:56 -0700 2007:
899 > bin/sup-sync:152: undefined method `sort_by' for nil:NilClass (NoMethodError)
900
901 Fixed in SVN. Sorry about that.
902
903 > [so i had to find and manually label messages in sup which had labels
904 > in the backup. the bright side is that i'm getting good at writing
905 > scripts to fix sup when it falls down. :)]
906
907 One small step away from hacking on Sup itself! :)
908
909 --
910 William <wmorgan-sup at masanjin.net>
911
912 From jeff.covey@pobox.com Tue Jun 12 20:59:16 2007
913 From: jeff.covey@pobox.com (jeff covey)
914 Date: Tue, 12 Jun 2007 20:59:16 -0400
915 Subject: [sup-talk] searches dying with an exception
916 Message-ID: <1181696110-sup-7086@mona>
917
918 searches just stopped working for me. i typed "/" and "reunion" to get
919 messages about my family reunion, and got the backtrace below. the same
920 happens if i hit "S" on an address in the contacts list.
921
922 [Tue Jun 12 20:53:55 -0400 2007] oh crap, an exception
923 [Tue Jun 12 20:53:55 -0400 2007] unlocking /home/jeff/.sup/lock...
924 ----------------------------------------------------------------
925 I'm very sorry, but it seems that an error occurred in Sup.
926 Please accept my sincere apologies. If you don't mind, please
927 send the backtrace below and a brief report of the circumstances
928 to wmorgan-sup at masanjin dot nets so that I might address this
929 problem. Thank you!
930
931 Sincerely,
932 William
933 ----------------------------------------------------------------
934
935 The problem was: invalid source 460 (error type RuntimeError)
936 A backtrace follows:
937 ./lib/sup/index.rb:284:in `build_message': invalid source 460 (RuntimeError)
938 from ./lib/sup/index.rb:206:in `each_id_by_date'
939 from ./lib/sup/thread.rb:305:in `call'
940 from ./lib/sup/thread.rb:305:in `load_n_threads'
941 from ./lib/sup/index.rb:206:in `each_id_by_date'
942 from ./lib/sup/index.rb:206:in `each'
943 from ./lib/sup/index.rb:206:in `each_id_by_date'
944 from ./lib/sup/thread.rb:301:in `load_n_threads'
945 from ./lib/sup/modes/thread-index-mode.rb:353:in `load_n_threads'
946 from ./lib/sup/modes/thread-index-mode.rb:343:in `load_n_threads_background'
947 from ./lib/sup.rb:58:in `reporting_thread'
948 from ./lib/sup.rb:56:in `initialize'
949 from ./lib/sup.rb:56:in `new'
950 from ./lib/sup.rb:56:in `reporting_thread'
951 from ./lib/sup/modes/thread-index-mode.rb:342:in `load_n_threads_background'
952 from ./lib/sup/modes/thread-index-mode.rb:391:in `load_threads'
953 from bin/sup:212
954
955 thanks,
956
957 --
958 jeff covey
959 http://jeffcovey.net/
960
961
962 From wmorgan-sup@masanjin.net Tue Jun 12 20:59:37 2007
963 From: wmorgan-sup@masanjin.net (William Morgan)
964 Date: Tue, 12 Jun 2007 17:59:37 -0700
965 Subject: [sup-talk] sending attachments
966 In-Reply-To: <1181062629-sup-8687@south>
967 References: <1181013314-sup-1307@doses> <1181062629-sup-8687@south>
968 Message-ID: <1181696351-sup-2801@south>
969
970 Excerpts from William Morgan's message of Tue Jun 05 09:58:24 -0700 2007:
971 > Excerpts from Brian's message of Mon Jun 04 20:16:57 -0700 2007:
972 > > Does sup support sending attachments?
973 >
974 > That's very very high on my list. Probably the one thing I really want
975 > before a 0.0.9 release.
976
977 I have a partial implementation. Expect something soon.
978
979 --
980 William <wmorgan-sup at masanjin.net>
981
982 From wmorgan-sup@masanjin.net Tue Jun 12 21:09:41 2007
983 From: wmorgan-sup@masanjin.net (William Morgan)
984 Date: Tue, 12 Jun 2007 18:09:41 -0700
985 Subject: [sup-talk] new in svn: per-account signatures
986 Message-ID: <1181696943-sup-559@south>
987
988 When you svn update, you'll notice that when composing a message, the
989 signature block is no longer passed to the editor. It is now
990 automatically appended by Sup based on the From: address of the email.
991
992 So, if you have different signatures for different accounts, that's now
993 supported.
994
995 The other big change is that accounts (except the default account) need
996 only have an email field. Everything else is carried over from the
997 default account if not present.
998
999 For example, here's a snippet of my config.yaml:
1000
1001 :accounts:
1002 :default:
1003 :alternates:
1004 - wmorgan-ferret at masanjin.net
1005 - wmorgan-ruby-talk at masanjin.net
1006 - wmorgan-ruby-core at masanjin.net
1007 :name: William Morgan
1008 :signature: /home/rubyist/.signature
1009 :email: wmorgan at masanjin.net
1010 :sendmail: /usr/sbin/sendmail -oem -ti
1011 :sup:
1012 :signature: /home/rubyist/.signature-sup
1013 :email: wmorgan-sup at masanjin.net
1014
1015 When I compose mail as wmorgan-sup at masanjin.net, .signature-sup is used;
1016 otherwise, .signature is used. This is kind of a primitive version of
1017 Mutt's send-hook.
1018
1019
1020 --
1021 William <wmorgan-sup at masanjin.net>
1022
1023 From jeff.covey@pobox.com Tue Jun 12 21:12:51 2007
1024 From: jeff.covey@pobox.com (jeff covey)
1025 Date: Tue, 12 Jun 2007 21:12:51 -0400
1026 Subject: [sup-talk] exception on sending a message
1027 Message-ID: <1181696961-sup-4467@mona>
1028
1029 i just got an exception while sending a message. i composed the message and
1030 exited the editor, going back to compose-mode. i hit "q" by mistake and was
1031 asked whether i wanted to discard the message. i hit "n", then "y" to send.
1032 the message was sent, but then i got:
1033
1034 [Tue Jun 12 21:08:44 -0400 2007] oh crap, an exception
1035 [Tue Jun 12 21:08:44 -0400 2007] unlocking /home/jeff/.sup/lock...
1036 ----------------------------------------------------------------
1037 I'm very sorry, but it seems that an error occurred in Sup.
1038 Please accept my sincere apologies. If you don't mind, please
1039 send the backtrace below and a brief report of the circumstances
1040 to wmorgan-sup at masanjin dot nets so that I might address this
1041 problem. Thank you!
1042
1043 Sincerely,
1044 William
1045 ----------------------------------------------------------------
1046
1047 The problem was: undefined method `resize' for nil:NilClass (error type NoMethodError)
1048 A backtrace follows:
1049 ./lib/sup/buffer.rb:215:in `draw_screen': undefined method `resize' for nil:NilClass (NoMethodError)
1050 from ./lib/sup/buffer.rb:441:in `flash'
1051 from ./lib/sup/util.rb:313:in `send'
1052 from ./lib/sup/util.rb:313:in `method_missing'
1053 from ./lib/sup/modes/edit-message-mode.rb:130:in `send_message'
1054 from ./lib/sup/mode.rb:52:in `send'
1055 from ./lib/sup/mode.rb:52:in `handle_input'
1056 from ./lib/sup/buffer.rb:178:in `handle_input'
1057 from bin/sup:183
1058
1059 thanks,
1060
1061 --
1062 jeff covey
1063 http://jeffcovey.net/
1064
1065
1066 From wmorgan-sup@masanjin.net Tue Jun 12 21:36:21 2007
1067 From: wmorgan-sup@masanjin.net (William Morgan)
1068 Date: Tue, 12 Jun 2007 18:36:21 -0700
1069 Subject: [sup-talk] searches dying with an exception
1070 In-Reply-To: <1181696110-sup-7086@mona>
1071 References: <1181696110-sup-7086@mona>
1072 Message-ID: <1181698441-sup-5914@south>
1073
1074 Excerpts from Jeff Covey's message of Tue Jun 12 17:59:16 -0700 2007:
1075 > The problem was: invalid source 460 (error type RuntimeError)
1076
1077 This indicates that there's a mismatch because what's in the index and
1078 what's in sources.yaml. In particular, there's no source with an id of
1079 460 (wow, you must have a lot) in sources.yaml, but the index contains
1080 messages which reference that.
1081
1082 This might be a result of the recovery you had to do recently. If your
1083 source.yaml.bak file is still valid, you might try using that instead.
1084 (Or at least seeing which source has id 460). Otherwise, I can try and
1085 resurrect sup-recover-sources.
1086
1087 --
1088 William <wmorgan-sup at masanjin.net>
1089
1090 From itaylor@uark.edu Tue Jun 12 22:08:16 2007
1091 From: itaylor@uark.edu (Ian Taylor)
1092 Date: Tue, 12 Jun 2007 22:08:16 -0400
1093 Subject: [sup-talk] no message-id field in header
1094 In-Reply-To: <1181694687-sup-7571@doses>
1095 References: <1181671858-sup-239@zap> <1181693140-sup-3121@south>
1096 <1181694687-sup-7571@doses>
1097 Message-ID: <1181700002-sup-7790@zap>
1098
1099 Excerpts from Brian Lewis's message of Tue Jun 12 20:42:12 -0400 2007:
1100 > Excerpts from William Morgan's message of Tue Jun 12 19:07:15 -0500 2007:
1101 > > Excerpts from Ian Taylor's message of Tue Jun 12 11:20:13 -0700 2007:
1102 > > > When doing...
1103 > > >
1104 > > > sup-sync -c
1105 > > >
1106 > > > ...I see lots of messages about ignoring erroneous messages missing the
1107 > > > message-id field.
1108 > >
1109 > > Do these messages have message id headers? If so, can you send a few my
1110 > > way so I can see why Sup is discarding them?
1111 >
1112 > I'm seeing this too. Here's one:
1113 >
1114 > [Tue Jun 12 16:38:42 -0500 2007] ignoring erroneous message at
1115 > imaps://localhost:9930/INBOX#11787508680015216: no message-id field in
1116 > header {"Subject"=>"Your Order with Amazon.com", "date"=>"Wed, 09 May
1117 > 2007 15:47:20 -0700", "from"=>"\"auto-confirm at amazon.com\"
1118 > <auto-confirm at amazon.com>", "From"=>"\"auto-confirm at amazon.com\"
1119 > <auto-confirm at amazon.com>", "to"=>"bsl04 at uark.edu", "subject"=>"Your
1120 > Order with Amazon.com", "To"=>"bsl04 at uark.edu", "Date"=>"Wed, 09 May
1121 > 2007 15:47:20 -0700"} (source imaps://localhost:9930/INBOX offset
1122 > 11787508680015216)
1123 >
1124 > Not sure if this is trustworthy, but when I look at this particular
1125 > message through the uark.edu web interface, it does seem to have a
1126 > message ID:
1127 > <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
1128 >
1129 > This no message-id thing is kind of insidious because it seems to make
1130 > sup ignore stuff sent by programs. Like I'm not getting stuff from
1131 > Amazon or various JIRAs.
1132 >
1133
1134 Here are some message-ids from a few mails that sup ignored:
1135
1136 Message-id: <".AAA-notification-15376,5453.1181656853"@na-rte-app-5104.iad5.amazon.com>
1137
1138 Message-id: <OFA8E773D2.72645C9A-ON002572F8.003CC9EA-002572F8.003CC9EA at siminn.is>
1139
1140 Message-id: <90565466.1181263346638.JavaMail.j2ee at atlassian01.managed.contegix.com>
1141
1142
1143 From wmorgan-sup@masanjin.net Tue Jun 12 22:10:45 2007
1144 From: wmorgan-sup@masanjin.net (William Morgan)
1145 Date: Tue, 12 Jun 2007 19:10:45 -0700
1146 Subject: [sup-talk] exception on sending a message
1147 In-Reply-To: <1181696961-sup-4467@mona>
1148 References: <1181696961-sup-4467@mona>
1149 Message-ID: <1181700625-sup-1981@south>
1150
1151 Excerpts from Jeff Covey's message of Tue Jun 12 18:12:51 -0700 2007:
1152 > i just got an exception while sending a message. i composed the
1153 > message and exited the editor, going back to compose-mode. i hit "q"
1154 > by mistake and was asked whether i wanted to discard the message. i
1155 > hit "n", then "y" to send.
1156
1157 Should be fixed in SVN. Thanks!
1158
1159 --
1160 William <wmorgan-sup at masanjin.net>
1161
1162 From wmorgan-sup@masanjin.net Tue Jun 12 22:11:40 2007
1163 From: wmorgan-sup@masanjin.net (William Morgan)
1164 Date: Tue, 12 Jun 2007 19:11:40 -0700
1165 Subject: [sup-talk] no message-id field in header
1166 In-Reply-To: <1181694687-sup-7571@doses>
1167 References: <1181671858-sup-239@zap> <1181693140-sup-3121@south>
1168 <1181694687-sup-7571@doses>
1169 Message-ID: <1181700658-sup-8600@south>
1170
1171 Excerpts from brian's message of Tue Jun 12 17:42:12 -0700 2007:
1172 > Not sure if this is trustworthy, but when I look at this particular
1173 > message through the uark.edu web interface, it does seem to have a
1174 > message ID:
1175 > <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
1176
1177 Do you mind sending me the full headers for this message?
1178
1179 --
1180 William <wmorgan-sup at masanjin.net>
1181
1182 From brian@lorf.org Tue Jun 12 22:32:21 2007
1183 From: brian@lorf.org (Brian)
1184 Date: Tue, 12 Jun 2007 21:32:21 -0500
1185 Subject: [sup-talk] no message-id field in header
1186 In-Reply-To: <1181700658-sup-8600@south>
1187 References: <1181671858-sup-239@zap> <1181693140-sup-3121@south>
1188 <1181694687-sup-7571@doses> <1181700658-sup-8600@south>
1189 Message-ID: <1181701811-sup-4093@doses>
1190
1191 Excerpts from William Morgan's message of Tue Jun 12 21:11:40 -0500 2007:
1192 > Excerpts from brian's message of Tue Jun 12 17:42:12 -0700 2007:
1193 > > Not sure if this is trustworthy, but when I look at this particular
1194 > > message through the uark.edu web interface, it does seem to have a
1195 > > message ID:
1196 > > <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
1197 >
1198 > Do you mind sending me the full headers for this message?
1199
1200 Pasted from pine. Please let me know if I need to do it some other way.
1201 Thank you.
1202
1203 Return-path: <RealTimeEmail+USRT--4ZZAM0N3t2 at bounces.amazon.com>
1204 Received: from mx1.uark.edu (mx1.uark.edu [130.184.5.58])
1205 by mailhost.uark.edu (Sun Java System Messaging Server 6.2-6.01 (built Apr 3
1206 2006)) with ESMTPS id <0JJD00LLQ21BO800 at mailhost.uark.edu> for bsl04 at uark.edu;
1207 Sat, 09 Jun 2007 03:53:35 -0500 (CDT)
1208 Received: from mm-notify-out-1104.amazon.com
1209 (mm-notify-out-1104.amazon.com [207.171.164.46])
1210 by mx1.uark.edu (8.13.8/8.13.8) with ESMTP id l598rUg6012679 for
1211 <bsl04 at uark.edu>; Sat, 09 Jun 2007 03:53:30 -0500
1212 Received: from na-rte-app-1104.vdc.amazon.com ([10.144.96.41])
1213 by mm-notify-out-1104.amazon.com with ESMTP; Sat, 09 Jun 2007 01:53:21 -0700
1214 Received: by na-rte-app-1104.vdc.amazon.com id AAA-notification-29733,
1215 6108; Sat, 09 Jun 2007 01:53:17 -0700
1216 Date: Sat, 09 Jun 2007 01:53:17 -0700
1217 From: "auto-confirm@amazon.com" <auto-confirm at amazon.com>
1218 Subject: Your Order with Amazon.com
1219 To: bsl04 at uark.edu
1220 Message-id:
1221 <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
1222 MIME-version: 1.0
1223 Content-type: Multipart/Alternative; boundary=MuLtIpArT_BoUnDaRy
1224 Bounces-to: RealTimeEmail+USRT--4ZZAM0N3t2 at bounces.amazon.com
1225 X-AMAZON-TRACK: notification
1226 X-AMAZON-MAIL-RELAY-TYPE: notification
1227 X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604,
1228 Antispam-Data: 2007.6.9.12956
1229 Original-recipient: rfc822;bsl04 at uark.edu
1230 X-Perlmx-Spam: Gauge=IIIIIIIII, Probability=9%, Report='PHISH_SUBJ_LOW 0.5,
1231 __C230066_P5 0, __CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0,
1232 __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0,
1233 __FRAUD_419_REFNUM 0, __HAS_MSGID 0, __MIME_CHARSET_FARAWAY 0, __MIME_HTML 0,
1234 __MIME_VERSION 0, __PHISH_FROM 0, __PHISH_FROM1 0, __PHISH_FROM_A 0,
1235 __PHISH_PHRASE7 0, __PHISH_SUBJ_PHRASE4 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0,
1236 __TAG_EXISTS_HTML 0, __dnsbl.njabl.org_TIMEOUT '
1237
1238
1239 From wmorgan-sup@masanjin.net Wed Jun 13 14:04:42 2007
1240 From: wmorgan-sup@masanjin.net (William Morgan)
1241 Date: Wed, 13 Jun 2007 11:04:42 -0700
1242 Subject: [sup-talk] no message-id field in header
1243 In-Reply-To: <1181701811-sup-4093@doses>
1244 References: <1181671858-sup-239@zap> <1181693140-sup-3121@south>
1245 <1181694687-sup-7571@doses> <1181700658-sup-8600@south>
1246 <1181701811-sup-4093@doses>
1247 Message-ID: <1181757843-sup-9068@south>
1248
1249 Excerpts from brian's message of Tue Jun 12 19:32:21 -0700 2007:
1250 > Excerpts from William Morgan's message of Tue Jun 12 21:11:40 -0500 2007:
1251 > > Excerpts from brian's message of Tue Jun 12 17:42:12 -0700 2007:
1252 > > > Not sure if this is trustworthy, but when I look at this particular
1253 > > > message through the uark.edu web interface, it does seem to have a
1254 > > > message ID:
1255 > > > <".AAA-notification-29733,6108.1181379197"@na-rte-app-1104.vdc.amazon.com>
1256 > >
1257 > > Do you mind sending me the full headers for this message?
1258 >
1259 > Pasted from pine. Please let me know if I need to do it some other way.
1260
1261 Ok, svn update and see if that fixes it.
1262
1263
1264 --
1265 William <wmorgan-sup at masanjin.net>
1266
1267 From itaylor@uark.edu Wed Jun 13 15:47:56 2007
1268 From: itaylor@uark.edu (Ian Taylor)
1269 Date: Wed, 13 Jun 2007 15:47:56 -0400
1270 Subject: [sup-talk] encoded from/subject lines?
1271 Message-ID: <1181763799-sup-5238@zap>
1272
1273 I'm seeing a lot more mail since the latest fix for the message-id
1274 problem. Thanks for fixing that.
1275
1276 Now, a lot of these messages also seem to have portions of the from and
1277 subject lines that look like this:
1278
1279 - From: =?ISO-8859-1?B?QW1hem9uLmNvbQ==?= <books at amazon.com>
1280
1281 In the message list view, it's hard to tell who the mail is from or what
1282 it is about when all I can see is this garbage.
1283
1284 Just letting you know.
1285
1286
1287 From wmorgan-sup@masanjin.net Wed Jun 13 17:38:04 2007
1288 From: wmorgan-sup@masanjin.net (William Morgan)
1289 Date: Wed, 13 Jun 2007 14:38:04 -0700
1290 Subject: [sup-talk] encoded from/subject lines?
1291 In-Reply-To: <1181763799-sup-5238@zap>
1292 References: <1181763799-sup-5238@zap>
1293 Message-ID: <1181770524-sup-1225@south>
1294
1295 Excerpts from Ian Taylor's message of Wed Jun 13 12:47:56 -0700 2007:
1296 > Now, a lot of these messages also seem to have portions of the from and
1297 > subject lines that look like this:
1298 >
1299 > - From: =?ISO-8859-1?B?QW1hem9uLmNvbQ==?= <books at amazon.com>
1300
1301 These are RFC 2047 headers. Decoding them is on the todo list. If this
1302 is prevalent, I will bump up the priority.
1303
1304 --
1305 William <wmorgan-sup at masanjin.net>
1306
1307 From jeff.covey@pobox.com Wed Jun 13 18:54:16 2007
1308 From: jeff.covey@pobox.com (jeff covey)
1309 Date: Wed, 13 Jun 2007 18:54:16 -0400
1310 Subject: [sup-talk] searches dying with an exception
1311 In-Reply-To: <1181698441-sup-5914@south>
1312 References: <1181696110-sup-7086@mona> <1181698441-sup-5914@south>
1313 Message-ID: <1181775147-sup-8517@mona>
1314
1315 Excerpts from William Morgan's message of Tue Jun 12 21:36:21 -0400 2007:
1316
1317 > > The problem was: invalid source 460 (error type RuntimeError)
1318 >
1319 > This indicates that there's a mismatch because what's in the index and
1320 > what's in sources.yaml. In particular, there's no source with an id of 460
1321
1322 sure enough. i must have missed a step the last time i rebuilt everything.
1323
1324 thanks,
1325
1326 --
1327 jeff covey
1328 http://jeffcovey.net/
1329
1330
1331 From jeff.covey@pobox.com Wed Jun 13 20:10:11 2007
1332 From: jeff.covey@pobox.com (jeff covey)
1333 Date: Wed, 13 Jun 2007 20:10:11 -0400
1334 Subject: [sup-talk] new in svn: per-account signatures
1335 In-Reply-To: <1181696943-sup-559@south>
1336 References: <1181696943-sup-559@south>
1337 Message-ID: <1181779547-sup-1059@mona>
1338
1339 Excerpts from William Morgan's message of Tue Jun 12 21:09:41 -0400 2007:
1340
1341 > When you svn update, you'll notice that when composing a message, the
1342 > signature block is no longer passed to the editor. It is now automatically
1343 > appended by Sup based on the From: address of the email.
1344
1345 this seems to work well. unfortunately, i like having the signature block
1346 passed to the editor. :)
1347
1348 though i'm sending mail from a certain email address, i may be sending it on
1349 behalf of an employer or an organization i'm involved with, and i may not
1350 want my personal signature attached to it. under this system, there's no
1351 way to stop the signature from being included in the message.
1352
1353 i realize you can't include the signature in the text passed to the editor
1354 because you don't know which signature to use until the editor exits and you
1355 see what was put in "from:". maybe a keybinding to toggle the signature
1356 on/off would do the trick?
1357
1358 sincerely,
1359
1360 --
1361 jeff covey
1362 http://jeffcovey.net/
1363
1364
1365 From jeff.covey@pobox.com Wed Jun 13 20:13:41 2007
1366 From: jeff.covey@pobox.com (jeff covey)
1367 Date: Wed, 13 Jun 2007 20:13:41 -0400
1368 Subject: [sup-talk] exception on sending a postponed message
1369 Message-ID: <1181779860-sup-5207@mona>
1370
1371 i resumed editing the message about per-address signatures after postponing
1372 it, and when i sent it, i got:
1373
1374 [Wed Jun 13 20:10:11 -0400 2007] oh crap, an exception
1375 [Wed Jun 13 20:10:11 -0400 2007] unlocking /home/jeff/.sup/lock...
1376 ----------------------------------------------------------------
1377 I'm very sorry, but it seems that an error occurred in Sup.
1378 Please accept my sincere apologies. If you don't mind, please
1379 send the backtrace below and a brief report of the circumstances
1380 to sup-talk at rubyforge dot orgs so that I might address this
1381 problem. Thank you!
1382
1383 Sincerely,
1384 William
1385 ----------------------------------------------------------------
1386
1387 The problem was: 'undefined method `to_nice_s' for nil:NilClass' (error type NoMethodError)
1388 A backtrace follows:
1389 ./lib/sup/modes/thread-index-mode.rb:450:in `text_for_thread': undefined method `to_nice_s' for nil:NilClass (NoMethodError)
1390 from ./lib/sup/modes/thread-index-mode.rb:432:in `regen_text'
1391 from ./lib/sup/util.rb:186:in `map_with_index'
1392 from /usr/lib/ruby/1.8/fileutils.rb:1297:in `each_with_index'
1393 from ./lib/sup/util.rb:186:in `each'
1394 from ./lib/sup/util.rb:186:in `each_with_index'
1395 from ./lib/sup/util.rb:186:in `map_with_index'
1396 from ./lib/sup/modes/thread-index-mode.rb:432:in `regen_text'
1397 from ./lib/sup/modes/thread-index-mode.rb:131:in `update'
1398 ... 11 levels...
1399 from ./lib/sup/mode.rb:52:in `send'
1400 from ./lib/sup/mode.rb:52:in `handle_input'
1401 from ./lib/sup/buffer.rb:178:in `handle_input'
1402 from bin/sup:183
1403
1404 thanks,
1405
1406 --
1407 jeff covey
1408 http://jeffcovey.net/
1409
1410
1411 From jeff.covey@pobox.com Wed Jun 13 20:15:33 2007
1412 From: jeff.covey@pobox.com (jeff covey)
1413 Date: Wed, 13 Jun 2007 20:15:33 -0400
1414 Subject: [sup-talk] encoded from/subject lines?
1415 In-Reply-To: <1181770524-sup-1225@south>
1416 References: <1181763799-sup-5238@zap> <1181770524-sup-1225@south>
1417 Message-ID: <1181780082-sup-7976@mona>
1418
1419 Excerpts from William Morgan's message of Wed Jun 13 17:38:04 -0400 2007:
1420
1421 > These are RFC 2047 headers. Decoding them is on the todo list. If this is
1422 > prevalent, I will bump up the priority.
1423
1424 i see this all the time. it's usually a good indicator of spam. :)
1425
1426 --
1427 jeff covey
1428 http://jeffcovey.net/
1429
1430
1431 From jeff.covey@pobox.com Thu Jun 14 11:32:09 2007
1432 From: jeff.covey@pobox.com (jeff covey)
1433 Date: Thu, 14 Jun 2007 11:32:09 -0400
1434 Subject: [sup-talk] mutt's auto_view and alternative_order
1435 Message-ID: <1181834033-sup-8054@mona>
1436
1437 something i'm really missing from mutt is the auto_view setting for mime
1438 types. unfortunately, so many mail user agents send out only html messages,
1439 and they appear in sup as just a single "mime attachment" line. when you
1440 reply to one of them, you get an empty quote of the sender's message, and
1441 you have to go back, launch the attachment in an external viewer, copy and
1442 paste, put the text in the reply with "> "s, etc.
1443
1444 it would be great if config.yaml let the user specify a list of mime types
1445 which should have their attachments run through the .mailcap-specified
1446 filters with copiousoutput tags, and have the results inserted into the text
1447 of the message. i think it might be good to keep the "mime attachment" line
1448 as well, so that hitting enter on it would launch an external viewer for the
1449 times you want that. (mutt's documentation has a thorough section on how
1450 they handle .mailcap; it has some good ideas.)
1451
1452 mutt's alternative_order is also nice. it lets you say, for example, "if
1453 there's multipart/alternative mail with the same message as text/plain and
1454 text/html, just show me the text/plain version." this could be handled
1455 nicely by displaying the most-desired version as its full text and the
1456 less-desirable ones as "mime attachment" lines.
1457
1458 thanks,
1459
1460 --
1461 jeff covey
1462 http://jeffcovey.net/
1463
1464
1465 From jeff.covey@pobox.com Thu Jun 14 12:13:21 2007
1466 From: jeff.covey@pobox.com (jeff covey)
1467 Date: Thu, 14 Jun 2007 12:13:21 -0400
1468 Subject: [sup-talk] sup-sync-back not syncing all usual sources
1469 Message-ID: <1181836972-sup-1140@mona>
1470
1471 sup-sync-back's help says "If no sources are given, sync back all usual
1472 sources", but this doesn't seem to be happening.
1473
1474 i just tested it by commenting out the sup-sync-back section of my sup
1475 wrapper script and marking a bunch of threads to be deleted. then i ran
1476 this:
1477
1478 sup-sync-back --move-deleted ~/tmp/sup-deleted.mbox --move-spam ~/tmp/sup-deleted.mbox
1479
1480 , and it acted as though there were nothing to be done. then i reinstated
1481 the part of my script which checks which sources need to be sync-backed
1482 (included below), and it processed them all and moved the deleted messages
1483 out of them as it should.
1484
1485 thanks,
1486 jeff
1487
1488
1489 ruby='ruby -I lib -w'
1490 cd ~/tmp/sup/trunk
1491
1492 echo "checking for messages to delete..."
1493 deletedids=`$ruby bin/sup-dump | grep deleted | sed -e 's/(.*//'`;
1494 mboxes=~/mail/*-`date +%Y-%m`
1495 for id in $deletedids ; do
1496 deletedmboxes=`grep -l $id $mboxes`;
1497 for mbox in $deletedmboxes ; do
1498 $ruby bin/sup-sync-back --move-deleted ~/tmp/sup-deleted.mbox --move-spam ~/tmp/sup-deleted.mbox mbox://$mbox ;
1499 $ruby bin/sup-sync --changed mbox://$mbox ;
1500 done ;
1501 done
1502
1503
1504 --
1505 jeff covey
1506 http://jeffcovey.net/
1507
1508
1509 From jeff.covey@pobox.com Sat Jun 16 12:58:41 2007
1510 From: jeff.covey@pobox.com (jeff covey)
1511 Date: Sat, 16 Jun 2007 12:58:41 -0400
1512 Subject: [sup-talk] exception on postponing a previously-postponed message
1513 Message-ID: <1182012999-sup-6849@mona>
1514
1515 i was just editing a message i'd previously postponed, and when i postponed it
1516 again, i got this:
1517
1518 [Sat Jun 16 12:56:00 -0400 2007] oh crap, an exception
1519 [Sat Jun 16 12:56:00 -0400 2007] unlocking /home/jeff/.sup/lock...
1520 ----------------------------------------------------------------
1521 I'm very sorry, but it seems that an error occurred in Sup.
1522 Please accept my sincere apologies. If you don't mind, please
1523 send the backtrace below and a brief report of the circumstances
1524 to sup-talk at rubyforge dot orgs so that I might address this
1525 problem. Thank you!
1526
1527 Sincerely,
1528 William
1529 ----------------------------------------------------------------
1530
1531 The problem was: 'comparison of Time with nil failed' (error type ArgumentError)
1532 A backtrace follows:
1533 ./lib/sup/modes/thread-index-mode.rb:129:in `sort_by': comparison of Time with nil failed (ArgumentError)
1534 from ./lib/sup/modes/thread-index-mode.rb:129:in `update'
1535 from ./lib/sup/modes/thread-index-mode.rb:122:in `handle_delete_update'
1536 from ./lib/sup/update.rb:16:in `send'
1537 from ./lib/sup/update.rb:16:in `relay'
1538 from ./lib/sup/update.rb:16:in `each'
1539 from ./lib/sup/update.rb:16:in `relay'
1540 from ./lib/sup/util.rb:320:in `send'
1541 from ./lib/sup/util.rb:320:in `method_missing'
1542 from ./lib/sup/draft.rb:39:in `discard'
1543 from ./lib/sup/util.rb:320:in `send'
1544 from ./lib/sup/util.rb:320:in `method_missing'
1545 from ./lib/sup/modes/resume-mode.rb:43:in `save_as_draft'
1546 from ./lib/sup/mode.rb:52:in `send'
1547 from ./lib/sup/mode.rb:52:in `handle_input'
1548 from ./lib/sup/buffer.rb:178:in `handle_input'
1549 from bin/sup:183
1550
1551 thanks,
1552
1553 --
1554 jeff covey
1555 http://jeffcovey.net/
1556
1557
1558 From wmorgan-sup@masanjin.net Sun Jun 17 16:30:08 2007
1559 From: wmorgan-sup@masanjin.net (William Morgan)
1560 Date: Sun, 17 Jun 2007 13:30:08 -0700
1561 Subject: [sup-talk] sup-sync-back not syncing all usual sources
1562 In-Reply-To: <1181836972-sup-1140@mona>
1563 References: <1181836972-sup-1140@mona>
1564 Message-ID: <1182112191-sup-9971@south>
1565
1566 Excerpts from jeff.covey's message of Thu Jun 14 09:13:21 -0700 2007:
1567 > sup-sync-back's help says "If no sources are given, sync back all usual
1568 > sources", but this doesn't seem to be happening.
1569
1570 Fixed in svn. Thanks!
1571
1572 --
1573 William <wmorgan-sup at masanjin.net>
1574
1575 From jeff.covey@pobox.com Sun Jun 17 21:00:24 2007
1576 From: jeff.covey@pobox.com (jeff covey)
1577 Date: Sun, 17 Jun 2007 21:00:24 -0400
1578 Subject: [sup-talk] sup-sync-back not syncing all usual sources
1579 In-Reply-To: <1182112191-sup-9971@south>
1580 References: <1181836972-sup-1140@mona> <1182112191-sup-9971@south>
1581 Message-ID: <1182126871-sup-7739@mona>
1582
1583 Excerpts from William Morgan's message of Sun Jun 17 16:30:08 -0400 2007:
1584
1585 > > sup-sync-back's help says "If no sources are given, sync back all usual
1586 > > sources", but this doesn't seem to be happening.
1587 >
1588 > Fixed in svn. Thanks!
1589
1590 thanks, it now spits out the names of all of my usual sources and moves
1591 deleted files from some, but not all of them. i changed my wrapper script
1592 to first just run sup-sync-back without specifying a source, then to run it
1593 as i used to do on those sources with messages tagged "deleted" in the
1594 index. the first run moves some deleted messages, and the second the rest.
1595
1596 would it make more sense for sup-sync-back to process only those sources
1597 which need to be synced back (at this stage in sup-sync-back's life, those
1598 which have spam/deleted messages)?
1599
1600 also, at the end of running sup-sync-back without specifying a source, i get
1601 this:
1602
1603 Scanning sup://sent...
1604 Scanned 4, deleted 0, moved 0 messages from sup://sent.
1605 [Sun Jun 17 20:32:34 -0400 2007] saving index and sources...
1606 [Sun Jun 17 20:32:35 -0400 2007] unlocking /home/jeff/.sup/lock...
1607 /usr/lib/ruby/1.8/fileutils.rb:505:in `rename': No such file or directory - /tmp/sup-sync-back-9998.1089.0 or (Errno::ENOENT)
1608 from /usr/lib/ruby/1.8/fileutils.rb:505:in `mv'
1609 from /usr/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
1610 from /usr/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
1611 from /usr/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
1612 from /usr/lib/ruby/1.8/fileutils.rb:494:in `mv'
1613 from bin/sup-sync-back:115
1614 from bin/sup-sync-back:68:in `each'
1615 from bin/sup-sync-back:68
1616
1617
1618 --
1619 jeff covey
1620 http://jeffcovey.net/
1621
1622
1623 From jeff.covey@pobox.com Mon Jun 18 07:33:23 2007
1624 From: jeff.covey@pobox.com (jeff covey)
1625 Date: Mon, 18 Jun 2007 07:33:23 -0400
1626 Subject: [sup-talk] exception on loading more threads
1627 Message-ID: <1182166294-sup-7610@mona>
1628
1629 i just started sup, hit "m" to load more threads, and got this:
1630
1631
1632 [Mon Jun 18 07:27:57 -0400 2007] oh crap, an exception
1633 [Mon Jun 18 07:27:57 -0400 2007] unlocking /home/jeff/.sup/lock...
1634 ----------------------------------------------------------------
1635 I'm very sorry, but it seems that an error occurred in Sup.
1636 Please accept my sincere apologies. If you don't mind, please
1637 send the backtrace below and a brief report of the circumstances
1638 to sup-talk at rubyforge dot orgs so that I might address this
1639 problem. Thank you!
1640
1641 Sincerely,
1642 William
1643 ----------------------------------------------------------------
1644
1645 The problem was: 'IO Error occured at <except.c>:93 in xraise
1646 Error occured in fs_store.c:293 - fsi_seek_i
1647 seeking pos 566286: <Bad file descriptor>
1648
1649 ' (error type IOError)
1650 A backtrace follows:
1651 ./lib/sup/index.rb:211:in `default': IO Error occured at <except.c>:93 in xraise (IOError)
1652 Error occured in fs_store.c:293 - fsi_seek_i
1653 seeking pos 566286: <Bad file descriptor>
1654
1655 from ./lib/sup/index.rb:211:in `[]'
1656 from ./lib/sup/index.rb:211:in `each_id_by_date'
1657 from ./lib/sup/index.rb:211:in `each'
1658 from ./lib/sup/index.rb:211:in `each_id_by_date'
1659 from ./lib/sup/thread.rb:301:in `load_n_threads'
1660 from ./lib/sup/modes/thread-index-mode.rb:354:in `unsynchronized_load_n_threads'
1661 from (eval):3:in `load_n_threads'
1662 from (eval):3:in `synchronize'
1663 ... 8 levels...
1664 from ./lib/sup/mode.rb:52:in `send'
1665 from ./lib/sup/mode.rb:52:in `handle_input'
1666 from ./lib/sup/buffer.rb:178:in `handle_input'
1667 from bin/sup:183
1668 checking for messages to delete...
1669 ./lib/sup/util.rb:5: warning: method redefined; discarding old gen_lock_id
1670 ./lib/sup/util.rb:16: warning: method redefined; discarding old dump_lock_id
1671
1672
1673 thanks,
1674
1675 --
1676 jeff covey
1677 http://jeffcovey.net/
1678
1679
1680 From wmorgan-sup@masanjin.net Mon Jun 18 11:47:50 2007
1681 From: wmorgan-sup@masanjin.net (William Morgan)
1682 Date: Mon, 18 Jun 2007 08:47:50 -0700
1683 Subject: [sup-talk] new in svn: rfc2047 header decoding,
1684 and charset conversion
1685 Message-ID: <1182181055-sup-7065@south>
1686
1687 RFC2047 headers and MIME message parts with Content-Type headers are now
1688 converted to the local character set (default utf8 if not set). This
1689 should work immediately for new messages. In order to see these changes
1690 on messages already in the index, you'll need to:
1691
1692 1. delete any entries in people.txt and contact.txt that are
1693 RFC2047-encoded; and
1694 2. run sup-sync --all --all-sources
1695
1696 If you see warnings in the Sup log about decoding, that means iconv
1697 couldn't convert the original message to your character set. It's a
1698 little picky and apparently doesn't offer anything more fine-grained
1699 than "encode everything or raise an exception". We just use the original
1700 message as is, as we've been doing all along, in that case.
1701
1702 On my Debian box with LANG=en_US.utf-8, running Sup in gnome-terminal, I
1703 can now see accented characters. Yay! Haven't yet tried wide characters.
1704
1705 --
1706 William <wmorgan-sup at masanjin.net>
1707
1708 From jeff.covey@pobox.com Mon Jun 18 19:37:43 2007
1709 From: jeff.covey@pobox.com (jeff covey)
1710 Date: Mon, 18 Jun 2007 19:37:43 -0400
1711 Subject: [sup-talk] searching for text in threads
1712 Message-ID: <1182209720-sup-7475@mona>
1713
1714 i'm wondering how people handle searching for messages referencing a given
1715 topic. searching with "/" brings up a list of threads concerning it, but if
1716 it's a thread from a mailing list with 50 messages and only one is about
1717 what you need, how do you hunt down which of the 50 is the one you want?
1718
1719 in thread-view-mode, sup is effectively a pager. in that mode, should "/"
1720 search for and highlight text as any other pager would?
1721
1722 --
1723 jeff covey
1724 http://jeffcovey.net/
1725
1726
1727 From jeff.covey@pobox.com Mon Jun 18 20:00:52 2007
1728 From: jeff.covey@pobox.com (jeff covey)
1729 Date: Mon, 18 Jun 2007 20:00:52 -0400
1730 Subject: [sup-talk] GPG Support
1731 In-Reply-To: <D55C81AD71647428E7B489B6@Sumatra.local>
1732 References: <D55C81AD71647428E7B489B6@Sumatra.local>
1733 Message-ID: <1182210252-sup-8502@mona>
1734
1735 Excerpts from Chris Lee's message of Thu May 17 17:24:11 -0400 2007:
1736
1737 > GPG support is coming along nicely right now.
1738
1739 great! :) sorry for the delay in replying.
1740
1741 > If all email addresses of an email have keys, then, and only then, do I
1742 > encrypt the email - this means if you have highly sensitive info, and you
1743 > miskey an address, whoops it goes out unencrypted * I need a way to know
1744 > if the user want to encrypt and/or sign an email and then alert him/her if
1745 > I don't have all the required keys.
1746
1747 i rarely want to send encrypted mail, and i want the mail i usually send
1748 left unencrypted so i have a clear copy for my reference. from my
1749 perspective, i'd rather just be able to hit a keybinding to turn encryption
1750 on when i want it, instead of having it done automatically.
1751
1752 > I don't sign any email right now :(
1753
1754 that's the main thing i use gpg for. :)
1755
1756 > The sources.yaml file is pgp encrypted now.
1757
1758 why is that? there doesn't seem to be any sensitive information in
1759 sources.yaml, and encrypting it makes it harder to deal with.
1760
1761 > it'd be nice to extend protections to non-pgp users. Should I use openssl
1762 > to encrypt the config file and then have the pgp password(s) in there?
1763
1764 i wouldn't bother with storing passwords/phrases and encrypting files, i
1765 would just let gpg prompt people for the words/phrases as needed. if they
1766 don't want to type them each time, they can use something like gpg-agent.
1767
1768 > I only use one GPG private key, which is not tied to the sending address
1769 > (it's specified in config.yaml). This should be easy to fix if I store
1770 > all the passphrases in an encrypted file. * Do you need this feature?
1771
1772 i only use one key myself, but it would be nice to be able to specify a key
1773 for each account under ":accounts:".
1774
1775 > You'll have to encrypt your sources.yaml file manually before the first
1776 > time you launch sup with pgp support. This totally breaks sup-add,
1777 > sup-sync, and anything else that reads sources.yaml right now
1778
1779 yes, again, i'm not sure why you're encrypting sources.yaml. it seems to be
1780 adding unnecessary complications.
1781
1782 thanks again,
1783
1784 --
1785 jeff covey
1786 http://jeffcovey.net/
1787
1788
1789 From wmorgan-sup@masanjin.net Wed Jun 27 13:25:50 2007
1790 From: wmorgan-sup@masanjin.net (William Morgan)
1791 Date: Wed, 27 Jun 2007 10:25:50 -0700
1792 Subject: [sup-talk] sorry about the non-responsiveness
1793 Message-ID: <1182964981-sup-6783@south>
1794
1795 I'm not just deleting all your bug reports and feature requests! A
1796 combination of a big release at work and an ill-timed contemporaneous
1797 vacation has left me with little time for Sup. But next week I should
1798 have some quality time to spend. Meanwhile I've written 95% of the
1799 attachment code; just haven't gotten a chance to plug it in yet.
1800
1801 --
1802 William <wmorgan-sup at masanjin.net>
1803
1804 From wmorgan-sup@masanjin.net Thu Jun 28 15:03:52 2007
1805 From: wmorgan-sup@masanjin.net (William Morgan)
1806 Date: Thu, 28 Jun 2007 12:03:52 -0700
1807 Subject: [sup-talk] searching for text in threads
1808 In-Reply-To: <1182209720-sup-7475@mona>
1809 References: <1182209720-sup-7475@mona>
1810 Message-ID: <1183057404-sup-4295@south>
1811
1812 Excerpts from jeff.covey's message of Mon Jun 18 16:37:43 -0700 2007:
1813 > in thread-view-mode, sup is effectively a pager. in that mode, should
1814 > "/" search for and highlight text as any other pager would?
1815
1816 Absolutely. This is one more item on the desperately-needed list.
1817
1818 --
1819 William <wmorgan-sup at masanjin.net>
1820
1821 From jeff.covey@pobox.com Sat Jun 30 05:29:07 2007
1822 From: jeff.covey@pobox.com (jeff covey)
1823 Date: Sat, 30 Jun 2007 05:29:07 -0400
1824 Subject: [sup-talk] sup dying with another ferret error
1825 Message-ID: <20070630092906.GA16008@mona.jeffcovey.net>
1826
1827 i just started sup this morning, and it died as it was polling for new
1828 messages. now it does this whenever i try to start it:
1829
1830
1831 [Sat Jun 30 05:10:24 -0400 2007] oh crap, an exception
1832 [Sat Jun 30 05:10:24 -0400 2007] unlocking /home/jeff/.sup/lock...
1833 ----------------------------------------------------------------
1834 I'm very sorry, but it seems that an error occurred in Sup.
1835 Please accept my sincere apologies. If you don't mind, please
1836 send the backtrace below and a brief report of the circumstances
1837 to sup-talk at rubyforge dot orgs so that I might address this
1838 problem. Thank you!
1839
1840 Sincerely,
1841 William
1842 ----------------------------------------------------------------
1843
1844 The problem was: 'IO Error occured at <except.c>:93 in xraise
1845 Error occured in index.c:901 - sis_find_segments_file
1846 Error reading the segment infos. Store listing was
1847
1848
1849 ' (error type IOError)
1850 A backtrace follows:
1851 /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `initialize': IO Error occured at <except.c>:93 in xraise (IOError)
1852 Error occured in index.c:901 - sis_find_segments_file
1853 Error reading the segment infos. Store listing was
1854
1855
1856 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `new'
1857 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `ensure_reader_open'
1858 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:733:in `ensure_searcher_open'
1859 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:755:in `do_search'
1860 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:334:in `search'
1861 from /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
1862 from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:333:in `search'
1863 from ./lib/sup/index.rb:312:in `load_entry_for_id'
1864 ... 33 levels...
1865 from ./lib/sup.rb:66:in `reporting_thread'
1866 from ./lib/sup/modes/thread-index-mode.rb:343:in `load_n_threads_background'
1867 from ./lib/sup/modes/thread-index-mode.rb:393:in `load_threads'
1868 from bin/sup:171
1869
1870
1871 thanks,
1872
1873 --
1874 jeff covey
1875 http://jeffcovey.net/
1876
1877
1878 From jeff.covey@pobox.com Sat Jun 30 13:29:53 2007
1879 From: jeff.covey@pobox.com (jeff covey)
1880 Date: Sat, 30 Jun 2007 13:29:53 -0400
1881 Subject: [sup-talk] sorry about the non-responsiveness
1882 In-Reply-To: <1182964981-sup-6783@south>
1883 References: <1182964981-sup-6783@south>
1884 Message-ID: <20070630172953.GA16906@mona.jeffcovey.net>
1885
1886 it's ok with me -- aside from the various workarounds, sup has been working
1887 fine for me until it blew up this morning. i think it's been a couple of
1888 weeks, the longest i've been able to use it at a stretch! :)
1889
1890 unfortunately, every attempt i make now to build/rebuild the index
1891 eventually leads to a ferret error, so i'm on a forced sup vacation.
1892
1893 thanks for the update!
1894
1895 --
1896 jeff covey
1897 http://jeffcovey.net/
1898
1899 -------------- next part --------------
1900 A non-text attachment was scrubbed...
1901 Name: not available
1902 Type: application/pgp-signature
1903 Size: 229 bytes
1904 Desc: Digital signature
1905 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070630/8d7b3801/attachment.bin
1906