• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

PLEASE HELP! Error Loading File vfs.rb undefined method `fil

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
18 Posts 9 Posters 26.5k Views 9 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    thomthom
    last edited by 3 Nov 2011, 15:26

    Alphabetically by filename. V comes pretty late...
    It's a silly bug. Devin... πŸ˜’ πŸ˜„ It warrants a facepalm.

    Thomas Thomassen β€” SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 3 Nov 2011, 16:25

      @sarahbbg said:

      now i am getting this error
      Error Loading File #.rb
      Is a directory - /Users/sarahsaada/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/#.rbError Loading File vfs.rb
      undefined method `file_loaded?' for main:Object

      maybe the plugins folder is in the wrong place?

      You're right! It's not your personal 'users' folder path, but the central library one...
      Type this is the Window > Ruby Console
      Sketchup.find_support_file("Plugins")
      It will return the correct path.
      I hadn't realized you were on MAC.
      When I said edit the new #.rb file with Notepad I hope you understood I meant a 'plain text editor' - do not use a word processor, it will add formatting and break the script.
      Have you seen thomthom's explanation? about how the vfs.rbfile itself has a mis-ordering of lines and how moving the two 'require' lines to the start will fix it...

      TIG

      1 Reply Last reply Reply Quote 0
      • S Offline
        sicksickisck
        last edited by 21 Nov 2013, 12:13

        I have the same problem; when I copy folder [skp]'plugins' from work to my house .. 😞

        1 Reply Last reply Reply Quote 0
        • M Offline
          m0ku_m0ku
          last edited by 11 Jan 2014, 20:39

          Sorry , I have fixed the ruby line as Thomthom recommended.
          But I've still gotten an error.

          "Error Loading File vfs.rb
          no such file to load -- sketchup.rb"

          please help , thank in advance

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 11 Jan 2014, 21:56

            IF the very first line of this script reads:
            require 'sketchup.rb'
            or
            require "sketchup.rb"
            Then it should work. πŸ˜’

            I suspect a misplaced " or a missing ' ?

            If you still get an error, then check that there is a file in the SketchUp ' Tools' folder called ' sketchup.rb'.

            If NOT then you must reinstall SketchUp!
            If it's in the ' Plugins' folder then you must remove it.

            If it is in the ' Tools' folder then type $LOAD_PATH...
            If if doesn't include the ' Tools' folder then something is badly adrift...

            TIG

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cittizewn
              last edited by 8 May 2015, 13:55

              Its Possible to upload the file vfs.rb fixed..
              I have the same problem loading it..

              1 Reply Last reply Reply Quote 0
              • E Offline
                edgaralbandoz
                last edited by 30 May 2015, 13:07

                I am having this issue after installing Vray1.49. This error shows up when I activate (check-mark) the Vray extension. I am using SketchupPro2015. Any help? Thanks. (Very frustrated with Vray.)

                Error Loading File /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/RubyToPython/VfS/Ruby/R2P.rb
                Error: #<LoadError: dlopen(/Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/RubyToPython/RubyToPython.bundle, 9): no suitable image found. Did find:
                /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/RubyToPython/RubyToPython.bundle: mach-o, but wrong architecture - /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/RubyToPython/RubyToPython.bundle>
                /Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' /Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require'
                /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/RubyToPython/VfS/Ruby/R2P.rb:75:in <top (required)>' /Applications/SketchUp 2015/SketchUp.app/Contents/Resources/Content/Tools/extensions.rb:197:in require'
                /Applications/SketchUp 2015/SketchUp.app/Contents/Resources/Content/Tools/extensions.rb:197:in load' /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/vfs.rb:59:in register_extension'
                /Users/edgaralbandoz/Library/Application Support/SketchUp 2015/SketchUp/Plugins/vfs.rb:59:in `<top (required)>'

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dhrubazaan
                  last edited by 5 Jul 2018, 05:52

                  Hello There,
                  I am getting the attached Error message while loading the Sketchup. Please help.


                  Untitled1.jpg

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    andybot
                    last edited by 5 Jul 2018, 15:01

                    How old of a version are you trying to use?

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dhrubazaan
                      last edited by 6 Jul 2018, 08:43

                      My Sketchup is 2016 with Vray 3.4 and my operating system is Windows 7.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement