-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
moto + raven: six issue, cannot import urllib #502
Comments
Why are you importing six from raven instead of import six itself? |
This code simply demonstrates what raven does - which my application code calls before I import moto. |
Ah, got it. If you just run python, can you |
Yes. I can. A funny thing is if I import |
What happens if you import Raven and then run |
I haven't tried that. Will update on Monday from work. Thank you for working through this with me. |
This is what I see:
I should note that, the |
Is this python-moto from debian or did you pip install it? |
Hi @mitsuhiko , thanks for the hint related to requests on the get sentry email. As i emailed there: If you install requests-0.14.2 (which I had installed), this error easily surfaces. I upgrade requests and it doesn't happen any more. If you could share why this was happening, I would love to know. Thanks, closing this issue now. |
I tried to use
moto
in our code base where we also useraven
(for sentry logging):This is not a moto specific issue, however, I thought I would point it here: http://stackoverflow.com/questions/34667533/weird-issue-with-python-six-cannot-import-urllib
If you have any suggestions, please let me know.
The text was updated successfully, but these errors were encountered: