danchoi / vmail

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

Searching does not work. #205

Open TheGrandmother opened 8 years ago

TheGrandmother commented 8 years ago

If I type ,s and then something, like kevin and then hit enter. Vmail crashes and displays: Sorry there was an error. Please check vmail.log.

This is the contents of my vmail.log file:

D, [2016-06-01T11:52:18.806418 #22419] DEBUG -- : Done
D, [2016-06-01T11:52:18.807996 #22419] DEBUG -- : Getting mailbox status
D, [2016-06-01T11:52:18.808379 #22419] DEBUG -- : Getting highest message id
D, [2016-06-01T11:52:19.561100 #22419] DEBUG -- : Highest seqno: 12950
D, [2016-06-01T11:52:20.866808 #22419] DEBUG -- : Setting window width to 194
D, [2016-06-01T11:52:21.004551 #22419] DEBUG -- : Selecting mailbox "INBOX"
D, [2016-06-01T11:52:21.288427 #22419] DEBUG -- : RUBY0005 OK [READ-WRITE] INBOX selected. (Success)

D, [2016-06-01T11:52:21.289051 #22419] DEBUG -- : Done
D, [2016-06-01T11:52:21.291645 #22419] DEBUG -- : Getting mailbox status
D, [2016-06-01T11:52:21.292218 #22419] DEBUG -- : Getting highest message id
D, [2016-06-01T11:52:21.854411 #22419] DEBUG -- : Highest seqno: 12950
D, [2016-06-01T11:52:22.122834 #22419] DEBUG -- : #search: "\"all\""
D, [2016-06-01T11:52:22.123725 #22419] DEBUG -- : Query: "12851:12950 all"
D, [2016-06-01T11:52:22.282358 #22419] DEBUG -- : - Query got 100 results; max seqno: 12950
D, [2016-06-01T11:52:22.282866 #22419] DEBUG -- : Clearing cached message
D, [2016-06-01T11:52:22.282986 #22419] DEBUG -- : Fetching headers for 100 messages
D, [2016-06-01T11:52:29.012247 #22419] DEBUG -- : #search: "\"all\"kevin"
D, [2016-06-01T11:52:29.167578 #22419] DEBUG -- : Error: Could not parse command
D, [2016-06-01T11:52:29.167840 #22419] DEBUG -- : ERROR:
#<Net::IMAP::BadResponseError: Could not parse command>
/usr/lib/ruby/1.9.1/net/imap.rb:1143:in `get_tagged_response'
/usr/lib/ruby/1.9.1/net/imap.rb:1195:in `block in send_command'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/1.9.1/net/imap.rb:1177:in `send_command'
/usr/lib/ruby/1.9.1/net/imap.rb:1330:in `block in search_internal'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/1.9.1/net/imap.rb:1326:in `search_internal'
/usr/lib/ruby/1.9.1/net/imap.rb:752:in `search'
/var/lib/gems/1.9.1/gems/vmail-2.9.6/lib/vmail/searching.rb:14:in `block in search'
/var/lib/gems/1.9.1/gems/vmail-2.9.6/lib/vmail/imap_client.rb:508:in `call'
/var/lib/gems/1.9.1/gems/vmail-2.9.6/lib/vmail/imap_client.rb:508:in `block in reconnect_if_necessary'
/usr/lib/ruby/1.9.1/timeout.rb:69:in `timeout'
/var/lib/gems/1.9.1/gems/vmail-2.9.6/lib/vmail/imap_client.rb:507:in `reconnect_if_necessary'
/var/lib/gems/1.9.1/gems/vmail-2.9.6/lib/vmail/searching.rb:13:in `search'
/usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
/usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
/usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
/usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
/usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'