Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/109
  
    AFAICT the main problem is that the archiver#compute_updates() method 
checks if the body is True ("if body or attachments:") however an empty body is 
not True. This affects the importer.
    
    In the case of the archiver, an empty message causes an Exception:
    
    >>>>>>
    cat x | /usr/local/bin/python3.4 ponymail/tools/archiver.py --verbose
    Traceback (most recent call last):
      File "ponymail/tools/archiver.py", line 613, in <module>
        lid, mid = foo.archive_message(msg_metadata, msg)
      File "tools/archiver.py", line 389, in archive_message
        id=ojson['mid'],
    TypeError: 'NoneType' object is not subscriptable
    Archiving failed!: 'NoneType' object is not subscriptable
    Could not parse email: Archiving to ES failed
    <<<<<<



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to