This is happening on a new Windows 11 laptop. When I click on Save I get the error message pictured below and then SU hangs. I have searched the forum and found this error message a couple of times but there is no solution presented.
This is the content of the script that is failing:
1 Set WshShell = CreateObject(“WScript.Shell”)
2 WshShell.Run “”“C:/Users/PaulPC/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/ene_open_newer_version/bin/ConvertVersion”" ““C:\Users\PaulPC\Downloads\Stonefield+Occasional+Table.skp”” ““C:\Users\PaulPC\Downloads\Stonefield+Occasional+Table (SU 2020).skp”” 20", 0
Any help would be appreciated. I use the program A LOT.
Paul
I don’t know anything about that sort of scripting, but seeing as the issue cropped up on moving to a new computer, are you sure the paths to files and their permissions are the same as on the old one?
I am sure that the file locations are set correctly in the Sketchup Preferences. But I am not sure how to check their permissions.
ping @eneroth3
AI says it is likely due to incorrect quoting in the command string.
I was quick to blame Windows 11 (it’s been far too difficult getting things set up on this new computer!) but the other occurrences that I have seen on the forum predate this version.
Well, I’m back, waving a victory flag! Christina’s magical extension was such an integral part of my work flow that I had to resolve this. I tried several things today:
Virus scan (Microsoft Safety Scanner), scoured the registry for a misapplied computer name (yes, I changed the name of the computer and caused all sorts of grief!), researched script error code 800704c7 and followed instructions to resolve it in command prompt. Nothing worked.
Then this afternoon while researching paths to files and their permissions I was reading a seemingly unrelated thread on the forum (All my preferred file location paths are invalid) and was reminded of the PrivatePreferences.json file. In an attempt to resolve the OP’s issue @colin suggested deleting the file and allowing Sketchup to rebuild it on restart. So, thinking, “It probably won’t work, but it can’t hurt!” I did just that and now Open Newer Version works as intended! I don’t know why it worked but I am hugely thankful that it did!
I hope this might help someone else who runs into this script error.
Thank you @DanRathbun and @slbaumgartner for your replies.
1 Like