-
Notifications
You must be signed in to change notification settings - Fork 35
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
Version 1.4 seems to break when django.templates.backends has not been initialized #32
Comments
I can only reproduce it in one case where we're not using a management command, so this doesn't look like a complete show-stopper. Still looking at it |
I observe such behavior even if running with |
I just wanted to add that we've just recently started to experience this issue...
We're currently running:
Any idea how we can resolve this issue and move forward? Thanks |
Ned just released Please check it out and let us know if it works for you. |
@PamelaM Thank you for getting back to me, I appreciate your response. Since upgrading to
Unfortunately it seems as if our best option at this point is to downgrade to |
I'll keep plugging away this weekend. I can see where you're getting the error, now I just need to figure out what my integration test environment is doing differently than your environment (since I'm not getting that error). It's probably time to step back and rethink every part of the startup process. I'll probably also remove support for DJ 1.7 and earlier - if only to simplify the plugin. Clearly, there are a number of variables. I see that you're running "Python==2.7.(something)". I'll assume you're still on "Django==1.9" and focus on that. |
Thanks @PamelaM. You're correct. The error is occurring within our backend environment which is setup as
Thanks again. Please let me know if you need any additional information. |
@PamelaM Sorry for the delay in my response. Any idea how I would be able to pull in that PR through pip? I have tried the following command with your PR commit Would love to test out that PR for you. |
@garyayo Use the following: Note that if you already have django-coverage-plugin 1.4.1 installed pip won't upgrade to the new code because it's the same version number. |
Very excellent! Thank you @clokep! @PamelaM I've very happy to say that my issue appears to have been resolved!
Thanks for all the hard work. |
Excellent! Thanks for checking! |
Fixed by version 1.4.2 |
This is clearly a bug caused by my recent PR.
I'll work though a fix PR in the next two days.
Because of the chicken-and-egg issues of starting, I think the need for a test_project that can be used for full integration testing via subprocess calls is even more vital. There are too many "shenanigans" involved with getting coverage/django startup initialization order reversed and re-run during the current test process.
The text was updated successfully, but these errors were encountered: