Thanks Grahame for this detailed bug report. Could you also let me know what system you're using -- the operating system and version, the version of Ruby (ruby -v), and the version of Vim (vim --version)?
On Dec 19, 4:11 pm, Grahame Blackwood <[email protected]> wrote: > On Sat, Dec 18, 2010 at 03:04 PM, Daniel Choi <[email protected]> wrote: > > Hi Grahame > > > Thanks for the bug report and the encouraging feedback. > > > Could you email me the whole stack trace that you see, or is that > > error message all that you see? If you look in vmail.log, you may see > > more information. The log entries are timestamped, if that helps you > > scroll back and find the place where vmail started to hang. > > > Attachment paths are assumed to start in the current directory where > > you started vmail, unless you specify an absolute path. > > > Dan > > > On Dec 18, 3:18 am, Grahame Blackwood <[email protected]> > > wrote: > > >> Hi Daniel > > >> I loaded your vmail as soon as I saw it. I'm using PCLinuxOS, 2010 on my > >> desktop and 2009 on my netbook. It was very easy to install as there's > >> not much to configure besides the .vmailrc (and that is mercifully short > >> and optionless). After the install the only thing I had to do was put > >> "~/.gem/ruby/1.8/bin" in the PATH in .bashrc and vmail worked. Much > >> quicker than my initial experience of Mutt (which I like), so > >> congratulations on making vmail easy to start. > > >> One problem I've found is that after having the program open for a while > >> I get an error that starts: > > >> "/usr/lib/ruby/1.8/openssl/buffering.rb:35:in `sysread':Connection reset > >> by peer/(Errno::ECONNRESET)" > > >> I haven't a clue what that means but after that message and some more, > >> my terminal is unusable and I need to kill it and start again. Easy to > >> do, but I don't think it should happen, especially after about 5 > >> minutes. > > >> I've tried to send email with attachments, but no luck so far and I > >> clearly don't understand the attach: syntax example in your user guide. > >> Is it assumed that the file to be attached is in a directory that starts > >> at ~/ or somewhere else? I suspect this is a dummy question and perhaps > >> I've not read your guide properly. > > >> Some colour would be nice! > > >> Cheers and well done. > > >> G > > Hi Daniel > > I've installed v0.9.1 but still experience the message > > "/usr/lib/ruby/1.8/openssl/buffering.rb:35:in `sysread':Connection reset > by peer/(Errno::ECONNRESET)" > > after which the terminal doesn't answer to alpha key presses but the return > key > repeatedly displays my login details [loginn...@pcname ~]$ message for each > press of the return key. > > There are other messages after the one shown above, but they don't seem > useful. The arrow key also works and pressing the up arrow clears most of the > error messages off the screen and shows a message: > > `Vim: Error reading input, exiting... > Vim: finished' > > Once that's happened, there are no responses to keypresses and I have to kill > the terminal. > > The vmail.log file ends at the point where vmail fails, but doesn't seem to > be anything significant happening at that moment. Is there a clue in the > phrase `Connection reset by peer'? > > I also got an error message when using `u' to check for new mail. Firstly > there was a message to say that I had one new message, but only `nil' in the > lefthand column of the email list. Then the next series of messages appeared: > > Error encountered parsing this message: > undefined method `[]' for nil:NilClass > /home/grahame/.gem/ruby/1.8/gems/vmail-0.9.1/lib/vmail/imap_client.rb:385:i n > `show_message' > /usr/lib/ruby/1.8/drb/drb.rb:1563:in `__send__' > /usr/lib/ruby/1.8/drb/drb.rb:1563:in `perform_without_block' > /usr/lib/ruby/1.8/drb/drb.rb:1523:in `perform' > /usr/lib/ruby/1.8/drb/drb.rb:1597:in `main_loop' > /usr/lib/ruby/1.8/drb/drb.rb:1593:in `loop' > /usr/lib/ruby/1.8/drb/drb.rb:1593:in `main_loop' > /usr/lib/ruby/1.8/drb/drb.rb:1589:in `start' > /usr/lib/ruby/1.8/drb/drb.rb:1589:in `main_loop' > /usr/lib/ruby/1.8/drb/drb.rb:1438:in `run' > /usr/lib/ruby/1.8/drb/drb.rb:1435:in `start' > /usr/lib/ruby/1.8/drb/drb.rb:1435:in `run' > /usr/lib/ruby/1.8/drb/drb.rb:1355:in `initialize' > /usr/lib/ruby/1.8/drb/drb.rb:1635:in `new' > /usr/lib/ruby/1.8/drb/drb.rb:1635:in `start_service' > /home/grahame/.gem/ruby/1.8/gems/vmail-0.9.1/lib/vmail/imap_client.rb:791:i n > `daemon' > /home/grahame/.gem/ruby/1.8/gems/vmail-0.9.1/lib/vmail.rb:32:in `start' > /home/grahame/.gem/ruby/1.8/gems/vmail-0.9.1/bin/vmail:10 > /home/grahame/.gem/ruby/1.8/bin/vmail:19:in `load' > /home/grahame/.gem/ruby/1.8/bin/vmail:19 > > I've tried a number of the features of vmail with the following results: > > ,vp - worked and allowed me to give the file whatever name I wanted > > launching vmail with the -g parameter - produced the vmail_contacts.txt, a > very easy way of creating a contacts list > > vmail starred - produced the list of email in the starred mailbox > > vmail from [email protected] - didn't work but displayed four lines of > messages > > ,m - allowed me to switch mailboxes easily and incidentally, introduced me to > Vim's C-x C-u autocomplete capability, which is even more useful when > searching vmail_contacts.txt file. > > I've still not had success with attaching files. Something hasn't dawned on > me yet! > > Similar with launching a browser, whether I've set VMAIL_BROWSER to elinks, > links or firefox, it makes no difference, ,o puts the cursor on the first `t' > of the http and that's seems to be the end of the action, despite the message > that the browser has been opened. > > Hope this lot helps. > > Cheers and keep up with this very interesting development. > > G -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
