danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
786 stars 60 forks source link

Vmail does not retrieve new email with ,u or u command #199

Open habpygo opened 8 years ago

habpygo commented 8 years ago

Vmail does retrieve all my new messages when I start it up, but once it's running the commands ,u or u have no effect. At the bottom it says "checking for new messages. please wait,” but nothing happens. To see the new message I have to leave Vmail and fire it up again.

Note:

  1. I don't get any error messages while Vmail is trying to fetch the new email
  2. I do have Mail.app running where I can see that the email was received in the email account
  3. The logfile gives the message —D, [2016-02-10T15:54:08.453374 #2611] DEBUG -- : Highest seqno: 1000— and this seqno does not change during the process

Is this a gmail or Vmail problem. Does anyone have any idea?

notalex commented 8 years ago

Hi, please try the following command: vim --servername vmailtest

Let me know if this fails to open up vim.

habpygo commented 8 years ago

Hi Alex,

I just get the vim opening screen, like this

VIM - Vi IMproved
~
~ version 7.4.258
~ by Bram Moolenaar et al.
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
~ type :help iccf for information
~
~ type :q to exit
~ type :help or for on-line help
~ type :help macvim for MacVim help
~
~
~

On Feb 14, 2016, at 2:48 PM, Alex notifications@github.com wrote:

Hi, please try the following command: vim --servername vmailtest

Let me know if this fails to open up vim. On Feb 13, 2016 3:16 PM, "habpy" notifications@github.com wrote:

Vmail does retrieve all my new messages when I start it up, but once it's running the commands ,u or u have no effect. At the bottom it says "checking for new messages. please wait,” but nothing happens. To see the new message I have to leave Vmail and fire it up again.

Note:

  1. I don't get any error messages while Vmail is trying to fetch the new email
  2. I do have Mail.app running where I can see that the email was received in the email account
  3. The logfile gives the message —D, [2016-02-10T15:54:08.453374 #2611] DEBUG -- : Highest seqno: 1000— and this seqno does not change during the process

Is this a gmail or Vmail problem. Does anyone have any idea?

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199.

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-183891500.

notalex commented 8 years ago

Please provide the preceding lines from the log file. The log line provided is a bit inadequate for further exploration.

habpygo commented 8 years ago

Alex, here is are the logged data. Hope this helps.

Last login: Wed Feb 10 10:56:03 on ttys001 Harrys-MacBook-Pro:~ harryboer$ vmail Starting vmail 2.9.5 Setting VMAIL_BROWSER to 'open' Changing working directory to /Users/harryboer/.vmail/default Using config file: /Users/harryboer/.vmailrc Using contacts file: vmail-contacts.txt Starting vmail imap client for harryaboer@gmail.com mailto:harryaboer@gmail.com INBOX polling disabled. Working directory: /Users/harryboer/.vmail/default Checking vmail.db version... OK Connecting to database Starting Vmail::ImapClient in dir /Users/harryboer/.vmail/default D, [2016-02-10T11:14:37.777809 #1949] DEBUG -- : RUBY0001 OK harryaboer@gmail.com mailto:harryaboer@gmail.com authenticated (Success)

D, [2016-02-10T11:14:37.777942 #1949] DEBUG -- : loading mailboxes... D, [2016-02-10T11:14:37.970214 #1949] DEBUG -- : Loaded mailboxes: ["INBOX", "Archive", "Deleted Messages", "Drafts", "Freelance", "Freelance/Geplaatste projecten", "Notes", "Personal", "Receipts", "Sent Messages", "Sent to Shoeboxed", "Travel", "Work", "[Gmail]/Important"].inspect D, [2016-02-10T11:14:37.970347 #1949] DEBUG -- : Setting aliases to {"important"=>"[Gmail]/Important"} Starting gmail service at druby://harrys-macbook-pro.local:51851 druby://harrys-macbook-pro.local:51851 D, [2016-02-10T11:14:38.282187 #1949] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-10T11:14:38.522144 #1949] DEBUG -- : RUBY0003 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-10T11:14:38.522289 #1949] DEBUG -- : Done D, [2016-02-10T11:14:38.522858 #1949] DEBUG -- : Getting mailbox status D, [2016-02-10T11:14:38.522905 #1949] DEBUG -- : Getting highest message id D, [2016-02-10T11:14:38.727057 #1949] DEBUG -- : Highest seqno: 1000 Mailbox: INBOX Query: ["all"] Query String: all {"DRB_URI"=>"druby://harrys-macbook-pro.local:51851 druby://harrys-macbook-pro.local:51851", "VMAIL_CONTACTS_FILE"=>"vmail-contacts.txt", "VMAIL_MAILBOX"=>"INBOX", "VMAIL_QUERY"=>"\"all\""} mvim --servername VMAIL:harryaboer@gmail.com http://gmail.com/ -S /Users/harryboer/.rvm/gems/ruby-1.9.3-p362/gems/vmail-2.9.5/lib/vmail.vim -c 'set cursorline' vmailbuffer Using buffer file: vmailbuffer D, [2016-02-10T11:14:39.102653 #1949] DEBUG -- : Setting window width to 160 D, [2016-02-10T11:14:39.182249 #1949] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-10T11:14:39.416010 #1949] DEBUG -- : RUBY0005 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-10T11:14:39.416153 #1949] DEBUG -- : Done D, [2016-02-10T11:14:39.416793 #1949] DEBUG -- : Getting mailbox status D, [2016-02-10T11:14:39.416847 #1949] DEBUG -- : Getting highest message id D, [2016-02-10T11:14:39.618042 #1949] DEBUG -- : Highest seqno: 1000 D, [2016-02-10T11:14:39.717174 #1949] DEBUG -- : #search: "\"all\"" D, [2016-02-10T11:14:39.717376 #1949] DEBUG -- : Query: "901:1000 all" D, [2016-02-10T11:14:39.907652 #1949] DEBUG -- : - Query got 100 results; max seqno: 1000 D, [2016-02-10T11:14:39.907748 #1949] DEBUG -- : Clearing cached message D, [2016-02-10T11:14:39.907796 #1949] DEBUG -- : Fetching headers for 100 messages D, [2016-02-10T11:14:57.287843 #1949] DEBUG -- : Show message: "<1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl>" D, [2016-02-10T11:14:57.288164 #1949] DEBUG -- : - found message <1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl> D, [2016-02-10T11:14:57.288210 #1949] DEBUG -- : - message has plaintext? false D, [2016-02-10T11:14:57.288235 #1949] DEBUG -- : - full message cache miss D, [2016-02-10T11:14:57.288602 #1949] DEBUG -- : - fetching message uid 15049 D, [2016-02-10T11:14:58.259586 #1949] DEBUG -- : Showing message message_id: <1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl> D, [2016-02-10T11:15:12.883825 #1949] DEBUG -- : Show message: "<1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl>" D, [2016-02-10T11:15:12.884142 #1949] DEBUG -- : - found message <1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl> D, [2016-02-10T11:15:12.884184 #1949] DEBUG -- : - message has plaintext? true D, [2016-02-10T11:15:12.884208 #1949] DEBUG -- : - full message cache hit D, [2016-02-10T11:15:12.884230 #1949] DEBUG -- : Showing message message_id: <1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl mailto:1828E0EA-765C-4134-8962-459A3F265100@ziggo.nl> D, [2016-02-10T11:15:49.617367 #1949] DEBUG -- : Show message: "<56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail mailto:56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail>" D, [2016-02-10T11:15:49.617881 #1949] DEBUG -- : - found message <56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail mailto:56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail> D, [2016-02-10T11:15:49.617940 #1949] DEBUG -- : - message has plaintext? true D, [2016-02-10T11:15:49.618004 #1949] DEBUG -- : - full message cache hit D, [2016-02-10T11:15:49.618042 #1949] DEBUG -- : Showing message message_id: <56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail mailto:56ba29cc99b95_1311d3fcd3670248c4798b@athens.local.mail> D, [2016-02-10T11:17:34.488269 #1949] DEBUG -- : Priming connection D, [2016-02-10T11:17:34.697201 #1949] DEBUG -- : Checking for new messages D, [2016-02-10T11:17:34.697321 #1949] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-10T11:17:34.919523 #1949] DEBUG -- : RUBY0011 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-10T11:17:34.919655 #1949] DEBUG -- : Done D, [2016-02-10T11:17:34.920226 #1949] DEBUG -- : Getting mailbox status D, [2016-02-10T11:17:34.920273 #1949] DEBUG -- : Getting highest message id D, [2016-02-10T11:17:35.121194 #1949] DEBUG -- : Highest seqno: 1000 D, [2016-02-10T11:17:35.121308 #1949] DEBUG -- : Search #update_query D, [2016-02-10T11:17:35.313454 #1949] DEBUG -- : - got seqnos: [1000] D, [2016-02-10T11:17:35.313558 #1949] DEBUG -- : - getting seqnos > 1000 D, [2016-02-10T11:17:35.313614 #1949] DEBUG -- : - setting max_seqno to 1000 D, [2016-02-10T11:17:35.313646 #1949] DEBUG -- : - new uids found: []

On Feb 14, 2016, at 5:14 PM, Alex notifications@github.com wrote:

Please provide the preceding lines from the log file. The log line provided is a bit inadequate for further exploration.

On Feb 14, 2016 7:28 PM, "habpy" notifications@github.com wrote:

Hi Alex,

I just get the vim opening screen, like this

VIM - Vi IMproved ~ ~ version 7.4.258 ~ by Bram Moolenaar et al. ~ Vim is open source and freely distributable ~ ~ Help poor children in Uganda! ~ type :help iccf for information ~ ~ type :q to exit ~ type :help or for on-line help ~ type :help macvim for MacVim help ~ ~ ~

On Feb 14, 2016, at 2:48 PM, Alex notifications@github.com wrote:

Hi, please try the following command: vim --servername vmailtest

Let me know if this fails to open up vim. On Feb 13, 2016 3:16 PM, "habpy" notifications@github.com wrote:

Vmail does retrieve all my new messages when I start it up, but once it's running the commands ,u or u have no effect. At the bottom it says "checking for new messages. please wait,” but nothing happens. To see the new message I have to leave Vmail and fire it up again.

Note:

  1. I don't get any error messages while Vmail is trying to fetch the new email
  2. I do have Mail.app running where I can see that the email was received in the email account
  3. The logfile gives the message —D, [2016-02-10T15:54:08.453374 #2611] DEBUG -- : Highest seqno: 1000— and this seqno does not change during the process

Is this a gmail or Vmail problem. Does anyone have any idea?

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199.

— Reply to this email directly or view it on GitHub < https://github.com/danchoi/vmail/issues/199#issuecomment-183891500>.

— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-183910182.

notalex commented 8 years ago

@habpy, if your issue is related to #200, then it has been fixed in the new Vmail version. Please update the gem by using gem update vmail. Let me know if it fixes the problem.

danchoi commented 8 years ago

@notalex #200 is a separate issue from this one. I've discussed both issues a little with @habpy before asking him to post this issue up here. The issue here is that the max sequence number check on his INBOX is constantly 1000.

@habpy, can you check if the sent messages mailbox now updates with new messages? When we tried it before, opening that mailbox crashed for you. It shouldn't crash anymore after the patch, or if you keep the Vmail window wide enough.

habpygo commented 8 years ago

@danchoi, #200 has been partly solved. No crashes anymore, however, the Sent Messages mail box does not show sent messages from Feb 15 onward. I’ve tested Vmail today, but I do not see any sent messages.

Regarding #199, if I switch with ,m from Inbox to Sent Messages and back again, new email messages are retrieved, so that works.

So in summary:

  1. Vmail does retrieve new messages when it is launched
  2. Once Vmail is launched the command ,u does not work.
  3. Switching from Inbox to Sent messages and back again does retrieve new email messages
  4. Sent Messages mailbox does not show sent messages.

See below:

D, [2016-02-17T10:37:37.251169 #1410] DEBUG -- : Message '-6' sent D, [2016-02-17T10:39:52.817539 #1410] DEBUG -- : loading mailboxes... D, [2016-02-17T10:39:52.817663 #1410] DEBUG -- : Loaded mailboxes: ["INBOX", "Archive", "Deleted Messages", "Drafts", "Freelance", "Freelance/Geplaatste projecten", "Notes", "Personal", "Receipts", "Sent Messages", "Sent to Shoeboxed", "Travel", "Work", "important"].inspect D, [2016-02-17T10:39:56.491087 #1410] DEBUG -- : Selecting mailbox "Sent Messages" D, [2016-02-17T10:39:56.715959 #1410] DEBUG -- : RUBY0135 OK [READ-WRITE] Sent Messages selected. (Success)

D, [2016-02-17T10:39:56.716076 #1410] DEBUG -- : Done D, [2016-02-17T10:39:56.716493 #1410] DEBUG -- : Getting mailbox status D, [2016-02-17T10:39:56.716527 #1410] DEBUG -- : Getting highest message id D, [2016-02-17T10:39:56.913788 #1410] DEBUG -- : Highest seqno: 873 D, [2016-02-17T10:39:56.993074 #1410] DEBUG -- : Setting window width to 171 D, [2016-02-17T10:39:57.064013 #1410] DEBUG -- : #search: "all" D, [2016-02-17T10:39:57.064111 #1410] DEBUG -- : Query: "774:873 all" D, [2016-02-17T10:39:57.252410 #1410] DEBUG -- : - Query got 100 results; max seqno: 873 D, [2016-02-17T10:39:57.252478 #1410] DEBUG -- : Clearing cached message D, [2016-02-17T10:39:57.252505 #1410] DEBUG -- : Fetching headers for 100 messages D, [2016-02-17T10:40:14.559013 #1410] DEBUG -- : loading mailboxes... D, [2016-02-17T10:40:14.559123 #1410] DEBUG -- : Loaded mailboxes: ["INBOX", "Archive", "Deleted Messages", "Drafts", "Freelance", "Freelance/Geplaatste projecten", "Notes", "Personal", "Receipts", "Sent Messages", "Sent to Shoeboxed", "Travel", "Work", "important"].inspect D, [2016-02-17T10:40:15.972918 #1410] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-17T10:40:16.318563 #1410] DEBUG -- : RUBY0139 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-17T10:40:16.318661 #1410] DEBUG -- : Done D, [2016-02-17T10:40:16.319079 #1410] DEBUG -- : Getting mailbox status D, [2016-02-17T10:40:16.319113 #1410] DEBUG -- : Getting highest message id D, [2016-02-17T10:40:16.516427 #1410] DEBUG -- : Highest seqno: 1000 D, [2016-02-17T10:40:16.590714 #1410] DEBUG -- : Setting window width to 171 D, [2016-02-17T10:40:16.661156 #1410] DEBUG -- : #search: "all" D, [2016-02-17T10:40:16.661261 #1410] DEBUG -- : Query: "901:1000 all" D, [2016-02-17T10:40:16.850435 #1410] DEBUG -- : - Query got 100 results; max seqno: 1000 D, [2016-02-17T10:40:16.850502 #1410] DEBUG -- : Clearing cached message D, [2016-02-17T10:40:16.850530 #1410] DEBUG -- : Fetching headers for 100 messages D, [2016-02-17T10:43:26.837389 #1410] DEBUG -- : Priming connection D, [2016-02-17T10:43:27.034708 #1410] DEBUG -- : Checking for new messages D, [2016-02-17T10:43:27.034783 #1410] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-17T10:43:27.257468 #1410] DEBUG -- : RUBY0144 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-17T10:43:27.257579 #1410] DEBUG -- : Done D, [2016-02-17T10:43:27.257967 #1410] DEBUG -- : Getting mailbox status D, [2016-02-17T10:43:27.258000 #1410] DEBUG -- : Getting highest message id D, [2016-02-17T10:43:27.456201 #1410] DEBUG -- : Highest seqno: 1000 D, [2016-02-17T10:43:27.456330 #1410] DEBUG -- : Search #update_query D, [2016-02-17T10:43:27.649678 #1410] DEBUG -- : - got seqnos: [1000] D, [2016-02-17T10:43:27.649741 #1410] DEBUG -- : - getting seqnos > 1000 D, [2016-02-17T10:43:27.649775 #1410] DEBUG -- : - setting max_seqno to 1000 D, [2016-02-17T10:43:27.649795 #1410] DEBUG -- : - new uids found: [] D, [2016-02-17T10:43:51.738656 #1410] DEBUG -- : loading mailboxes... D, [2016-02-17T10:43:51.738730 #1410] DEBUG -- : Loaded mailboxes: ["INBOX", "Archive", "Deleted Messages", "Drafts", "Freelance", "Freelance/Geplaatste projecten", "Notes", "Personal", "Receipts", "Sent Messages", "Sent to Shoeboxed", "Travel", "Work", "important"].inspect D, [2016-02-17T10:43:55.135233 #1410] DEBUG -- : Selecting mailbox "Sent Messages" D, [2016-02-17T10:43:55.343088 #1410] DEBUG -- : RUBY0147 OK [READ-WRITE] Sent Messages selected. (Success)

D, [2016-02-17T10:43:55.343214 #1410] DEBUG -- : Done D, [2016-02-17T10:43:55.343700 #1410] DEBUG -- : Getting mailbox status D, [2016-02-17T10:43:55.343733 #1410] DEBUG -- : Getting highest message id D, [2016-02-17T10:43:55.540631 #1410] DEBUG -- : Highest seqno: 873 D, [2016-02-17T10:43:55.613580 #1410] DEBUG -- : Setting window width to 171 D, [2016-02-17T10:43:55.686170 #1410] DEBUG -- : #search: "all" D, [2016-02-17T10:43:55.686272 #1410] DEBUG -- : Query: "774:873 all" D, [2016-02-17T10:43:55.875613 #1410] DEBUG -- : - Query got 100 results; max seqno: 873 D, [2016-02-17T10:43:55.875682 #1410] DEBUG -- : Clearing cached message D, [2016-02-17T10:43:55.875710 #1410] DEBUG -- : Fetching headers for 100 messages D, [2016-02-17T10:44:01.682646 #1410] DEBUG -- : loading mailboxes... D, [2016-02-17T10:44:01.682725 #1410] DEBUG -- : Loaded mailboxes: ["INBOX", "Archive", "Deleted Messages", "Drafts", "Freelance", "Freelance/Geplaatste projecten", "Notes", "Personal", "Receipts", "Sent Messages", "Sent to Shoeboxed", "Travel", "Work", "important"].inspect D, [2016-02-17T10:44:03.370053 #1410] DEBUG -- : Selecting mailbox "INBOX" D, [2016-02-17T10:44:03.589944 #1410] DEBUG -- : RUBY0151 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-02-17T10:44:03.590073 #1410] DEBUG -- : Done D, [2016-02-17T10:44:03.590564 #1410] DEBUG -- : Getting mailbox status D, [2016-02-17T10:44:03.590599 #1410] DEBUG -- : Getting highest message id D, [2016-02-17T10:44:03.800193 #1410] DEBUG -- : Highest seqno: 1000 D, [2016-02-17T10:44:03.877039 #1410] DEBUG -- : Setting window width to 171 D, [2016-02-17T10:44:03.958436 #1410] DEBUG -- : #search: "all" D, [2016-02-17T10:44:03.958523 #1410] DEBUG -- : Query: "901:1000 all" D, [2016-02-17T10:44:04.146365 #1410] DEBUG -- : - Query got 100 results; max seqno: 1000 D, [2016-02-17T10:44:04.146440 #1410] DEBUG -- : Clearing cached message D, [2016-02-17T10:44:04.146466 #1410] DEBUG -- : Fetching headers for 100 messages

On Feb 17, 2016, at 2:03 AM, Daniel Choi notifications@github.com wrote:

@notalex https://github.com/notalex #200 https://github.com/danchoi/vmail/issues/200 is a separate issue from this one. I've discussed both issues a little with @habpy https://github.com/habpy before asking him to post this issue up here. The issue here is that the max sequence number check on his INBOX is constantly 1000.

@hapby can you check if the sent messages mailbox now updates with new messages? When we tried it before, opening that mailbox crashed for you. It shouldn't crash anymore after the patch, or if you keep the Vmail window wide enough.

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-184955762.

habpygo commented 8 years ago

@danchoi,@notalex following up on #200, when sending messages from Mail.app these message do show up in the Vmail Sent Messages mailbox. Messages sent from Vmail do not show up in the Sent Message mail box.

habpygo commented 8 years ago

@danchoi, @notalex Following up on #200, when sending email from Mail.app the sent message does show up in Vmail's Sent Messages mail box; however, messages sent from Vmail do NOT show up in the Sent Messages mail box.

habpygo commented 8 years ago

Sorry, clicked the wrong button. #199 and #200 are still open

danchoi commented 8 years ago

@habpy Do the new sent messages not show up, even when Vmail restarts?

habpygo commented 8 years ago

@dachoi No, even when Vmail is fired up the messages sent earlier from Vmail do not show up.

On Wed, Feb 17, 2016 at 02:32 PM, Daniel Choi notifications@github.com wrote:

from: Daniel Choi notifications@github.com date: Wed, Feb 17 05:32 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy Do the new sent messages not show up, even when Vmail restarts?


Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-185204935

Harry Sent from Vmail.

danchoi commented 8 years ago

@habpy I'd like to make clear the situation. Please let me know if this summary is correct:

  1. The INBOX does not update to show new messages after startup after pressing ,u
  2. On startup, the INBOX does show the most recently received messages.
  3. Vmail does not show any recently sent messages messages in "Sent Messages", both on startup and after hitting the update key sequence ,u
danchoi commented 8 years ago

@habpy Are you comfortable with using the Unix command line and running tools like the git command? If so I can walk you through some steps to help investigate the issue further.

habpygo commented 8 years ago

@danchoi, 1 and 2 are correct.

3 is partly correct. Sending messages from the gmail account from Mail.app do show up after Vmail is launched. Mails sent from Vmail do not show up at all, also not after starting up Vmail.

See screenshots. The email sent from Vmail does not show in the sent messages mail box of Vmail

On Feb 17, 2016, at 5:24 PM, Daniel Choi notifications@github.com wrote:

@habpy https://github.com/habpy I'd like to make clear the situation. Please let me know if this summary is correct:

The INBOX does not update to show new messages after startup after pressing ,u On startup, the INBOX does show the most recently received messages. Vmail does not show any recently sent messages messages in "Sent Messages", both on startup and after hitting the update key sequence ,u — Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-185281864.

habpygo commented 8 years ago

Yes @danchoi, I think that would work.

On Wed, Feb 17, 2016 at 05:27 PM, Daniel Choi notifications@github.com wrote:

from: Daniel Choi notifications@github.com date: Wed, Feb 17 08:27 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy Are you comfortable with using the Unix command line and running tools like the git command? If so I can walk you through some steps to help investigate the issue further.


Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-185283463

Harry Sent from Vmail.

danchoi commented 8 years ago
# from a workspace directory; the directory vmail/ will be created
git clone https://github.com/danchoi/vmail.git 
cd vmail 
git checkout haby
ruby -Ilib bin/vmail 
# Perform the update test, Watch the log. There will be extra debugging right 
# after "Highest seqno", tagged "DEBUG EXTRA all ids:"
habpygo commented 8 years ago

That’s correct, there is more output and Vmail starts.

By the way, I assumed git checkout habpy (forgotten p) and -Ilib bin/vmail (forgotten m?) right?

Give me the instructions on all commands to run and we’ll see how far we get.

For now, this is the output (see below) after the ruby -Ilib bin/vmail

D, [2016-02-17T18:17:37.620222 #3672] DEBUG -- : Highest seqno: 1000 D, [2016-02-17T18:17:37.620604 #3672] DEBUG -- : DEBUG EXTRA all ids: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000] D, [2016-02-17T18:17:37.715438 #3672] DEBUG -- : #search: "\"all\"" D, [2016-02-17T18:17:37.715667 #3672] DEBUG -- : Query: "901:1000 all" D, [2016-02-17T18:17:38.111902 #3672] DEBUG -- : - Query got 100 results; max seqno: 1000 D, [2016-02-17T18:17:38.112004 #3672] DEBUG -- : Clearing cached message D, [2016-02-17T18:17:38.112034 #3672] DEBUG -- : Fetching headers for 100 messages

On Feb 17, 2016, at 6:10 PM, Daniel Choi notifications@github.com wrote:

from a workspace directory; the directory vmail/ will be created

git clone https://github.com/danchoi/vmail.git cd vmail git checkout haby ruby -Ilib bin/vail

Perform the update test, Watch the log. There will be extra debugging right

after the Highest seqno test

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-185304233.

danchoi commented 8 years ago

@habpy I added a new patch. Can you git pull from the vmail directory and repeat?

danchoi commented 8 years ago

@habpy To be clear about the steps to test further: From the vmail directory you created a git clone at,

git pull
# restart vmail
ruby -I lib bin/vmail
# Run inbox update test in Vmail
habpygo commented 8 years ago

Sorry #danchoi, please explain how I get to the vmail directory that was created earlier?

On Feb 17, 2016, at 11:10 PM, Daniel Choi notifications@github.com wrote:

@habpy https://github.com/habpy To be clear the steps to test further: From the vmail directory you created a git clone at,

git pull

restart vmail

ruby -I lib bin/vmail

Run inbox update test in Vmail

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-185430126.

habpygo commented 8 years ago

…in other words, from the Terminal window how do I enter the https://github.com/danchoi/vmail.git https://github.com/danchoi/vmail.git directory?

On Feb 17, 2016, at 11:10 PM, Daniel Choi notifications@github.com wrote:

@habpy https://github.com/habpy To be clear the steps to test further: From the vmail directory you created a git clone at,

git pull

restart vmail

ruby -I lib bin/vmail

Run inbox update test in Vmail

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/199#issuecomment-185430126.

notalex commented 8 years ago

@habpy, It is the same vmail directory from where you ran ruby -Ilib bin/vmail before.

The directory would most probably be in your home folder.

cd ~/vmail
git pull
ruby -I lib bin/vmail

If you cannot find the directory, you may perform the same steps as you did the first time.

git clone https://github.com/danchoi/vmail.git
cd vmail
git checkout habpy
ruby -Ilib bin/vmail
habpygo commented 8 years ago

Ah...didn't know it was that simple.

It's getting a bit strange. After I started Vmail the ,u command worked two times. After that it stopped working. It's an enigma to me.

On Thu, Feb 18, 2016 at 10:39 AM, Alex notifications@github.com wrote:

from: Alex notifications@github.com date: Thu, Feb 18 01:39 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy, It is the same vmail directory from where you ran ruby -Ilib bin/vmail before.

The directory would most probably be in your home folder.

cd ~/vmail
git pull
ruby -I lib bin/vmail

If you cannot find the directory, you may perform the same steps as you did the first time.

git clone https://github.com/danchoi/vmail.git
cd vmail
git checkout habpy
ruby -Ilib bin/vmail

Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-185628747

Harry Sent from Vmail.

habpygo commented 8 years ago

@danchoi, @Alex, are you waiting for me or am I waiting for you. As as I said in the last post, it still isn't working.

On Thu, Feb 18, 2016 at 10:39 AM, Alex notifications@github.com wrote:

from: Alex notifications@github.com date: Thu, Feb 18 01:39 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy, It is the same vmail directory from where you ran ruby -Ilib bin/vmail before.

The directory would most probably be in your home folder.

cd ~/vmail
git pull
ruby -I lib bin/vmail

If you cannot find the directory, you may perform the same steps as you did the first time.

git clone https://github.com/danchoi/vmail.git
cd vmail
git checkout habpy
ruby -Ilib bin/vmail

Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-185628747

Harry Sent from Vmail.

notalex commented 8 years ago

@habpy, I will look into it this week.

habpygo commented 8 years ago

OK, no rush. I was worried that I didn't understand the procedure.

On Mon, Feb 22, 2016 at 12:02 PM, Alex notifications@github.com wrote:

from: Alex notifications@github.com date: Mon, Feb 22 03:02 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy, I will look into it this week.


Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-187124993

Harry Sent from Vmail.

notalex commented 8 years ago

@habpy, Vmail has an auto polling option. You will need to set polling: true in your .vmailrc. Please give it a try. The inbox should populate automatically.

If you need help with setting up .vmailrc let me know.

habpygo commented 8 years ago

I tried that option in the past as well, but it doesn't work. Neither ,u or u works, or automatic polling in general. No new mail is retrieved at all. As I said before, new messages are retrieved during start.

On Mon, Feb 22, 2016 at 04:40 PM, Alex notifications@github.com wrote:

from: Alex notifications@github.com date: Mon, Feb 22 07:40 AM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy, Vmail has an auto polling option. You will need to set polling: true in your .vmailrc. Please give it a try. The inbox should populate automatically.

If you need help with setting up .vmailrc let me know.


Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-187236103

Harry Sent from Vmail.

notalex commented 8 years ago

Please clear your vmail log. Keep polling: true set. Send yourself an email. Startup vmail with ruby -Ilib bin/vmail like explained before. Send yourself an email. Let vmail run for atleast 2 minutes. Send me the log file contents.

danchoi commented 8 years ago

@habpy @notalex Could @habpy post the logs from now on as GitHub Gists and link to it from there? That would be more convenient. Use the "Gist" link at the very top of this and every GitHub page.

notalex commented 8 years ago

:+1: Let's keep the issue clean.

habpygo commented 8 years ago

@danchoi, @notalex, This time it worked. Both pressing ,u or u from the message list retrieved the emails I sent to myself after starting Vmail with the ruby -Ilib bin/vmail

I removed the vmail.log from the .vmail dir. I see no new file is created. From the vmail dir that was created with the git command, I can't find any vmail.log file. What I did was that I copied the output from the terminal into the file that I send using the "Gist" link (that is I will try; not sure how this works).

notalex commented 8 years ago

@habpy, if ruby -Ilib bin/vmail is working for you, try the regular way to start Vmail and check again. Let us know if the problem is fixed. We don't need the logs if the problem is fixed.

habpygo commented 8 years ago

@notalex, I've tested a couple of times and this is what I found. I tested both ways.

It looks as if the problem arrises when I pres ",u" instead of just "u" in the message list. Pressing "u" in the message list does retrieve new messages as it should be. However, when pressing ",u" it doesn't and -- this is the strange part -- even when I press "u" after that, messages this time are not retrieved! It looks as if the ",u" command blocks proper functioning of the "u" command.

If I want to let it function again properly, I have to leave Vmail and restart again.

On Thu, Feb 25, 2016 at 06:27 AM, Alex notifications@github.com wrote:

from: Alex notifications@github.com date: Wed, Feb 24 09:27 PM -08:00 2016 to: danchoi/vmail vmail@noreply.github.com cc: habpy harryaboer@gmail.com reply-to: danchoi/vmail reply@reply.github.com subject: Re: [vmail] Vmail does not retrieve new email with ,u or u command (#199)

@habpy, if ruby -Ilib bin/vmail is working for you, try the regular way to start Vmail and check again. Let us know if the problem is fixed. We don't need the logs if the problem is fixed.


Reply to this email directly or view it on GitHub: https://github.com/danchoi/vmail/issues/199#issuecomment-188621235

Harry Sent from Vmail.