View Single Post
Old 02-26-16, 03:11 AM   #124
ExFishermanBob
Difficulties Numbing
 
Join Date: Aug 2013
Location: AN19
Posts: 470
Downloads: 43
Uploads: 0


Default

There is a problem for some people with version 9 - it is related to the Windows Registry, which is accessed in order to located the SH3.EXE installation directory: I knew it would be a problem, the registry always is. The error shows itself by the following error:-

Code:
Conversion needed - version 6 to version 7
No message file set - no conversion possible
Traceback (most recent call last):
  File "<string>", line 140, in on_preferencesToolButton_clicked
  File "<string>", line 144, in on_actionPreferences_triggered
  File "C:\sh3utils\preferences.py", line 45, in __init__
  File "C:\sh3utils\sh3installation.py", line 35, in __init__
  File "C:\sh3utils\sh3installation.py", line 51, in setup_paths
  File "C:\sh3utils\sh3installation.py", line 78, in fetch_SH3EXE_directory
FileNotFoundError: [WinError 2] The system cannot find the file specified
Thanks to all who have reported this.

=== Technical bit follows ===
This is related to 32 / 64 differences, and differences in registry behaviour ("Registry Reflection") in Windows 2008, Vista, 2003, XP, 7 and 2008 SP2 (yes, that's right, 2008 SP2 behaves differently to 2008, and WIndows versions differ between themselves too,how wonderful!). That is, you can have combinations of 32 / 64 bit programs reading 32 / 64 bit registry entries which might or might not be reflected. And then sometimes you can't.

How I love programming in windows (where's the "not really" icon?)

For more information, should others encounter problems:
https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx
https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx

Last edited by ExFishermanBob; 02-26-16 at 03:31 AM. Reason: Technical details added
ExFishermanBob is offline   Reply With Quote