Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'ErrorItemNotFound' object has no attribute 'datetime_received' #4

Open
gauravjuvekar opened this issue Oct 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gauravjuvekar
Copy link
Owner

Traceback (most recent call last):
  File "/home/gjuvekar/email/filters/./filter-inbox.py", line 397, in <module>
    result = main(params, args.SECRET_JSON, args.USERNAME, args.HOST)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/gjuvekar/email/filters/./filter-inbox.py", line 371, in main
    run_filters(token, username, host)
  File "/home/gjuvekar/email/filters/./filter-inbox.py", line 341, in run_filters
    remote_email_filtering.main.start(remote, filters, stop_event=stop_event)
  File "/home/gjuvekar/email/venv/lib/python3.11/site-packages/remote_email_filtering/main.py", line 68, in start
    for message in remote.get_messages(dir_):
  File "/home/gjuvekar/email/venv/lib/python3.11/site-packages/remote_email_filtering/remote.py", line 74, in get_messages
    for msg_id, envelope in zip(
  File "/home/gjuvekar/email/venv/lib/python3.11/site-packages/remote_email_filtering/remote.py", line 257, in fetch_multiple_envelo>
    yield self.fetch_envelope(msg_id)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/gjuvekar/email/venv/lib/python3.11/site-packages/remote_email_filtering/remote.py", line 238, in fetch_envelope
    date=msg.datetime_received,
         ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ErrorItemNotFound' object has no attribute 'datetime_received'
@gauravjuvekar gauravjuvekar added the bug Something isn't working label Oct 31, 2023
@gauravjuvekar gauravjuvekar self-assigned this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant