Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Alex P <cbm.mailbox@gmail.com>
To: supmua@googlegroups.com
Subject: undefined method `[]'
Date: Fri, 18 Jul 2014 14:34:16 -0700 (PDT)	[thread overview]
Message-ID: <2b0081f1-926a-455c-8ab0-8cdb9f7a7896@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1254 bytes --]

Hi all,

I am changing distro and when I tried to sup-import-dump from my previous 
dump it crashed with 

asdf@bmsmail2.ieee.org unchanged
Changing flags for asdf@gmail.com from 'sent inbox' to 'inbox'
[2014-07-18 23:27:55 +0200] Flushing Xapian updates to disk. This may take 
a while...
/var/lib/gems/1.9.1/gems/sup-0.19.0/lib/sup/index.rb:141:in 
`update_message_state': undefined method `[]' for 
#<Redwood::Message:0x00000001786d78> (NoMethodError)
from /var/lib/gems/1.9.1/gems/sup-0.19.0/bin/sup-import-dump:85:in `block 
in <top (required)>'
from /var/lib/gems/1.9.1/gems/sup-0.19.0/bin/sup-import-dump:55:in `foreach'
from /var/lib/gems/1.9.1/gems/sup-0.19.0/bin/sup-import-dump:55:in `<top 
(required)>'
from /usr/local/bin/sup-import-dump:23:in `load'
from /usr/local/bin/sup-import-dump:23:in `<main>'


As far as I can tell the problem is that there is no such method/operator 
[] for the mail object at index.rb:141 which is passed 
from sup-import-dump:85 
It happens only if I am not dry-running and there is a label to be changed. 
Unfortunately I am not familiar with ruby so I can't really debug it. Any 
hints on
how to solve it?

My previous mails appear in the inbox now and seam to be sync to the 
maildir properly.  

Best,
Alex

[-- Attachment #1.2: Type: text/html, Size: 1860 bytes --]

             reply	other threads:[~2014-07-18 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-18 21:34 Alex P [this message]
2014-07-18 22:00 ` Alex P
2014-07-28 10:32   ` [sup] " Gaute Hope

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b0081f1-926a-455c-8ab0-8cdb9f7a7896@googlegroups.com \
    --to=cbm.mailbox@gmail.com \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox