Use PSSPY with Multiple PSS/E Versions on Same Machine
Hello,
This is related to Thread 327, but I did not want to thread-jack.
I have been developing PSSPY scripts for my department and we run a mix of PSS/E v32 and v33, or a combination of the two. I have found that you must run PSSPY from the most recently installed version of PSS/E on your computer or you get an "unexepted version" error. I understand that Python 2.5 must be run for v32 and Python 2.7 for v33, that we can keep straight. For my development it would be really useful to test my scripts for 2.5/v32 and 2.7/v33 on the same machine. Has anyone found a solution for this? Thank you.
My situation is still unresolved even after using the code. For example, I have PSSE v31 and v32 installed on my machine. If I try and run v31 PSSPY I get the following error: "Bad revision number for program PSS(tm)E".
Likewise my colleague has PSS/E v32 and v33 installed on his machine. If he tries to run v32 PSSPY he gets this error: "Bad version number 32 for program PSSE Was expecting 33" It seems that only the most recently installed version of PSS/E can use Python on top.
**SOLUTION**. This problem was caused by not having write access to the registry location HKEY_LOCAL_MACHINE\SOFTWARE\PTI\Licence. PSSPY uses this to register Python with PSSE. Without write access, only the currently registered Python/PSSE pair can be run.