Hi,

Ever since I upgraded my IMAP server to Dovecot 1.2 (I think), feed2imap has 
not been able to run successfully due to a parse error in the IMAP 
communication.

Here's the stack trace:

I, [2009-07-20T10:26:08.873464 #11909]  INFO -- : Feed2Imap V.0.9.2 started     
                                                                      
I, [2009-07-20T10:26:08.873686 #11909]  INFO -- : Reading configuration file 
...                                                                      
I, [2009-07-20T10:26:08.879026 #11909]  INFO -- : Initializing cache ...        
                                                                      
I, [2009-07-20T10:26:08.900049 #11909]  INFO -- : Connecting to IMAP accounts 
...                                                                     
I, [2009-07-20T10:26:08.936741 #11909]  INFO -- : Fetching and filtering feeds 
...                                                                             
                                                                                
     
I, [2009-07-20T10:26:10.586952 #11909]  INFO -- : Parsing and uploading ...     
                                                                                
                                                                                
    
I, [2009-07-20T10:26:10.991264 #11909]  INFO -- : Slashdot: 15 new items, 0 
updated items.                                                                  
                                                                                
        
I, [2009-07-20T10:26:15.033248 #11909]  INFO -- : Planet KDE: 20 new items, 2 
updated items.                                                                  
                                                                                
      
F, [2009-07-20T10:26:15.485337 #11909] FATAL -- : Exception caught while 
uploading mail to Bulk.RSS.Planet KDE: unexpected token RBRA (expected SPACE)
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:3015:in `parse_error'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:2867:in `match'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:2658:in `resp_text_code'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:2634:in `resp_text'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:1905:in `response_cond'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:1865:in `response_untagged'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:1841:in `response'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:1767:in `parse'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:1025:in `get_response'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:954:in `receive_responses'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:947:in `initialize'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:946:in `start'
/usr/local/lib/site_ruby/1.8/feed2imap/rubyimap.rb:946:in `initialize'
/usr/local/lib/site_ruby/1.8/feed2imap/imap.rb:73:in `new'
/usr/local/lib/site_ruby/1.8/feed2imap/imap.rb:73:in `connect'
/usr/local/lib/site_ruby/1.8/feed2imap/feed2imap.rb:94:in `initialize'
/usr/local/lib/site_ruby/1.8/feed2imap/feed2imap.rb:92:in `each_value'
/usr/local/lib/site_ruby/1.8/feed2imap/feed2imap.rb:92:in `initialize'
/home/pavel/bin/feed2imap:48:in `new'
/home/pavel/bin/feed2imap:48
F, [2009-07-20T10:26:15.485465 #11909] FATAL -- : We can't recover from IMAP 
errors, so we are exiting.

The IMAP response that triggers this is apparently

* OK [CLOSED]

(at least that's the string passed to 'parse' just before the stack trace 
occurs...).

Unfortunately I don't know IMAP well enough to judge if that's a reasonable 
response, nor do I know Ruby to the point of being able to fix the parser. Has 
anyone else seen this issue? Is there something more I could do to diagnose?

Thanks,
- Pavel

_______________________________________________
Feed2imap-devel mailing list
[email protected]
https://mail.gna.org/listinfo/feed2imap-devel

Reply via email to