-
Notifications
You must be signed in to change notification settings - Fork 10
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
Updating windows installer for 0.17 #427
Updating windows installer for 0.17 #427
Conversation
Set KALITE_PYTHON environment variable after the installation. Add KA Lite licence file. Add kalite.bat in scripts.
…-0.17 # Conflicts: # windows/README.md
Downloading! I'll try it on Windows 7, unless you have other preferences...? @mrpau-richard |
@mrpau-richard Your installer worked perfectly on W7, no errors or issues whatsoever during the installation, nor in major functions. All caveats regarding the contentpacks still the same as for the |
@mrpau-richard great work! Does it mean we have to add Python 2.7.11 as a requirement for Windows environments? We could add it as a release note with an instruction on how to find your python version... |
@benjaoming Yeah, We need to add it in the release notes. |
@mrpau-richard I managed to identify the upstream Python issue, it's true that multiprocessing is broken on Windows in < 2.7.11 https://bugs.python.org/issue10128 Moreover, it's related not to m2crypto but to the way that Wheel files are launched on Windows. So basically, it's related to the move to .whl. But the error can occur at any time a user runs something that was installed with pip using the .whl format. What's you feeling about this? How many users will be affected? Should we revert back to sdists or embrace the future? |
Allow me to rant :) Python 2.7.11 is only 11 months old - this makes it slightly sensitive as most users probably haven't upgraded... However, if someone is already deploying a new version of KA Lite, they should also have access to an updated version of Python. It's within reach of anyone installing KA Lite on Windows to also install Python. Requiring users to run a newer version of Python also shouldn't do harm, but could come with other benefits as lots of bugs are fixed in each of the 2.7 patch releases. We may be making our own work much more difficult if we decide to allow users to stay with old versions of Python. Supporting old OS'es is one thing that's already quite a load :) So in that sense, I would say that we should stick to the changes you've made.. keep on building the Windows installer with wheels and instead require users to read the release notes, where we'll mention that Windows requires a Python update. |
@mrpau-richard - why not bundle Python 2.7.12 since it's the latest release? |
I haven't tested it within python 2.7.12. I will test it tomorrow if I have no issue encountered then we will use it. |
Hi @benjaoming & @radinamatic we are now using the python version 2.7.12 in KA Lite windows installer. Here's the installer for testing. |
@mrpau-richard Tested the installer on Windows XP this morning, and everything seems a-OK! 👍 One thing I would suggest is to rephrase the wording, since it seems to imply that the Python installation is somehow optional, and not compulsory - users cannot simply skip installation of Python and expect KA Lite to work: Suggested text for the above alert:
The proper buttons should be
|
Hi @radinamatic done fixing the text for the alert box. Here's the installer |
@mrpau-richard Text looks OK, thanks! Two new issues however: Issue 1:When user decides not to install Python/KA Lite, and chooses then this Runtime error appears on XP: Same on Windows 7: Issue 2:If the user selects Instead, the process remains running in the back and eventually starts the Python installer without the user's explicit acceptance. |
Hi @radinamatic I fix the issue you commented above. Here's the installer for another testing. |
@mrpau-richard Awesome, no more runtime errors! 👍 I'll give it another cursory glance, and see if I can debug the contentpacks a bit more! |
Hi @radina Can you do a final testing on KA Lite windows installer for 0.17? To merge this PR. I already tested it, on these operating systems Windows 7 32 bit and Windows 8.1 64 bit. |
@mrpau-richard Tested the build 59 on both W7 & W8.1 64bits and as far as the fixes in this PR are concerned, merge away! 👍 |
Hi @benjaoming can you take a look on this |
Skimmed through the code, still looks good, thanks for the tip @mrpau-eduard :) |
Summary
Issues encountered.
Having
multiprocessing issue
when using the python version 2.7.10Issues addressed
Fixes #424
Hi @radinamatic can you test this windows installer for 0.17 release? I built it in my local for now because the build server is still down. Here's the installer.
/cc @cpauya @benjaoming