Copy from:
[mesh] .........
......[cura]
in my message and replace the contents of the cura.cfg file with that configuration information.
Essentially what I did was removed any information relating to directories and files on my computer that the Cura 3.1 install copied from the older Cura 3.04. which is essentially the printer information and last file location accessed and any other path information that I found. One of these was causing the Cura 3.1 to crash. in particular it had to do with the printer set-up file information so after you get it working if you connect it to the old file configuration, which will still be available, it will crash again it is better to keep the old install and to cut and paste the information between versions as I was able to have them open concurrently. In Cura 3.1 it will ask you to create a new Printer set up when it starts as the editing I suggest will convince it that there is no previous set-up information available so it does a fresh start. The advantage is that it allows me to retain the older versions in a working state and still get the 3.1 to load properly, without having to uninstall/purge all previous versions and such.
you have all the information you need in my previous posting.