sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

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

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    18 Posts 9 Posters 27.6k 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.
    • andybotA
      andybot
      last edited by

      wacky! So how is it determined which plugin loads first???

      http://charlottesvillearchitecturalrendering.com/

      1 Reply Last reply
      Reply Quote 0
      • thomthomT
        thomthom
        last edited by

        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
        • TIGT
          TIG Moderator
          last edited by

          @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
          • sicksickisckS
            sicksickisck
            last edited by

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

            1 Reply Last reply
            Reply Quote 0
            • M
              m0ku_m0ku
              last edited by

              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
              • TIGT
                TIG Moderator
                last edited by

                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
                  Cittizewn
                  last edited by

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

                  1 Reply Last reply
                  Reply Quote 0
                  • E
                    edgaralbandoz
                    last edited by

                    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
                      dhrubazaan
                      last edited by

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


                      Untitled1.jpg

                      1 Reply Last reply
                      Reply Quote 0
                      • andybotA
                        andybot
                        last edited by

                        How old of a version are you trying to use?

                        http://charlottesvillearchitecturalrendering.com/

                        1 Reply Last reply
                        Reply Quote 0
                        • D
                          dhrubazaan
                          last edited by

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

                          1 Reply Last reply
                          Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better πŸ’—

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement