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

    Fredo6 Tools problems on macOS High Sierra

    Scheduled Pinned Locked Moved Developers' Forum
    9 Posts 2 Posters 2.4k Views 2 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
      slbaumgartner
      last edited by

      I upgraded my Mac to macOS 10.13 High Sierra and SketchUp 2017 (17.3.116) started showing the attached errors on launch. I have installed the latest updates to LibFredo6 (7.7e) and FredoTools (3.1d) from the PluginStore and subsequently restarted SketchUp.


      Fredo load errors.zip

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        I had been made aware of the problem by another user. Apparently HighSierra introduced a problem in FredoTools, which makes it not loading.

        Could you try to load the file FredoTools.rbe (in Fredo6_FredoTools folder) via Sketchup.require and see what is the error message in the RubyConsole.

        Many thanks

        Fredo

        EDIT: I have the impression that with High Sierra, the alphabetic order of loading is not respected.

        1 Reply Last reply Reply Quote 0
        • S Offline
          slbaumgartner
          last edited by

          I get a return of "false".

          I notice that in a Terminal the listing of file names puts all capitalized ones before lower case, as if they are in purely ASCII sorting order. I don't recall whether that was true in HFS+, but I wonder if this is a change that came with case-sensitivity in the new APFS? I notice that the file __loader__FredoTools.rbe comes after a lot of FredoTools_xxx.rbe files in the listing, which seems illogical.

          Edit: I found this in the Apple docs about APFS. It may have bearing on this and other issues people have reported in SketchUp under High Sierra:

          Calling readdir(2) on a directory in APFS returns filenames in hash order, whereas HFS+ returns filenames in lexicographical order.

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            Steve,

            This confirms what I was afraid of. I we cannot rely on the order of loading by Sketchup, then many plugins could be broken.

            1. Could you make a test with Dir[] on a folder, to see if this method returns files in alphabetic order

            2. For FredoTools, there is a file FredoTools.plugin. Could you replace it by the attached version (just removed the extension[i]txt.). I try to force the loading of FredoTools first.

            FredoTools.plugin.txt

            Thanks

            Fredo

            1 Reply Last reply Reply Quote 0
            • S Offline
              slbaumgartner
              last edited by

              A test with Dir[#{"plugins_path}/*"] (where plugins_path is the full path to the Plugins folder) returned the list of plugin folder contents in seemingly random order, as feared! I'm wondering if this is also what is causing the random ordering of materials that some people have reported on High Sierra?

              Substituting your revised .plugin file stopped the load error from popping up πŸ˜„

              However, I'm getting the attached warning messages each time I launch SketchUp (including relaunch). I'm not sure exactly what menus they are referring to. I see the items I expect in your Fredo6 Collection pull-right in the Tools menu.

              Steve


              Screen Shot 2017-10-01 at 1.19.54 PM.png


              Screen Shot 2017-10-01 at 1.20.04 PM.png


              Screen Shot 2017-10-01 at 1.20.17 PM.png

              1 Reply Last reply Reply Quote 0
              • fredo6F Offline
                fredo6
                last edited by

                Steve,

                Many thanks.
                The second message is a consequence of the APFS problem, because LibFredo6 believes the loading of these plugins happen outside the normal load cycle of Sketchup.

                I have a fix for it.

                Fredo

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  Steve,

                  Concerning the messages, do you have the latest version of RoundCorner installed (v3.2d) ?

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    slbaumgartner
                    last edited by

                    Yes, I have RC 3.2d. Also JPP 3.6a and FS 3.0a. I checked for updates before reporting this, so I hope they are all current.

                    1 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      Steve,

                      Just sent you a PM about all this.

                      Fredo

                      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