-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Update app.py to support fallback to Python 2.7 #548
Conversation
Currently Puppetboard doesn't work on Systems still using Python 2.7 wsgi so we need to try and fallback on the old urllib import.
@pjonesIDBS can you test if this works for you? |
For what it's worth the fallback seems to work ok. Right now my setup is
Without this patch I get
With this PR applied I get:
The latter is the same error I got when testing an old version of Puppetboard (e.g. 2c3a593) which used to work with my old Puppet 5-based setup on Ubuntu 18.04. |
I was able to make Puppetboard work with this patch. The problem was that I had used puppetlabs-apache to purge configs:
When I set |
@bastelfreak Sorry, I've not been able to reply before... I can confirm the change works. At the moment, we're using a forked version of the repo with the patch applied :) |
Implemented in #555 |
Currently Puppetboard doesn't work on Systems still using Python 2.7 wsgi so we need to try and fallback on the old urllib import.