SU 2017 Loading TwilightRender V2 Errors

For all the users of Twilight Render (V1 & V2), to ask questions and get started
HZtoRender
Posts: 8
Joined: Wed Nov 16, 2011 5:39 pm

SU 2017 Loading TwilightRender V2 Errors

Post by HZtoRender » Fri Apr 14, 2017 2:12 am

I have been using SU Make 2016 and 2017 with TwilightRender on my 64 bit PC with Windows 10 for awhile without any issues. However, recently I installed SU Make 2017 and TwilightRender on my 64 bit laptop with Windows 10, and when I start SU Make 2017, a Load Errors box shows the following:
"Error Loading File C:/Program Files/Twilight Render 2/init_twilight.rb
Error: #<LoadError: 193: %1 is not a valid Win32 application. - C:/Program Files/Twilight Render 2/22/TwilightLibV2.so>
C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/Program Files/Twilight Render 2/init_twilight.rb:22:in `<module:TwilightLoader>'
C:/Program Files/Twilight Render 2/init_twilight.rb:5:in `<top (required)>'
C:/ProgramData/SketchUp/SketchUp 2017/SketchUp/Plugins/twilight2/twilight2_loader.rb:3:in `require'
C:/ProgramData/SketchUp/SketchUp 2017/SketchUp/Plugins/twilight2/twilight2_loader.rb:3:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2017/Tools/extensions.rb:197:in `require'
C:/Program Files/SketchUp/SketchUp 2017/Tools/extensions.rb:197:in `load'
C:/ProgramData/SketchUp/SketchUp 2017/SketchUp/Plugins/twilight2.rb:15:in `register_extension'
C:/ProgramData/SketchUp/SketchUp 2017/SketchUp/Plugins/twilight2.rb:15:in `<module:TwilightLoader>'
C:/ProgramData/SketchUp/SketchUp 2017/SketchUp/Plugins/twilight2.rb:4:in `<top (required)>'
"
i don't really understand what all this means. Any help is greatly appreciated. Thanks in advance!

HZtoRender
Posts: 8
Joined: Wed Nov 16, 2011 5:39 pm

Re: SU 2017 Loading TwilightRender V2 Errors

Post by HZtoRender » Fri Apr 14, 2017 2:21 am

Sorry, I need to clarify for my earlier post. I installed TwilightRender V2 Hobby , 64 bit, for Windows 10 OS.

Chris
Posts: 5346
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU 2017 Loading TwilightRender V2 Errors

Post by Chris » Fri Apr 14, 2017 2:16 pm

That's strange. It looks correct (the directory path, 64 vs 32). Uninstall Twilight Render completely. If you moved anything around manually, delete it. Then download the latest 64 bit TWR installer and reinstall.

HZtoRender
Posts: 8
Joined: Wed Nov 16, 2011 5:39 pm

Re: SU 2017 Loading TwilightRender V2 Errors

Post by HZtoRender » Sat Apr 15, 2017 12:48 pm

Chris,
Thanks for your reply. I have tried uninstall both SU and TWR several times and reinstall them. I have even done virus scan and malware scan. Nothing seems to work. Same errors.

Chris
Posts: 5346
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU 2017 Loading TwilightRender V2 Errors

Post by Chris » Sun Apr 16, 2017 6:58 pm

Does it still work with SU 2016?

I just downloaded SU 2017 and TWR Hobby and didn't have any trouble. As I said, it doesn't appear like any of the paths are wrong or incompatible (32 v 64).

After you installed SU 2017, did you re-run the TWR installer or did you copy files over from 2016? Also can you check if Twilight Render V2 is installed at C:\Program Files\Twilight Render 2?

HZtoRender
Posts: 8
Joined: Wed Nov 16, 2011 5:39 pm

Re: SU 2017 Loading TwilightRender V2 Errors

Post by HZtoRender » Mon Apr 17, 2017 1:03 am

Yes, I even re-downloaded the installer files from both Trimble and Twilight and reinstalled them a few times. I even uninstalled some of the other software programs unrelated to SU and TWR I don't need to see if that would make a different.

I installed SU to C:\Program Files\ and installed TWR to C:\Program Files\Twilight Render 2 folder.

I am suspecting that either there is some issue with my Windows 10 OS or a virus my anti-virus can't detect. Anyway, thank you for all your help!

Chris
Posts: 5346
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU 2017 Loading TwilightRender V2 Errors

Post by Chris » Mon Apr 17, 2017 2:26 pm

That is very odd. Usually with this kind of thing it's either a mismatch between 64 bit and 32 bit, or a copy and paste error. Unfortunately this kind of thing is hard to diagnose without being able to see the computer.

HZtoRender
Posts: 8
Joined: Wed Nov 16, 2011 5:39 pm

Re: SU 2017 Loading TwilightRender V2 Errors

Post by HZtoRender » Sun Apr 23, 2017 10:59 pm

Good news! I removed both SU17 Make and TWL Hobby from my laptop. Reinstalled both SU16 Make and SU17 Make and TWL Hobby. When I ran SU16, there is no issue with TWL loading up. Then I ran SU17, a message popped up saying that TWL does not have setup ...available for this version of SU, do you want to copy it from the previous version? After I clicked YES, TWL was loaded into SU17 with no issues. Bingo!!! Thanks Chris for all your help!

Chris
Posts: 5346
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU 2017 Loading TwilightRender V2 Errors

Post by Chris » Mon Apr 24, 2017 2:29 pm

Great! Sometimes it just works. :lol:

sergedrafter
Posts: 1
Joined: Thu Oct 22, 2020 9:01 pm

Re: SU 2017 Loading TwilightRender V2 Errors

Post by sergedrafter » Thu Oct 22, 2020 9:16 pm

I am having the same problem, removed every files possible. Uninstalled TRProV2, restarted my computer, downloaded the latest TR Win64. I am using Sketchup 2020 and 2017. place the installed files in C:\Program Files (x86)Twillight render 2/.
But still get this attached error 193
It was working perfectly fine 2 days ago on both version of SU.
Please help, I need it!
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 64 guests