Subject: [sup-devel] Problems Syncing

From: Eric Polino <[email-masked]>
Date: Tue, 19 Jan 2010 15:04:02 -0500

I'm trying to sync my local repository to my AllMail folder in GMail.  All works fine until it reaches a given point.  I'm guessing there's some message somewhere that's causing a problem, but I have no idea what to do about it, nor how to find this message.  Here's what happens when I run sup-sync.  I'm not sure what other information you'll need to help you find this problem, so let me know what you need and I'll do my best to get it to you.

I did find a place that was saying that getting the lastest version of sup from the git repository could fix this problem...it didn't.

TIA!

$ sup -v
sup v0.9.1

$ cat ~/.sup/sources.yaml
---
- !masanjin.net,2006-10-01/Redwood/IMAP
  uri: imaps://imap.gmail.com/INBOX
  username: me
  password: secret
  cur_offset: 12635776080006406
  usual: true
  archived: false
  id: 1
  labels:
  - inbox
- !masanjin.net,2006-10-01/Redwood/IMAP
  uri: imaps://imap.gmail.com/%5BGmail%5D%2FAll+Mail
  username: me
  password: secret
  cur_offset: 11622394250003302
  usual: true
  archived: false
  id: 2
  labels: []

- !masanjin.net,2006-10-01/Redwood/DraftLoader
  cur_offset: 0
- !masanjin.net,2006-10-01/Redwood/SentLoader
  cur_offset: 10325

$ cat ~/.sup/config.yaml
---
:thread_by_subject: false
:confirm_no_attachments: true
:edit_signature: false
:editor: /usr/bin/vim -f -c 'setlocal spell spelllang=en_us' -c 'set filetype=mail'
:confirm_top_posting: true
:accounts:
  :default:
    :signature: /home/aluink/.signature
    :email: [email-masked]
    :name: Eric Polino
    :alternates: []

    :sendmail: msmtp --account=gmail -t
:ask_for_to: true
:sent_source: sup://sent
:discard_snippets_from_encrypted_messages: false
:ask_for_cc: true
:default_attachment_save_dir: ""
:ask_for_bcc: false
:ask_for_subject: true

## read 6085m (about 28%) @ 2.3m/s. 0:43:49 elapsed, about 1:52:15 remaining
## read 6112m (about 28%) @ 2.3m/s. 0:44:04 elapsed, about 1:52:32 remaining
## read 6150m (about 28%) @ 2.3m/s. 0:44:20 elapsed, about 1:52:38 remaining
## read 6188m (about 28%) @ 2.3m/s. 0:44:35 elapsed, about 1:52:45 remaining
## read 6202m (about 28%) @ 2.3m/s. 0:44:53 elapsed, about 1:53:19 remaining
## read 6244m (about 28%) @ 2.3m/s. 0:45:09 elapsed, about 1:53:23 remaining
## read 6284m (about 29%) @ 2.3m/s. 0:45:24 elapsed, about 1:53:28 remaining
## read 6323m (about 29%) @ 2.3m/s. 0:45:39 elapsed, about 1:53:33 remaining
## read 6362m (about 29%) @ 2.3m/s. 0:45:54 elapsed, about 1:53:38 remaining
[Tue Jan 19 14:03:31 -0500 2010] WARNING: problem getting messages from imaps://imap.gmail.com/%5BGmail%5D%2FAll+Mail: While communicating with IMAP server (type Net::IMAP::NoResponseError): "Some messages could not be FETCHed (Failure)"
/home/aluink/.gem/ruby/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]': :(null) isn't a valid argument for IndexReader.get_document(index) (ArgumentError)
        from /home/aluink/.gem/ruby/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]'
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /home/aluink/.gem/ruby/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:413:in `[]'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/ferret_index.rb:257:in `build_message'
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/ferret_index.rb:256:in `build_message'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/bin/sup-sync:149
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:154:in `each_message_from'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/imap.rb:197:in `each'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/imap.rb:185:in `upto'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/imap.rb:185:in `each'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:560:in `send'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:560:in `__pass'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:547:in `method_missing'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:142:in `each_message_from'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/bin/sup-sync:146
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/bin/sup-sync:141:in `each'
        from /home/aluink/.gem/ruby/1.8/gems/sup-0.9.1/bin/sup-sync:141
        from /home/aluink/.gem/ruby/1.8/bin/sup-sync:19:in `load'
        from /home/aluink/.gem/ruby/1.8/bin/sup-sync:19

_______________________________________________
Sup-devel mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-devel