Edited - I figured it out. It involved me being stupid.
[I can't get Calibre to update to version 5.31 on Calibre portable.
It recognizes I have a previous version installed and asks if I want to upgrade, I click yes and it appears to install but the previous version remains.]