• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Double Ruby Console entry

Scheduled Pinned Locked Moved Developers' Forum
12 Posts 7 Posters 705 Views 7 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.
  • S Offline
    sepo
    last edited by 15 Dec 2008, 12:57

    Yeah I have that on V6 ...have not moved all plugins to SU7 so not yet on V7.

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 15 Dec 2008, 13:31

      I've search through all the ruby's in my plugin that contain the string 'Console' and I got no match in any code that would add new menu items. Only mentioned in comments.

      ...maybe it's from one of the scrambled rubys....

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

      1 Reply Last reply Reply Quote 0
      • R Offline
        remus
        last edited by 15 Dec 2008, 13:49

        I think its to do with having 2 copies of a script in your plugins folder. I cant remeber any more details about it, though. Perhaps send jim/todd burch a PM about it. They might be able to remeber the details.

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gaieus
          last edited by 15 Dec 2008, 14:17

          You cannot have two copies of a script (with the same name?) in the same folder!

          Gai...

          1 Reply Last reply Reply Quote 0
          • R Offline
            remus
            last edited by 15 Dec 2008, 14:55

            Im pretty sure it was something like that, although ike i said im a bit sketchy on the details.

            http://remusrendering.wordpress.com/

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pixero
              last edited by 15 Dec 2008, 16:12

              I too have two console entries. I never found the causing script even though I put some effort in the search.
              I'd very much like to know this too. 😕

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chiefwoodworker
                last edited by 16 Dec 2008, 16:56

                I too have this problem. Both SU 6 & 7. I have hunted it for hours to no avail. If someone has the solution I shure would like to know too.

                Joe....
                http://www.srww.com

                1 Reply Last reply Reply Quote 0
                • T Offline
                  todd burch
                  last edited by 16 Dec 2008, 17:04

                  The typical problem is that some script has required "Sketchup.rb" instead of "sketchup.rb". Note the first letter is capitalized. For the purposes of requiring the file, it is really only loaded into memory once. However, for the purposes of maintaining the global array of loaded programs in sketchup.rb, the names do not equal, so it is "loaded" again by sketchup.rb, thus the two entries for the Ruby Console (sketchup.rb is loading "Sketchup.rb".)

                  Over 2 years ago, on the old sketchup forums, I pasted a solution (and even emailed it to @Last - that's how long ago it was) for a solution to fix this. Basically, a change to sketchup.rb to fold all names to uppercase when looking to see if a load had been done already.

                  Todd

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 16 Dec 2008, 17:24

                    @unknownuser said:

                    The typical problem is that some script has required "Sketchup.rb" instead of "sketchup.rb". Note the first letter is capitalized. For the purposes of requiring the file, it is really only loaded into memory once. However, for the purposes of maintaining the global array of loaded programs in sketchup.rb, the names do not equal, so it is "loaded" again by sketchup.rb, thus the two entries for the Ruby Console (sketchup.rb is loading "Sketchup.rb".)

                    Over 2 years ago, on the old sketchup forums, I pasted a solution (and even emailed it to @Last - that's how long ago it was) for a solution to fix this. Basically, a change to sketchup.rb to fold all names to uppercase when looking to see if a load had been done already.

                    Todd

                    Ahah! thanks to your info I found the culprit in my case. It was Delete Coplanar Edges 1.2 (deletecoplanaredges.rb)

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pixero
                      last edited by 19 Dec 2008, 07:49

                      Just wanted to add that it was deletecoplanaredges.rb that did it for me as well.
                      Fixed now.

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

                      Advertisement