Announcement

Collapse
No announcement yet.

Ruby console when opening SU-file(only at first load)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ruby console when opening SU-file(only at first load)

    Hey,

    Can you make any sens of this? Ruby Console opens when I start a SketchUp file. I close it and the second time I open it everything is normal.

    Code:
    Error: #<NameError: uninitialized class variable @@shutdown in VRay::AppObserver
    Did you mean? shutdown?>
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/observers/app_observer:69:in `shutdown?'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:14:in `block in handle'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:40:in `is_online'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:40:in `<module:SketchupEntitlements>'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:5:in `<module:VRay>'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:3:in `<top (required)>'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `require_crypt'
    C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `<top (required)>'
    C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in `require'
    C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in `load'
    C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `register_extension'
    C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `<module:VRay>'
    C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:4:in `<top (required)>'

  • #2
    Judging by the backtrace, you're using 5.10.02. Could you check if this is also reproducible with 5.10.03?

    It seems that SketchUp's "Sketchup.is_online" method causes certain timer to be fired before we have time to register our AppObserver. The message looks completely harmless and can be disregarded. Nonetheless. its irritating to have this kinda output. We'll fix it. Thanks for reporting.

    Comment


    • #3
      Can confirm that after installing 5.10.03 everything is fine. No error

      Comment


      • #4
        Hi, I'm having the same errors showing, but I'm on 5.10.03


        Error: #<NameError: uninitialized class variable @@shutdown in VRay::AppObserver
        Did you mean? shutdown?>
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/observers/app_observer:69:in `shutdown?'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:14:in `block in handle'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:43:in `is_online'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:43:in `<module:SketchupEntitlements>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:5:in `<module:VRay>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:3:in `<top (required)>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `require_crypt'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `<top (required)>'
        C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in `require'
        C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in `load'
        C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `register_extension'
        C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `<module:VRay>'
        C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:4:in `<top (required)>'

        Comment


        • #5
          Hi there,

          I am also getting this load error message:

          Error Loading File C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb
          Error: #<StandardError: Failed to initialize Scene Manager API: (VRAY_SCENEMAN_PATH=C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\scene\bin\sceneman.dll)>
          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/scene/scene.rb:16:in `require_relative'
          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/scene/scene.rb:16:in `<module:VRay>'
          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/scene/scene.rb:1:in `<top (required)>'
          C:/Program Files/SketchUp/SketchUp 2019/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
          C:/Program Files/SketchUp/SketchUp 2019/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:35:in `<top (required)>'
          C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `require'
          C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `load'
          C:/ProgramData/SketchUp/SketchUp 2019/SketchUp/Plugins/vfs.rb:29:in `register_extension'
          C:/ProgramData/SketchUp/SketchUp 2019/SketchUp/Plugins/vfs.rb:29:in `<module:VRay>'
          C:/ProgramData/SketchUp/SketchUp 2019/SketchUp/Plugins/vfs.rb:4:in `<top (required)>'

          I am trying all day to update to Vray 5 in SketchUp 2019, but pointless..

          Please help!

          Comment


          • #6
            Originally posted by Brett View Post
            Hi, I'm having the same errors showing, but I'm on 5.10.03
            I see where the problem is. We'll address it.


            Comment


            • #7
              Originally posted by panos_gavalas View Post
              I am also getting this load error message:

              Error Loading File C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb
              This is actually a completely different issue. It is likely that a re-install will fix it. If it doesn't, could you share what version of windows this is happening on?

              Comment


              • #8
                Originally posted by noel.warren View Post
                This is actually a completely different issue. It is likely that a re-install will fix it. If it doesn't, could you share what version of windows this is happening on?
                You are correct. I reinstalled and opened a new, blank, Sketchup file without seeing the error message.

                Thanks,
                Brett.

                Comment


                • #9
                  If the issue persists for any of you, be sure to update to the latest V-Ray version 5.10.04.
                  Please let me know how this goes!
                  Peter Chaushev
                  V-Ray for SketchUp | V-Ray for Rhino | Product Owner
                  www.chaos.com

                  Comment


                  • #10
                    came here to report this error.. updated to 5.10.04 after reading topic.. error seems fixed now! Thanks Noel!

                    Comment


                    • #11
                      Hi, I have the same error that Brett has.

                      I have Sketchup 21.0.339 and Vray v 5.10.04

                      I UN-installed and re-installed vray but nothing changed I still get that error and cannot render
                      Last edited by Kikoita; 08-06-2021, 05:11 AM.

                      Comment


                      • #12
                        Hello, Kikoita ,
                        Could you please uninstall V-Ray for SketchUp once again, then make sure the following files and directories are removed:
                        C:\ProgramData\SketchUp\SketchUp 2021\SketchUp\Plugins\vfs.rb
                        C:\ProgramData\SketchUp\SketchUp 2021\SketchUp\Plugins\vfs
                        C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp
                        %APPDATA%\Chaos Group\V-Ray for SketchUp
                        %TEMP%\Chaos Group


                        Then, please proceed with reinstalling V-Ray for SketchUp v5.10.04.
                        If the problem persists, please send an email to support@chaosgroup.com with a link to this thread. Be sure to include the full text of the error message you get.
                        My colleagues will assist you further by providing you with a custom installer that should help us pinpoint the cause of your problem.

                        Kind regards,
                        Peter
                        Peter Chaushev
                        V-Ray for SketchUp | V-Ray for Rhino | Product Owner
                        www.chaos.com

                        Comment


                        • #13
                          Hello,

                          I have the same issue while opening the file on Sketchup 21.0.391 with V-Ray for SketchUp v5.10.04:

                          Error: #<NameError: uninitialized class variable @@shutdown in VRay::AppObserver
                          Did you mean? shutdown?>
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/observers/app_observer:69:in `shutdown?'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:14:in `block in handle'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:43:in `is_online'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:43:in `<module:SketchupEntitlements>'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:5:in `<module:VRay>'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/sketchup_entitlements:3:in `<top (required)>'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `eval'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `require_crypt'
                          C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:59:in `<top (required)>'
                          C:/PROGRA~1/SketchUp/SKETCH~2/Tools/extensions.rb:197:in `require'
                          C:/PROGRA~1/SketchUp/SKETCH~2/Tools/extensions.rb:197:in `load'
                          C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `register_extension'
                          C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:29:in `<module:VRay>'
                          C:/ProgramData/SketchUp/SketchUp 2021/SketchUp/Plugins/vfs.rb:4:in `<top (required)>'

                          I have already uninstalled and reinstalled V-ray with making sure that plugin files are removed. It didn't help.

                          Regards

                          Comment


                          • #14
                            Hello, marcin_szymanski ,
                            Thank you for your report!
                            Could you please follow up on the instructions in the forum private message I sent you?

                            Kind regards,
                            Peter
                            Peter Chaushev
                            V-Ray for SketchUp | V-Ray for Rhino | Product Owner
                            www.chaos.com

                            Comment


                            • #15
                              Originally posted by Peter.Chaushev View Post
                              Hello, Kikoita ,
                              Could you please uninstall V-Ray for SketchUp once again, then make sure the following files and directories are removed:
                              C:\ProgramData\SketchUp\SketchUp 2021\SketchUp\Plugins\vfs.rb
                              C:\ProgramData\SketchUp\SketchUp 2021\SketchUp\Plugins\vfs
                              C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp
                              %APPDATA%\Chaos Group\V-Ray for SketchUp
                              %TEMP%\Chaos Group


                              Then, please proceed with reinstalling V-Ray for SketchUp v5.10.04.
                              If the problem persists, please send an email to support@chaosgroup.com with a link to this thread. Be sure to include the full text of the error message you get.
                              My colleagues will assist you further by providing you with a custom installer that should help us pinpoint the cause of your problem.

                              Kind regards,
                              Peter
                              Thanks Peter looks like that fixed the problem

                              Comment

                              Working...
                              X