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
TypeError: '_NamespacePath' object is not subscriptable #691
Comments
Hi @Amwam, thanks for the report! Would you be able to provide a way for me to reproduce this? That'd be very helpful in tracking this down. |
Hey @tim-schilling I'm not sure I can fully reproduce this in a demo, I can't seem to replicate outside of our main codebase. (Python 3.7.5)
the import for |
Excellent, that is very helpful! |
@tim-schilling Thanks for that, looks like this change works for us, not getting any issues running it now |
Looks like it was related to this change: https://github.com/scoutapp/scout_apm_python/pull/668/files
I'm not entirely sure what causes this.
We're also using a custom integration, incase thats a factor.
The particular module it is trying to load (when we get the exception) is
repoze.who.middleware
We've not made changes to our integration, and has been breaking since, 2.21, but is also happening on 2.23.2
Below is a stack trace, starting from when we run
.install()
Please let me know if theres anything else I can provide, I'm not sure how to debug this further
The text was updated successfully, but these errors were encountered: