sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] TT_Lib²

    Scheduled Pinned Locked Moved Plugins
    310 Posts 66 Posters 394.3k Views 66 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.
    • thomthomT Offline
      thomthom
      last edited by

      Something is wrong with the C-Extension. (The .so file) It's not being loaded.

      @unknownuser said:

      CEXT_VERSION: <undefined>

      Though why it doesn't load I do not know. 😕
      Maybe there's something else on your machine blocking it... ?

      What happens when you type:

      require File.join(::TT_Vertex::CEXT_PATH, 'VT_CEXT')

      or...

      require File.join(TT_Vertex::CEXT_PATH, 'VT_CEXT')

      ?

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

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

        Also, what does the File Properties for the VT_CEXT.so file look like?


        CEXT.png

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

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

          Do you have admin rights?

          Do you have UAC enabled?

          Are the permissions of the Plugin folder correct?


          Permissions.png

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

          1 Reply Last reply Reply Quote 0
          • H Offline
            hygicell
            last edited by

            whow Thomtom, you are really driving me to a much higher level than I possess or ever would imagine to reach 😞
            the learning grade is steep 🤓
            but with a good teacher 😄
            you are an extremely good toourist guide in this wonderful land ☀

            Do you have admin rights? yes

            Do you have UAC enabled? ???

            Are the permissions of the Plugin folder correct? I suppose so
            ScreenHunter_21 Oct. 09 15.39.jpg

            Also, what does the File Properties for the VT_CEXT.so file look like?
            ScreenHunter_20 Oct. 09 15.34.jpg

            What happens when you type:
            require File.join(::TT_Vertex::CEXT_PATH, 'VT_CEXT')
            or...
            require File.join(TT_Vertex::CEXT_PATH, 'VT_CEXT')
            ?

            ScreenHunter_22 Oct. 09 15.47.jpg

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

              😲

              I'm utterly stomped.... 😞

              The C Extension loads when you load it manually...

              If you run these after each other:

              require File.join(::TT_Vertex::CEXT_PATH, 'VT_CEXT') TT_Vertex.debug_info

              Then it should report at the end the version number of the C Extension - which does then appear to work.

              The big puzzle is why you are getting that error when you start SketchUp... Nothing is making any sense. It all look to be working ok - and it does when you load things manually. 😕

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

              1 Reply Last reply Reply Quote 0
              • H Offline
                hygicell
                last edited by

                😢 what do you want me to do ? ❓

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

                  Can you type this into the console:

                  require File.join(::TT_Vertex::CEXT_PATH, 'VT_CEXT') TT_Vertex.debug_info

                  ?

                  After you typed load 'TT_Vertex/loader.rb' then the Vertex Tools menus and toolbars should be available, right?

                  Can you try with an empty Plugins folder? Temporarily rename your Plugins folder and create a fresh one. Then install Vertex Tools. (Use the RBZ package and install with SketchUp's native installer utility. http://www.thomthom.net/software/vertex_tools/manual/getting_started#installing_rbz )

                  Sorry that there's nothing much of a result so far - but I've never had this error reported in the 2+ years of Vertex Tools. 😕

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

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hygicell
                    last edited by

                    thanks for your patience too ❗
                    we are slowly getting somewhere:

                    Can you type this into the console:

                    require File.join(::TT_Vertex::CEXT_PATH, 'VT_CEXT')
                    TT_Vertex.debug_info

                    ?

                    ScreenHunter_23 Oct. 09 21.47.jpg
                    ScreenHunter_25 Oct. 09 21.53.jpg

                    After you typed load 'TT_Vertex/loader.rb' then the Vertex Tools menus and toolbars should be available, right?

                    not anywhere to be found
                    the box is checked in the preferences/extensions window

                    Can you try with an empty Plugins folder? Temporarily rename your Plugins folder and create a fresh one. Then install Vertex Tools. (Use the RBZ package and install with SketchUp's native installer utility.

                    emptied plugins folder as suggested
                    new errors:
                    ScreenHunter_26 Oct. 09 22.01.jpg

                    but now the menus and toolbars are available
                    ScreenHunter_27 Oct. 09 22.06.jpg

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

                      Say what? With a completely empty Plugins folder you're getting errors??

                      I'm thinking this is a VirtualStore issue. Though I couldn't immediately see a "Compatibility Files" button in your screenshots. But it could be because my German isn't that strong.

                      Can you enter this path into Explorer:
                      C:\Users\%USERNAME%\AppData\Local\VirtualStore\Program Files (x86)\Google\Google SketchUp 8
                      ?

                      If there's anything there, then they should be moved to the real Plugin folder.
                      (But since we're debugging here - move any files out of the way. Just so we can ensure the basic is working.)

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

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hygicell
                        last edited by

                        closer and closer, I believe:
                        there was a file in there:
                        plugins, with a subfile 1001bitpro
                        ScreenHunter_28 Oct. 09 22.57.jpg
                        deleted those
                        then completely deleted 1001bitpro and reinstalled it
                        tried again, same errors
                        again deleted 1001bitpro completely
                        new situation:
                        ScreenHunter_29 Oct. 09 23.18.jpg

                        alas, still:
                        ScreenHunter_30 Oct. 09 23.20.jpg

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          I don't know if this has anything to do with it but what is in the Google folder under Adobe?

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hygicell
                            last edited by

                            @dave r said:

                            I don't know if this has anything to do with it but what is in the Google folder under Adobe?

                            ScreenHunter_30 Oct. 10 07.21.jpg

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

                              Hang on - previously you got an error where 'tt_solid_inspector.rb' would not load. Now that error is gone and the 'loader.rb' error is back??

                              And how the VirtualStore Plugins folder is empty?

                              Even when you turn on Hidden Files?

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

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                hygicell
                                last edited by

                                I have tried so many things, and I don't remember the sequence

                                I am learning to master solids, which is why I installed solid inspector
                                at a certain moment it did work
                                later I installed fixSolid, which does a nice job
                                too bad it doesn't work on components yet

                                since I am working on an important drawing for which I need my plugins I have reinstated the original plugins folder, but with 1001bit removed
                                that didn't seem to help

                                the virtualstore plugins folder is now deleted, but I guess reinstalling 1001bit will recreate it
                                ScreenHunter_32 Oct. 10 10.35.jpg

                                for the moment I don't need 1001bit
                                I can easily again rename both plugins folders (mine and the empty one)
                                just tell me what to do
                                thanks for your efforts and fast replies
                                Frank

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

                                  I'd like to test the following:

                                  1:

                                  • Empty VirtualStore
                                  • Empty Plugins Folder
                                    Does any error appear then?

                                  2: (If #1 doesn't produce any error)

                                  • Empty VirtualStore
                                  • Empty Plugins folder
                                  • Install Vertex Tools - using the Install Extension feature in SketchUp
                                    Any errors then?

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

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    hygicell
                                    last edited by

                                    1.a do you mean completely empty visualstore (or rename it and create an empty one)?
                                    1.b I think you mean: rename plugins folders, so that plugins is empty?

                                    2.a do you mean completely empty visualstore (or rename it and create an empty one)?
                                    2.b I think I tried that (without 2.a) with good results (see page 7, 2/3 down) except for the solid inspector error
                                    and, as said, I don't need solid inspector for the moment

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

                                      I want to see what happens when you have nothing in the VirtualStore folder and the Plugins folder. Because it's was very odd how it previously seemed to indicate something was still loading. (the solid inspector)

                                      Re: 2.b Yes, we tried that, but before checking the VirtualStore.

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

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hygicell
                                        last edited by

                                        ... and it might be that I had installed solid inspector in between tests, as I was in the learning curve for solids
                                        which would probably explain the error

                                        please be more specific for both folders: empty completely or temporarily rename and create an emty one

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

                                          @hygicell said:

                                          ... and it might be that I had installed solid inspector in between tests, as I was in the learning curve for solids
                                          which would probably explain the error

                                          That would make more sense.

                                          @hygicell said:

                                          please be more specific for both folders: empty completely or temporarily rename and create an emty one

                                          Doesn't matter how you empty them. Rename, move or whatever.

                                          Just try to start SketchUp with empty Plugins folder and empty VirtualStore folder.

                                          If it starts without errors with empty Plugins folder, install Vertex Tools.

                                          If Vertex Tools then works it would indicate some issue with your existing plugins folder and you'd have to incrementally start to reinstall your other plugins and see when any error appearing.

                                          We would then be able to identify when the problem occurs and determine if we're looking at a plugin conflict.

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

                                          1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            hygicell
                                            last edited by

                                            I think we have established that ttVertex works, apart for the solids inspector error
                                            I am ready to do as you recommend

                                            thought it would maybe spare us some time if first I test with all extensions except ttVertex disabled in the preferences window:
                                            ScreenHunter_33 Oct. 10 13.45.jpg
                                            ScreenHunter_34 Oct. 10 13.46.jpg
                                            ScreenHunter_35 Oct. 10 13.46.jpg

                                            didn't do much good, quite the contrary 😠
                                            so I will proceed
                                            but while I start doing what you ask, maybe you can inspect if at first sight there might be a conflict that has been exposed:

                                            Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Vertex/loader.rb
                                            uninitialized constant TT_VertexError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_blend.rb
                                            undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_crvsmth.rb undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_ctrlpnts.rb
                                            undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_fllwedgs.rb undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_mshstick.rb
                                            undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_pathface.rb undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_pnts2mesh.rb
                                            undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_recursive.rb undefined method add_item' for nil:NilClassError Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lss_toolbar/lss_tlbr_common.rb
                                            undefined method `add_separator' for nil:NilClass

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 15
                                            • 16
                                            • 9 / 16
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement