community/pipermail-archives/sup-talk/2011-06.txt (35923B) - raw
1 From rthrd@web.de Wed Jun 1 07:52:40 2011
2 From: rthrd@web.de (Ruthard Baudach)
3 Date: Wed, 01 Jun 2011 13:52:40 +0200
4 Subject: [sup-talk] before-poll.rb does not appear to be run. Where is
5 PollManager defined?
6 In-Reply-To: <BANLkTikaFJ1B3DrsDyERJvmhU5QH-fwk1Q@mail.gmail.com>
7 References: <BANLkTikaFJ1B3DrsDyERJvmhU5QH-fwk1Q@mail.gmail.com>
8 Message-ID: <1306928873-sup-3234@PrxServer3>
9
10 > === Andrew Farrell schrieb am 2011-06-01 05:54: === <
11 > I'm trying to add a before-poll.rb hook, but this appears not to be run.
12 > At least, it is not running offlineIMAP and if I insert a divide-by-zero,
13 > nothing explodes.
14 To create a hook, you have to put the hook-name.rb file in the
15 .sup/hooks folder, and it should be executed when the hook is called.
16
17 No need to go source diving.
18
19 You've got a log-line in your before-poll.rb, so you should see it's
20 activity in the log buffer.
21
22 Just hit ; in inbox-mode, navigate to the line saying log-mode and hit
23 <Enter> to view the log buffer.
24
25 If your message shows up, the before-poll hook is executed, and does not
26 work. Happy debugging (I used to know no Ruby as well when I started
27 using sup, and it's still a foreign language to me)
28
29 > - I'm inferring that "require 'sup' " is the equivalent of python's "from
30 > sup import *"
31 Yes, it is.
32
33 Ruthard
34
35 From afarrell@MIT.EDU Wed Jun 1 15:18:24 2011
36 From: afarrell@MIT.EDU (Andrew Farrell)
37 Date: Wed, 1 Jun 2011 12:18:24 -0700
38 Subject: [sup-talk] before-poll.rb does not appear to be run. Where is
39 PollManager defined?
40 In-Reply-To: <1306928873-sup-3234@PrxServer3>
41 References: <BANLkTikaFJ1B3DrsDyERJvmhU5QH-fwk1Q@mail.gmail.com>
42 <1306928873-sup-3234@PrxServer3>
43 Message-ID: <BANLkTimjYPva9mFXrRVcKgU1opk=DXvHhQ@mail.gmail.com>
44
45 > Name it before-poll.rb
46 yes, I should have mentioned that I'd done that.
47
48 > View the log by...
49 Thank you! Using this, I found that the problem was that line 12 of the hook
50 from
51 http://sup.rubyforge.org/wiki/wiki.pl?TriggeringMailCollection
52 was using SourceManager.
53 12 def inbox_sources(sources = SourceManager.sources)
54 13 sources.find_all { |s| !s.archived? }.sort_by {|s| s.id }
55 14 end
56
57 I replaced SourceManager.sources with Index.usual_sources
58 And it works.
59
60 I've replaced the relevant code in the wiki.
61
62 -- Andrew Farrell
63
64 On Wed, Jun 1, 2011 at 4:52 AM, Ruthard Baudach <rthrd at web.de> wrote:
65
66 > > === Andrew Farrell schrieb am 2011-06-01 05:54: === <
67 > > I'm trying to add a before-poll.rb hook, but this appears not to be run.
68 > > At least, it is not running offlineIMAP and if I insert a divide-by-zero,
69 > > nothing explodes.
70 > To create a hook, you have to put the hook-name.rb file in the
71 > .sup/hooks folder, and it should be executed when the hook is called.
72 >
73 > No need to go source diving.
74 >
75 > You've got a log-line in your before-poll.rb, so you should see it's
76 > activity in the log buffer.
77 >
78 > Just hit ; in inbox-mode, navigate to the line saying log-mode and hit
79 > <Enter> to view the log buffer.
80 >
81 > If your message shows up, the before-poll hook is executed, and does not
82 > work. Happy debugging (I used to know no Ruby as well when I started
83 > using sup, and it's still a foreign language to me)
84 >
85 > > - I'm inferring that "require 'sup' " is the equivalent of python's "from
86 > > sup import *"
87 > Yes, it is.
88 >
89 > Ruthard
90 > _______________________________________________
91 > sup-talk mailing list
92 > sup-talk at rubyforge.org
93 > http://rubyforge.org/mailman/listinfo/sup-talk
94 >
95 -------------- next part --------------
96 An HTML attachment was scrubbed...
97 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110601/b9129f32/attachment.html>
98
99 From jt@parspro.com Fri Jun 3 17:16:07 2011
100 From: jt@parspro.com (John Toohey)
101 Date: Fri, 3 Jun 2011 17:16:07 -0400
102 Subject: [sup-talk] Problems installing Sup on OSX 10.6
103 Message-ID: <BANLkTinHtAL4_TqSYeLxxQPfOF6j4W0tBQ@mail.gmail.com>
104
105 Just found this project, but having difficulty installing Sup. On OSX
106 I get the following :-
107
108 ERROR: Error installing sup:
109 ERROR: Failed to build gem native extension.
110
111 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
112 checking for unistd.h... yes
113 checking for locale.h... yes
114 checking for ncurses.h... yes
115 checking for wmove() in -lncursesw... no
116 checking for wmove() in -lpdcurses... no
117 *** extconf.rb failed ***
118 Could not create Makefile due to some reason, probably lack of
119 necessary libraries and/or headers. Check the mkmf.log file for more
120 details. You may need configuration options.
121
122 Provided configuration options:
123 --with-opt-dir
124 --without-opt-dir
125 --with-opt-include
126 --without-opt-include=${opt-dir}/include
127 --with-opt-lib
128 --without-opt-lib=${opt-dir}/lib
129 --with-make-prog
130 --without-make-prog
131 --srcdir=.
132 --curdir
133 --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
134 --with-ncurseswlib
135 --without-ncurseswlib
136 --with-pdcurseslib
137 --without-pdcurseslib
138 extconf.rb:46: ncurses library not found (RuntimeError)
139
140
141 Gem files will remain installed in
142 /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3 for inspection.
143 Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3/gem_make.out
144
145
146 Gem version is 1.3.5, and Ruby is ruby 1.8.7 (2009-06-12 patchlevel
147 174) [universal-darwin10.0]
148
149 My /opt/local/lib has libncurses installed, but being new to Ruby, I
150 am not sure how Ruby searches for libraries. Any help would be
151 appreciated.
152
153 --
154 ~JT
155
156 From afarrell@MIT.EDU Fri Jun 3 21:40:06 2011
157 From: afarrell@MIT.EDU (Andrew Farrell)
158 Date: Fri, 3 Jun 2011 18:40:06 -0700
159 Subject: [sup-talk] Problems installing Sup on OSX 10.6
160 In-Reply-To: <BANLkTinHtAL4_TqSYeLxxQPfOF6j4W0tBQ@mail.gmail.com>
161 References: <BANLkTinHtAL4_TqSYeLxxQPfOF6j4W0tBQ@mail.gmail.com>
162 Message-ID: <BANLkTinrHfan5NL5EvdoL7FY5ZeseA-n_w@mail.gmail.com>
163
164 I had this same error when trying to install it as a ruby gem.
165 I succeeded installing it from macports.
166 `sudo port install sup` should work.
167
168 -- Andrew Farrell
169
170 On Fri, Jun 3, 2011 at 2:16 PM, John Toohey <jt at parspro.com> wrote:
171
172 > Just found this project, but having difficulty installing Sup. On OSX
173 > I get the following :-
174 >
175 > ERROR: Error installing sup:
176 > ERROR: Failed to build gem native extension.
177 >
178 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
179 > extconf.rb
180 > checking for unistd.h... yes
181 > checking for locale.h... yes
182 > checking for ncurses.h... yes
183 > checking for wmove() in -lncursesw... no
184 > checking for wmove() in -lpdcurses... no
185 > *** extconf.rb failed ***
186 > Could not create Makefile due to some reason, probably lack of
187 > necessary libraries and/or headers. Check the mkmf.log file for more
188 > details. You may need configuration options.
189 >
190 > Provided configuration options:
191 > --with-opt-dir
192 > --without-opt-dir
193 > --with-opt-include
194 > --without-opt-include=${opt-dir}/include
195 > --with-opt-lib
196 > --without-opt-lib=${opt-dir}/lib
197 > --with-make-prog
198 > --without-make-prog
199 > --srcdir=.
200 > --curdir
201 >
202 > --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
203 > --with-ncurseswlib
204 > --without-ncurseswlib
205 > --with-pdcurseslib
206 > --without-pdcurseslib
207 > extconf.rb:46: ncurses library not found (RuntimeError)
208 >
209 >
210 > Gem files will remain installed in
211 > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3 for inspection.
212 > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3/gem_make.out
213 >
214 >
215 > Gem version is 1.3.5, and Ruby is ruby 1.8.7 (2009-06-12 patchlevel
216 > 174) [universal-darwin10.0]
217 >
218 > My /opt/local/lib has libncurses installed, but being new to Ruby, I
219 > am not sure how Ruby searches for libraries. Any help would be
220 > appreciated.
221 >
222 > --
223 > ~JT
224 > _______________________________________________
225 > sup-talk mailing list
226 > sup-talk at rubyforge.org
227 > http://rubyforge.org/mailman/listinfo/sup-talk
228 >
229 -------------- next part --------------
230 An HTML attachment was scrubbed...
231 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110603/2b588098/attachment.html>
232
233 From jt@parspro.com Sat Jun 4 12:12:57 2011
234 From: jt@parspro.com (John Toohey)
235 Date: Sat, 4 Jun 2011 12:12:57 -0400
236 Subject: [sup-talk] Problems installing Sup on OSX 10.6
237 In-Reply-To: <BANLkTinrHfan5NL5EvdoL7FY5ZeseA-n_w@mail.gmail.com>
238 References: <BANLkTinHtAL4_TqSYeLxxQPfOF6j4W0tBQ@mail.gmail.com>
239 <BANLkTinrHfan5NL5EvdoL7FY5ZeseA-n_w@mail.gmail.com>
240 Message-ID: <BANLkTik_kC3km76p9ofmXZWuoZhSQ-guPw@mail.gmail.com>
241
242 Got a lot further now. Is rb-fastthread something that I can install manually?
243
244
245 ---> Attempting to fetch fastthread-1.0.7.gem from http://ruby.inoack.com/gems/
246 ---> Verifying checksum(s) for rb-fastthread
247 Error: Checksum (md5) mismatch for fastthread-1.0.7.gem
248 Error: Checksum (sha1) mismatch for fastthread-1.0.7.gem
249 Error: Checksum (rmd160) mismatch for fastthread-1.0.7.gem
250 ***
251 The non-matching file appears to be HTML. See this page for possible reasons
252 for the checksum mismatch:
253 <http://trac.macports.org/wiki/MisbehavingServers>
254 ***
255 Error: Target org.macports.checksum returned: Unable to verify file checksums
256 Error: Failed to install rb-fastthread
257 Log for rb-fastthread is at:
258 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-fastthread/main.log
259 Error: The following dependencies were not installed: rb-fastthread
260 rb-ferret rb-gettext rb-locale rb-highline rb-lockfile rb-mime-types
261 rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
262 Error: Status 1 encountered during processing.
263
264
265 On Fri, Jun 3, 2011 at 21:40, Andrew Farrell <afarrell at mit.edu> wrote:
266 > I had this same error when trying to install it as a ruby gem.
267 > I succeeded installing it from macports.
268 > `sudo port install sup` should work.
269 > -- Andrew Farrell
270 >
271 > On Fri, Jun 3, 2011 at 2:16 PM, John Toohey <jt at parspro.com> wrote:
272 >>
273 >> Just found this project, but having difficulty installing Sup. On OSX
274 >> I get the following :-
275 >>
276 >> ERROR: ?Error installing sup:
277 >> ? ? ? ERROR: Failed to build gem native extension.
278 >>
279 >> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
280 >> extconf.rb
281 >> checking for unistd.h... yes
282 >> checking for locale.h... yes
283 >> checking for ncurses.h... yes
284 >> checking for wmove() in -lncursesw... no
285 >> checking for wmove() in -lpdcurses... no
286 >> *** extconf.rb failed ***
287 >> Could not create Makefile due to some reason, probably lack of
288 >> necessary libraries and/or headers. ?Check the mkmf.log file for more
289 >> details. ?You may need configuration options.
290 >>
291 >> Provided configuration options:
292 >> ? ? ? --with-opt-dir
293 >> ? ? ? --without-opt-dir
294 >> ? ? ? --with-opt-include
295 >> ? ? ? --without-opt-include=${opt-dir}/include
296 >> ? ? ? --with-opt-lib
297 >> ? ? ? --without-opt-lib=${opt-dir}/lib
298 >> ? ? ? --with-make-prog
299 >> ? ? ? --without-make-prog
300 >> ? ? ? --srcdir=.
301 >> ? ? ? --curdir
302 >>
303 >> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
304 >> ? ? ? --with-ncurseswlib
305 >> ? ? ? --without-ncurseswlib
306 >> ? ? ? --with-pdcurseslib
307 >> ? ? ? --without-pdcurseslib
308 >> extconf.rb:46: ncurses library not found (RuntimeError)
309 >>
310 >>
311 >> Gem files will remain installed in
312 >> /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3 for inspection.
313 >> Results logged to
314 >> /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3/gem_make.out
315 >>
316 >>
317 >> Gem version is 1.3.5, and Ruby is ruby 1.8.7 (2009-06-12 patchlevel
318 >> 174) [universal-darwin10.0]
319 >>
320 >> My /opt/local/lib has libncurses installed, but being new to Ruby, I
321 >> am not sure how Ruby searches for libraries. Any help would be
322 >> appreciated.
323 >>
324 >> --
325 >> ~JT
326 >> _______________________________________________
327 >> sup-talk mailing list
328 >> sup-talk at rubyforge.org
329 >> http://rubyforge.org/mailman/listinfo/sup-talk
330 >
331 >
332 > _______________________________________________
333 > sup-talk mailing list
334 > sup-talk at rubyforge.org
335 > http://rubyforge.org/mailman/listinfo/sup-talk
336 >
337 >
338
339
340
341 --
342 ~JT
343
344 From egbutter@gmail.com Mon Jun 6 08:37:05 2011
345 From: egbutter@gmail.com (Eric Butter)
346 Date: Mon, 6 Jun 2011 08:37:05 -0400
347 Subject: [sup-talk] Maildir uri cannot have a host
348 Message-ID: <BANLkTin88dJxyXiJHAbZofz-WaRpKGg25g@mail.gmail.com>
349
350 Sup, sup-talk?
351
352 Has anyone else had a problem getting their Xapian labels to work correctly
353 when using Maildir folders from offlineimap?
354
355 When I run sup-config and try to add any of my offlineimap maildir folders,
356 I get the error:
357
358 sup-0.12.1/lib/sup/maildir.rb:17:in `initialize': maildir URI cannot have a
359 host: home (ArgumentError)
360
361 I will keep hacking around with it, but any guidance would be greatly
362 appreciated.
363
364 Thank you,
365
366 Eric
367 -------------- next part --------------
368 An HTML attachment was scrubbed...
369 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110606/8e1f7c70/attachment-0001.html>
370
371 From wmorgan-sup@masanjin.net Mon Jun 27 01:36:24 2011
372 From: wmorgan-sup@masanjin.net (William Morgan)
373 Date: Mon, 27 Jun 2011 05:36:24 +0000
374 Subject: [sup-talk] try heliotrope!
375 Message-ID: <1309152077-sup-5963@masanjin.net>
376
377 Hi guys,
378
379 If any of you are interested in trying out the next generation of Sup, I
380 have things in a reasonably stable state. It's still too early for a
381 gem, but I have updated the README for both client and server sides. So
382 if you'd like to run some highly experimental code and see what the
383 future of curses-based email might look like, follow the instructions
384 in:
385
386 http://github.com/wmorgan/heliotrope
387 and then
388 http://github.com/wmorgan/turnsole
389
390 Lots of stuff is broken, but I have been using it as an end-to-end email
391 system for a week or so now, so the basics are there. Tell me how it goes!
392 --
393 William <wmorgan-sup at masanjin.net>
394
395 From jboyens@fooninja.org Mon Jun 27 08:56:59 2011
396 From: jboyens@fooninja.org (JR Boyens)
397 Date: Mon, 27 Jun 2011 08:56:59 -0400
398 Subject: [sup-talk] try heliotrope!
399 In-Reply-To: <1309152077-sup-5963@masanjin.net>
400 References: <1309152077-sup-5963@masanjin.net>
401 Message-ID: <1309179117-sup-9518@marvin.local>
402
403 Excerpts from William Morgan's message of 2011-06-27 01:36:24 -0400:
404 > Hi guys,
405 >
406 > If any of you are interested in trying out the next generation of Sup, I
407 > have things in a reasonably stable state. It's still too early for a
408 > gem, but I have updated the README for both client and server sides. So
409 > if you'd like to run some highly experimental code and see what the
410 > future of curses-based email might look like, follow the instructions
411 > in:
412 >
413 > http://github.com/wmorgan/heliotrope
414 > and then
415 > http://github.com/wmorgan/turnsole
416 >
417 > Lots of stuff is broken, but I have been using it as an end-to-end email
418 > system for a week or so now, so the basics are there. Tell me how it goes!
419
420 Seems to work rather good when I can get the messages into heliotrope...
421
422 GMail import seems to work great.
423
424 I keep having this issue with the Maildirs I use with Sup:
425
426
427 ; loading mail...
428 ; scanning 1 directories...
429 ; found 2623 messages
430 ; reading in dates...
431 ; warning: no date in /Users/jboyens/Mail/Work/INBOX/cur/1302957166_2.57311.marvin.local,U=11400,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
432 ; warning: no date in /Users/jboyens/Mail/Work/INBOX/cur/1302957167_0.57311.marvin.local,U=10933,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
433 /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:50:in `block in get_date_in_file': invalid byte sequence in UTF-8 (ArgumentError)
434 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:48:in `open'
435 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:48:in `get_date_in_file'
436 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:40:in `block in get_files'
437 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:40:in `map'
438 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:40:in `get_files'
439 from /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:12:in `load!'
440 from ./bin/heliotrope-add:123:in `<main>'
441
442
443 I've tried a few maildirs and it seems endemic. The file that it has an
444 issue with contains a single, solitary, lower-case h.
445
446
447 Any ideas?
448 --
449 JR Boyens
450 jboyens at fooninja.org
451
452 From kevin.mark@verizon.net Mon Jun 27 11:02:08 2011
453 From: kevin.mark@verizon.net (Kevin Mark)
454 Date: Mon, 27 Jun 2011 11:02:08 -0400
455 Subject: [sup-talk] try heliotrope!
456 In-Reply-To: <1309152077-sup-5963@masanjin.net>
457 References: <1309152077-sup-5963@masanjin.net>
458 Message-ID: <20110627150207.GB22309@horacrux>
459
460 On Mon, Jun 27, 2011 at 05:36:24AM +0000, William Morgan wrote:
461 > Hi guys,
462 >
463 > If any of you are interested in trying out the next generation of Sup, I
464 > have things in a reasonably stable state. It's still too early for a
465 > gem, but I have updated the README for both client and server sides. So
466 > if you'd like to run some highly experimental code and see what the
467 > future of curses-based email might look like, follow the instructions
468 > in:
469 >
470 > http://github.com/wmorgan/heliotrope
471 > and then
472 > http://github.com/wmorgan/turnsole
473 >
474 > Lots of stuff is broken, but I have been using it as an end-to-end email
475 > system for a week or so now, so the basics are there. Tell me how it goes!
476 > --
477
478 Could you provide a few screenshots of both? (with person details removed)
479 just curious about it.
480 -K
481 --
482 | .''`. == Debian GNU/Linux ==.| http://kevix.myopenid.com......|
483 | : :' : The Universal OS....| mysite.verizon.net/kevin.mark/.|
484 | `. `' http://www.debian.org/.| http://counter.li.org [#238656]|
485 |___`-____Unless I ask to be CCd,.assume I am subscribed._________|
486
487 NEVER RESPOND TO CRITICAL PRESS. IT IS A GAME YOU CAN ONLY LOSE, AND IT
488 MAKES US LOOK BAD.
489 -- Bruce Perens
490
491 From sergeig@gmail.com Mon Jun 27 17:30:32 2011
492 From: sergeig@gmail.com (sergeig at gmail.com)
493 Date: Mon, 27 Jun 2011 14:30:32 -0700
494 Subject: [sup-talk] try heliotrope!
495 References: <1309152077-sup-5963@masanjin.net>
496 Message-ID: <1309209957-sup-3069@vector>
497
498 Server starts, but mbox add does not work.
499
500 On ubuntu 10.04, the gem found for livedb is "leveldb-ruby". Not sure if this is related.
501
502 ==
503 $ ruby -Ilib src/git/heliotrope/bin/heliotrope-add -m Mail/fb-mon.mbox -d .heliotrope/fb-mon/
504 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11: [BUG] Segmentation fault
505 ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
506
507 -- control frame ----------
508 c:0008 p:---- s:0053 b:0053 l:000052 d:000052 CFUNC :make
509 c:0007 p:0017 s:0047 b:0047 l:000046 d:000046 METHOD /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11
510 c:0006 p:0054 s:0043 b:0043 l:000042 d:000042 METHOD /home/sergei/src/git/heliotrope/lib/heliotrope/index.rb:45
511 c:0005 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
512 c:0004 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :new
513 c:0003 p:0798 s:0031 b:0031 l:000ebc d:001680 EVAL src/git/heliotrope/bin/heliotrope-add:113
514 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
515 c:0001 p:0000 s:0002 b:0002 l:000ebc d:000ebc TOP
516 ---------------------------
517 -- Ruby level backtrace information ----------------------------------------
518 src/git/heliotrope/bin/heliotrope-add:113:in `<main>'
519 src/git/heliotrope/bin/heliotrope-add:113:in `new'
520 /home/sergei/src/git/heliotrope/lib/heliotrope/index.rb:45:in `initialize'
521 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11:in `new'
522 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11:in `make'
523
524 -- C level backtrace information -------------------------------------------
525 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0xb7807102]
526 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x56657) [0xb76df657]
527 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_bug+0x3a) [0xb76df74a]
528 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x10a1c4) [0xb77931c4]
529 [0xb787c410]
530 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb8SkipListIPKcNS_8MemTable13KeyComparatorEE6InsertERKS2_+0x2c) [0xb712feec]
531 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb8MemTable3AddEyNS_9ValueTypeERKNS_5SliceES4_+0x11a) [0xb712f85a]
532 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(+0x29699) [0xb7138699]
533 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZNK7leveldb10WriteBatch7IterateEPNS0_7HandlerE+0x1cd) [0xb71389bd]
534 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb18WriteBatchInternal10InsertIntoEPKNS_10WriteBatchEPNS_8MemTableE+0x40) [0xb7138a60]
535 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb6DBImpl14RecoverLogFileEyPNS_11VersionEditEPy+0x35c) [0xb7126d6c]
536 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb6DBImpl7RecoverEPNS_11VersionEditE+0x261) [0xb71280b1]
537 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(_ZN7leveldb2DB4OpenERKNS_7OptionsERKSsPPS0_+0xbd) [0xb712ad2d]
538 /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb/leveldb.so(+0x14165) [0xb7123165]
539 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1681b9) [0xb77f11b9]
540 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x178e1e) [0xb7801e1e]
541 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x16db50) [0xb77f6b50]
542 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x173128) [0xb77fc128]
543 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x174902) [0xb77fd902]
544 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_obj_call_init+0x50) [0xb76e18b0]
545 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_class_new_instance+0x3a) [0xb77302ea]
546 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x168208) [0xb77f1208]
547 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x178e1e) [0xb7801e1e]
548 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x16db50) [0xb77f6b50]
549 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x173128) [0xb77fc128]
550 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_iseq_eval_main+0x1f2) [0xb77fc562]
551 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x58f3a) [0xb76e1f3a]
552 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(ruby_exec_node+0x25) [0xb76e1f75]
553 /home/sergei/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(ruby_run_node+0x35) [0xb76e3785]
554 ruby(main+0x68) [0x80487f8]
555 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb74b4bd6]
556 ruby() [0x80486f1]
557
558 [NOTE]
559 You may have encountered a bug in the Ruby interpreter or extension libraries.
560 Bug reports are welcome.
561 For details: http://www.ruby-lang.org/bugreport.html
562
563 --
564 list of gems:
565
566 ==
567 $ gem list
568
569 *** LOCAL GEMS ***
570
571 abstract (1.0.0)
572 actionmailer (3.0.9)
573 actionpack (3.0.9)
574 activemodel (3.0.9)
575 activerecord (3.0.9)
576 activeresource (3.0.9)
577 activesupport (3.0.9)
578 arel (2.1.3, 2.0.10)
579 builder (3.0.0, 2.1.2)
580 bundler (1.0.15)
581 erubis (2.7.0, 2.6.6)
582 gettext (2.1.0)
583 highline (1.6.2)
584 i18n (0.6.0, 0.5.0)
585 leveldb-ruby (0.4)
586 locale (2.0.5)
587 lockfile (1.4.3)
588 mail (2.3.0, 2.2.19)
589 mime-types (1.16)
590 ncursesw (1.2.4.3)
591 polyglot (0.3.1)
592 rack (1.3.0, 1.2.3)
593 rack-mount (0.8.1, 0.6.14)
594 rack-test (0.6.0, 0.5.7)
595 rails (3.0.9)
596 railties (3.0.9)
597 rake (0.9.2, 0.8.7 ruby)
598 rdoc (3.6.1)
599 rest-client (1.6.3)
600 rmail (1.0.0)
601 rubygems-update (1.8.5)
602 sinatra (1.2.6)
603 sup (0.12.1)
604 thor (0.14.6)
605 tilt (1.3.2)
606 treetop (1.4.9)
607 trollop (1.16.2)
608 tzinfo (0.3.28)
609 whistlepig (0.7)
610 xapian-core (1.2.3.1)
611 xapian-full (1.2.3)
612
613 ==
614
615 Thx,
616
617 -Sergei
618
619
620 Excerpts from William Morgan's message of 2011-06-26 22:36:24 -0700:
621 > Hi guys,
622 >
623 > If any of you are interested in trying out the next generation of Sup, I
624 > have things in a reasonably stable state. It's still too early for a
625 > gem, but I have updated the README for both client and server sides. So
626 > if you'd like to run some highly experimental code and see what the
627 > future of curses-based email might look like, follow the instructions
628 > in:
629 >
630 > http://github.com/wmorgan/heliotrope
631 > and then
632 > http://github.com/wmorgan/turnsole
633 >
634 > Lots of stuff is broken, but I have been using it as an end-to-end email
635 > system for a week or so now, so the basics are there. Tell me how it goes!
636
637 From evil.ham.1024@gmail.com Mon Jun 27 19:52:06 2011
638 From: evil.ham.1024@gmail.com (=?UTF-8?Q?Andr=C3=A9s?=)
639 Date: Tue, 28 Jun 2011 01:52:06 +0200
640 Subject: [sup-talk] try heliotrope!
641 In-Reply-To: <1309152077-sup-5963@masanjin.net>
642 References: <1309152077-sup-5963@masanjin.net>
643 Message-ID: <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
644
645 On 27 June 2011 07:36, William Morgan <wmorgan-sup at masanjin.net> wrote:
646 >
647 > Hi guys,
648 >
649 > If any of you are interested in trying out the next generation of Sup, I
650 > have things in a reasonably stable state. It's still too early for a
651 > gem, but I have updated the README for both client and server sides. So
652 > if you'd like to run some highly experimental code and see what the
653 > future of curses-based email might look like, follow the instructions
654 > in:
655 >
656 > http://github.com/wmorgan/heliotrope
657 > ?and then
658 > http://github.com/wmorgan/turnsole
659 >
660 > Lots of stuff is broken, but I have been using it as an end-to-end email
661 > system for a week or so now, so the basics are there. Tell me how it goes!
662
663 Hi there,
664
665 it seems to be behaving quite well already!
666
667 As someone already mentioned, the Gmail import is working great, IF
668 you have English as your Gmail interface language; otherwise
669 heliotrope just keeps looking for the "All Mail" directory; I guess
670 that's because that directory is hard-coded in lib/gmail-dumper.rb, it
671 looks like this wouldn't only affect users with other language
672 configuration on Gmail as sometimes the directories are not
673 "[Gmail]/All Mail" but rather "[Google Mail]/All Mail" [1]; I've
674 looked around and found this:
675 [1] http://groups.google.com/group/Gmail-Help-POP-and-IMAP-en/browse_thread/thread/a154105c54f020fb?pli=1
676 http://code.google.com/intl/ca/apis/gmail/imap/
677 which, judging from the xlist bit in lib/imap-dumper.rb, you already
678 know; maybe support for this kind of not-so-strange set-ups via xlist
679 is already planned?
680 I tried editing the lib/gmail-dumper.rb file to
681 GMAIL_FOLDER = "[Gmail]/Alle Nachrichten"
682 and it looks like that works for the initial import but I don't knwo
683 if it'd have implications with the "get labels from IMAP" part.
684
685 Haven't tried the mbox import that some people are having issues with
686 so I can't confirm nor deny those.
687
688 I've found a small bug on the debugging interface: when a thread has
689 no subject (some people do that), there is no way to open that thread
690 (since there is no link); a fix for that (though maybe not a great one
691 since I'm no ruby expert) could be: replacing the link_to_threadview
692 method definition in heliotrope-server (lines 510-512) to:
693 def link_to_threadview thread_id, text
694 %{<a href="/thread/#{thread_id}">#{if text.empty?; "No subject"
695 else escape_html text end}</a>}
696 end
697
698 The --host parameter does not seem to be implemented (or I am
699 misunderstanding what it is supposed to do), this one is quite
700 important as by default (ignoring firewall rules and etc) anyone on
701 the LAN could access all of the data from Heliotrope; wouldn't it be
702 safer to bind only to localhost by default?
703
704 I haven't played around too much with the client, but I could connect
705 to the server from another computer and looks like its behaviour is
706 just like sup's.
707 Even though it's logical, maybe the README should mention that the
708 lib/* files from heliotrope are needed.
709
710 This looks really promising!
711
712 From wmorgan-sup@masanjin.net Mon Jun 27 23:32:03 2011
713 From: wmorgan-sup@masanjin.net (William Morgan)
714 Date: Tue, 28 Jun 2011 03:32:03 +0000
715 Subject: [sup-talk] [sup-devel] try heliotrope!
716 In-Reply-To: <1309152077-sup-5963@masanjin.net>
717 References: <1309152077-sup-5963@masanjin.net>
718 Message-ID: <1309231838-sup-6073@masanjin.net>
719
720 Reformatted excerpts from William Morgan's message of 2011-06-27:
721 > If any of you are interested in trying out the next generation of Sup
722
723 Thanks for all the feedback so far. I forgot to say: if you find bugs,
724 please file issues on github (either
725 https://github.com/wmorgan/heliotrope/issues or
726 https://github.com/wmorgan/turnsole/issues) so that I don't lose track
727 of them.
728
729 Thanks!
730 --
731 William <wmorgan-sup at masanjin.net>
732
733 From wmorgan-sup@masanjin.net Mon Jun 27 23:54:01 2011
734 From: wmorgan-sup@masanjin.net (William Morgan)
735 Date: Tue, 28 Jun 2011 03:54:01 +0000
736 Subject: [sup-talk] try heliotrope!
737 In-Reply-To: <1309209957-sup-3069@vector>
738 References: <1309152077-sup-5963@masanjin.net> <1309209957-sup-3069@vector>
739 Message-ID: <1309233212-sup-7112@masanjin.net>
740
741 Reformatted excerpts from sergeig's message of 2011-06-27:
742 > /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11: [BUG] Segmentation fault
743 > ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
744
745 Yipes. I've released leveldb-ruby 0.5. Can you try with that please?
746 --
747 William <wmorgan-sup at masanjin.net>
748
749 From sg@fb.com Tue Jun 28 02:32:42 2011
750 From: sg@fb.com (Sergei)
751 Date: Mon, 27 Jun 2011 23:32:42 -0700
752 Subject: [sup-talk] try heliotrope!
753 References: <1309152077-sup-5963@masanjin.net> <1309209957-sup-3069@vector>
754 <1309233212-sup-7112@masanjin.net>
755 Message-ID: <1309242668-sup-5741@vector>
756
757 William,
758
759 Am I looking at the right place:
760
761 https://github.com/wmorgan/leveldb-ruby
762
763 v .4 is shown.
764
765 Thx,
766
767 -Sergei
768
769 Excerpts from William Morgan's message of 2011-06-27 20:54:01 -0700:
770 > Reformatted excerpts from sergeig's message of 2011-06-27:
771 > > /home/sergei/.rvm/gems/ruby-1.9.2-p180/gems/leveldb-ruby-0.4/lib/leveldb.rb:11: [BUG] Segmentation fault
772 > > ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
773 >
774 > Yipes. I've released leveldb-ruby 0.5. Can you try with that please?
775
776 From wmorgan-sup@masanjin.net Tue Jun 28 18:10:19 2011
777 From: wmorgan-sup@masanjin.net (William Morgan)
778 Date: Tue, 28 Jun 2011 22:10:19 +0000
779 Subject: [sup-talk] try heliotrope!
780 In-Reply-To: <1309242668-sup-5741@vector>
781 References: <1309152077-sup-5963@masanjin.net> <1309209957-sup-3069@vector>
782 <1309233212-sup-7112@masanjin.net> <1309242668-sup-5741@vector>
783 Message-ID: <1309298987-sup-8573@masanjin.net>
784
785 Reformatted excerpts from Sergei's message of 2011-06-28:
786 > Am I looking at the right place:
787 >
788 > https://github.com/wmorgan/leveldb-ruby
789 >
790 > v .4 is shown.
791
792 Sorry. I am bad at putting files in directories, apparently. Try now please.
793 --
794 William <wmorgan-sup at masanjin.net>
795
796 From wmorgan-sup@masanjin.net Wed Jun 29 00:02:05 2011
797 From: wmorgan-sup@masanjin.net (William Morgan)
798 Date: Wed, 29 Jun 2011 04:02:05 +0000
799 Subject: [sup-talk] try heliotrope!
800 In-Reply-To: <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
801 References: <1309152077-sup-5963@masanjin.net>
802 <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
803 Message-ID: <1309319960-sup-6339@masanjin.net>
804
805 Hi Andr?s,
806
807 Thanks for the feedback!
808
809 Reformatted excerpts from Andr?s's message of 2011-06-27:
810 > As someone already mentioned, the Gmail import is working great, IF you have
811 > English as your Gmail interface language; otherwise heliotrope just keeps
812 > looking for the "All Mail" directory;
813
814 I think I've fixed this (using the xlist code you discovered). Could you tell
815 me if it works for you?
816
817 > I've found a small bug on the debugging interface: when a thread has
818 > no subject (some people do that)
819
820 Should be fixed.
821
822 > The --host parameter does not seem to be implemented (or I am
823 > misunderstanding what it is supposed to do)
824
825 Should be fixed, and defaults to localhost as you suggest.
826
827 Keep it coming.
828 --
829 William <wmorgan-sup at masanjin.net>
830
831 From wmorgan-sup@masanjin.net Wed Jun 29 00:12:46 2011
832 From: wmorgan-sup@masanjin.net (William Morgan)
833 Date: Wed, 29 Jun 2011 04:12:46 +0000
834 Subject: [sup-talk] try heliotrope!
835 In-Reply-To: <1309179117-sup-9518@marvin.local>
836 References: <1309152077-sup-5963@masanjin.net>
837 <1309179117-sup-9518@marvin.local>
838 Message-ID: <1309320724-sup-9783@masanjin.net>
839
840 Reformatted excerpts from JR Boyens's message of 2011-06-27:
841 > /Users/jboyens/heliotrope/lib/heliotrope/maildir-walker.rb:50:in `block in get_date_in_file': invalid byte sequence in UTF-8 (ArgumentError)
842
843 This should be fixed. But I'm not entirely sure; this encoding stuff is tricky.
844 Can you try again with the latest master, please?
845 --
846 William <wmorgan-sup at masanjin.net>
847
848 From evil.ham.1024@gmail.com Wed Jun 29 15:47:41 2011
849 From: evil.ham.1024@gmail.com (=?UTF-8?Q?Andr=C3=A9s?=)
850 Date: Wed, 29 Jun 2011 21:47:41 +0200
851 Subject: [sup-talk] try heliotrope!
852 In-Reply-To: <1309319960-sup-6339@masanjin.net>
853 References: <1309152077-sup-5963@masanjin.net>
854 <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
855 <1309319960-sup-6339@masanjin.net>
856 Message-ID: <BANLkTi=pJrN631hPHr-GbM2yGhKqgar8hg@mail.gmail.com>
857
858 2011/6/29 William Morgan <wmorgan-sup at masanjin.net>:
859 > Hi Andr?s,
860 >
861 > Thanks for the feedback!
862
863 Thank YOU for the way the software is advancing ;).
864
865 > Reformatted excerpts from Andr?s's message of 2011-06-27:
866 >> As someone already mentioned, the Gmail import is working great, IF you have
867 >> English as your Gmail interface language; otherwise heliotrope just keeps
868 >> looking for the "All Mail" directory;
869 >
870 > I think I've fixed this (using the xlist code you discovered). Could you tell
871 > me if it works for you?
872 Oh yes, that worked perfectly.
873
874 >> I've found a small bug on the debugging interface: when a thread has
875 >> no subject (some people do that)
876 >
877 > Should be fixed.
878 Fixed indeed; your solution is way prettier :).
879
880 >> The --host parameter does not seem to be implemented (or I am
881 >> misunderstanding what it is supposed to do)
882 >
883 > Should be fixed, and defaults to localhost as you suggest.
884
885 Also seems to be working.
886
887 >
888 > Keep it coming.
889
890 Sure, I'm glad I can help; I already subscribed to the sup-devel
891 mailing list to be more up-to-date.
892
893 Cheers,
894 --
895 Andr?s
896
897 From matthieu.rakotojaona@gmail.com Wed Jun 29 16:29:46 2011
898 From: matthieu.rakotojaona@gmail.com (Matthieu Rakotojaona)
899 Date: Wed, 29 Jun 2011 22:29:46 +0200
900 Subject: [sup-talk] try heliotrope!
901 In-Reply-To: <BANLkTi=pJrN631hPHr-GbM2yGhKqgar8hg@mail.gmail.com>
902 References: <1309152077-sup-5963@masanjin.net>
903 <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
904 <1309319960-sup-6339@masanjin.net>
905 <BANLkTi=pJrN631hPHr-GbM2yGhKqgar8hg@mail.gmail.com>
906 Message-ID: <BANLkTinne14w1OdNieNU5WoweT0GJRjuqQ@mail.gmail.com>
907
908 Heliotrope really is an interesting project ! Thanks a lot!
909
910 I have a question : all the mails are stored in the <mailstore>
911 directory, right ?
912
913 I have begun to import some of my gmail mails. I have then removed the
914 <mailstore> dir, but but when I start importing my mails again, it
915 doesn't start from the beginning. Is there some info I am supposed to
916 delete to start again from the beginning ?
917
918 Thanks !
919
920 --
921 Matthieu RAKOTOJAONA
922
923 From wmorgan-sup@masanjin.net Wed Jun 29 17:35:54 2011
924 From: wmorgan-sup@masanjin.net (William Morgan)
925 Date: Wed, 29 Jun 2011 21:35:54 +0000
926 Subject: [sup-talk] try heliotrope!
927 In-Reply-To: <BANLkTinne14w1OdNieNU5WoweT0GJRjuqQ@mail.gmail.com>
928 References: <1309152077-sup-5963@masanjin.net>
929 <BANLkTinxFoW+BioS7MHOVHzQgwWuOumT2g@mail.gmail.com>
930 <1309319960-sup-6339@masanjin.net>
931 <BANLkTi=pJrN631hPHr-GbM2yGhKqgar8hg@mail.gmail.com>
932 <BANLkTinne14w1OdNieNU5WoweT0GJRjuqQ@mail.gmail.com>
933 Message-ID: <1309383279-sup-4887@masanjin.net>
934
935 Reformatted excerpts from Matthieu Rakotojaona's message of 2011-06-29:
936 > I have a question : all the mails are stored in the <mailstore>
937 > directory, right ?
938
939 Yes.
940
941 > I have begun to import some of my gmail mails. I have then removed the
942 > <mailstore> dir, but but when I start importing my mails again, it
943 > doesn't start from the beginning.
944
945 Ah. This is totally undocumented. Heliotrope-add keeps a file called
946 ~/.heliotropeaddrc-something-something where it stores server state for
947 IMAP and GMail accounts. You will have to delete this to have it start
948 over.
949 --
950 William <wmorgan-sup at masanjin.net>
951