-
Notifications
You must be signed in to change notification settings - Fork 683
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
[1.7.0] Regression: play idealize
dies with UnboundLocalError: local variable 'playHome' referenced before assignment
#1399
Comments
play idealize
crashes with ""play idealize
dies with UnboundLocalError: local variable 'playHome' referenced before assignment
play idealize
dies with UnboundLocalError: local variable 'playHome' referenced before assignment
play idealize
dies with UnboundLocalError: local variable 'playHome' referenced before assignment
Cc @jacol84 |
no initialization playHome
@xabolcs I have sent another pull request with a correction this bug. thank you, |
Nice catch+fix in such a short time ! |
now it is working on WSL artefact but when i run on win is not working I have a problem with python and the win32pdh library
on wsl |
Yup, @tomparle already found it in the last Python3 PR (#1394) five days ago:
See: #1394 (comment) |
Yes, try to add it on your system with 'pip install' to see if it does the trick |
thanks for the tips and tricks
now it is working this is how it works, but rather this library should be included in the project |
fixed #1399 "UnboundLocalError: local variable 'playHome' referenced before assignment
Exactly! The Python3 upgrade (#1394 and friends) seems to be incomplete! Lot of work was done but a few bits are missing. |
Play Version (1.5.x / etc)
Play 1.7.0
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
Ubuntu 20.04
Expected Behavior
Actual Behavior
Possible fix
Pull request #1382 removed a line, which caused the issue.
Just add
playHome = play_env["basedir"].replace('\\', '/')
before the error, as it was beforeThe text was updated successfully, but these errors were encountered: