-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AssertionError when attempting to locate dotenv file #499
Comments
Took a look at this one. I think we can change the assertion into breaking the loop. I checked the history and it seems the assertion is there to make static analysis happy. Traced it back to this one eb3eab8 If I understand the code correctly, this variable is To be honest, I could not reproduce the issue with "typical" code. I suspect introducing Create a test.py with the following content:
Create a symbolic link with Run Now I guess this is not your use case @HonakerM , so could you share a little more details about your scenario? |
Added a PR with my suggestion. I think we still need to understand what actually happens in your environment though. You might need to uninstall the old version first as the version string is still the same and |
@theskumar sorry for the delay I will try out the fix this weekend |
Hello,
I updated to the latest
python-dotenv
version (1.0.1) this morning and am now starting to see the following Assertion Errors:The code that generated the above looks like the following:
Please let me know if there are any other logs or data I can provide to help the debugging/investigation process
The text was updated successfully, but these errors were encountered: