Comment 20 for bug 365501

Revision history for this message
petebisson (o-launchpad-bisson-co-uk) wrote : Re: wubi-r129.exe does nothing.

UPDATE: Workaround available

You may close this issue as I can now run wubi on the thinkpad.

This is actually a system configuration problem, not a bug in wubi.

The thinkpad has the environment variable PYTHONCASEOK set.

It appears to be a common known issue with certain thinkpads, as a quick search for PYTHONCASEOK will confirm. There seem to be a lot of Python developers who think IBM is a four letter word :-D

I have tried a few variations of this, with mixed results.

Executing python.exe -E main.py - works with wubizip builds

Unsetting PYTHONCASEOK at a command prompt does not allow wubi to run.

Setting PYTHONCASEOK to any value other than 1 does not allow wubi to run.

Cheers,

Pete

Feel free to add this to the FAQs if you like.

-----
Thinkpad Workaround to use Wubi 9.04

1. Right click on My Computer, select Properties
OR
Go to Control Panel -> System

2. On the 'Advanced' tab click the 'Environment Variables' button.

3. In the bottom pane ('System Variables') scroll down the list until you find the PYTHONCASEOK variable.

4. Highlight the PYTHONCASEOK line and click the 'Delete' button. (Just changing the value will not work.)

5. Reboot your thinkpad.

6. Run wubi.exe, and enjoy :-)

7. After installing wubi, you need to re-add PYTHONCASEOK with a value of 1 or your assorted IBM tools will not work.

NOTE: You will also need to repeat steps 1-5 if you want to uninstall wubi in the future, as the wubi uninstaller will have the same problem. Don't forget to do step 7 again after running the wubi uninstaller.