-
Notifications
You must be signed in to change notification settings - Fork 6
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
Need to upgrade to use Python3 #11
Comments
@pturmel - Just wondering if you got anywhere with this? I've used the script over the years to check my strages on Proxmox - but it no longer ships with Python 2.7 at all... By changing the
|
It looks to me like the last commit to the code was over five years ago, so I have to wonder if this is now abandonware? |
Well, I'm still alive, but yes, low priority for quite some time now. Every time I look, I realize it needs substantial work to make it async-friendly in addition to the byte/string distinctions needed. |
I've just opened a PR with code changes that make the script work both in python 2 and 3. |
Running from git head:
It seems this is due to Python 3 (3.6.5 in my case) where octals apparently need to be specified Oo0755. However, changing that line leads to other errors (missing parens for print is the next one) and explicitly running with Python2 it works fine.
I'm not a Python programmer, so I don't know how much effort this requires, or if there is simply a way to explicitly request Python2 in the meantime.
The text was updated successfully, but these errors were encountered: