Erik Cederstrand

Results 206 comments of Erik Cederstrand

Preinstalling `lunarcalendar`, `tqdm` and `pystan` is necessary because `prophet

Are you saying that this only happens with OAuth and not Basic authentication? For OAuth we use the `requests_oauthlib.OAuth2Session` session class instead of the standard `requests.Session` class. Can you install...

You can use the built-in `tracemalloc` package ([short tutorial here](https://www.fugue.co/blog/diagnosing-and-fixing-memory-leaks-in-python.html)) or try a more [visual approach](https://zendesk.engineering/hunting-for-memory-leaks-in-python-applications-6824d0518774).

In the `display_top_lineno.log` file, there's mention of django, mssql and a lot of other packages that exchangelib does not depend on. It seems like you're running much more code than...

Ok, so you're changing both the authentication mechanism *and* the exchangelib version. Please try the same, but with the same exchangelib version both places. It's not unexpected that memory will...

This could be due to a memory leak in the `requests` or `requests_oauthlib` packages. Can you try adding the following to the top of your script? ```python from exchangelib.protocol import...

Possible fix posted in https://github.com/ecederstrand/exchangelib/issues/1090#issuecomment-1207214738

I agree this is not ideal. The assumption has been that `ErrorAccessDenied` is a general error that would happen for all items returned, but apparently that's not the case. You...

Ah, I think I know what's going on here. We first call `FindItem` to list all items in a folder. This is fine since private items are allowed to be...