exchangelib: 'ErrorItemNotFound' object has no attribute 'folder_id'
I’ve just pulled the latest source because I wanted to integrate some of the new exchangelib features.
However, the error “‘ErrorItemNotFound’ object has no attribute ‘folder_id’” is shown after retrieving some basic calender items?
I’ve tried the following:
try: for item in account.calendar.view(start=start_dt, end=end_dt, max_items=5): logging.info(item) except AttributeError: pass
Is there another way of ignoring invalid items like mentioned in the changelog?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (9 by maintainers)
Commits related to this issue
- ErrorItemNotFound can also be returned when fetching distinguished folders. Refs #374 — committed to ecederstrand/exchangelib by deleted user 6 years ago
- Exception classes got mixed up. Refs #374 — committed to ecederstrand/exchangelib by deleted user 6 years ago
- Raise any unhandled exceptions. Refs #374 — committed to ecederstrand/exchangelib by deleted user 6 years ago
- Assume all ErrorItemNotFound errors are OK. Refs #374 — committed to ecederstrand/exchangelib by deleted user 6 years ago
Yep, it worked!