sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Need help on what to remove from plugins

    Scheduled Pinned Locked Moved Plugins
    7 Posts 4 Posters 1.0k Views
    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.
    • Bob JamesB Offline
      Bob James
      last edited by

      Upon loading SU8 Pro I get the errors listed below. The last one seems to be associated with thomthom's plugins, but, as the attachment shows, I have those files.

      (eval):6094: compile error
      (eval):4921: syntax error, unexpected ',', expecting ')'
      if (n1.between? (n2 - interval), (n2 + interval))
      Error Loading File cd_power_extension_m.rb
      (eval):6094: compile error
      (eval):4921: syntax error, unexpected ',', expecting ')'
      if (n1.between? (n2 - interval), (n2 + interval))
      Error Loading File cd_power_m.rb
      (eval):6094: compile error
      (eval):4921: syntax error, unexpected ',', expecting ')'
      if (n1.between? (n2 - interval), (n2 + interval))
      Error Loading File cutting_windows.rb
      (eval):719: compile error
      (eval):610: syntax error, unexpected ',', expecting kEND
      faces_and_heights[0].pushpull (faces_and_heights[1]), false

      Error Loading File tt_export.rb
      no such file to load -- TT_Lib2/core.rb


      thomthom's plugins

      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

      1 Reply Last reply Reply Quote 0
      • PixeroP Offline
        Pixero
        last edited by

        cd_power_extension_m.rb
        cd_power_m.rb
        cutting_windows.rb

        Seems to be the ones with syntax errors.
        The number indicates on which line the error occurs so if you wish you could open the file in a texteditor (like the free Notepad++) that can show line numbers and check it out.)

        For this one, check that the core.rb exists in the TT_Lib2 folder.
        tt_export.rb
        no such file to load -- TT_Lib2/core.rb

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          The error occurs because the new version of Ruby shipped with v8 is less forgiving that v7 when it comes to passing arguments to methods.
          Let's assume that my_method needs two arguments, then in v7
          my_method (123 / 4), 123
          and
          my_method((123 / 4), 123)
          [the preferred way to keeps arguments inside ()]
          will both work.
          But in v8 the first version will fail with an error message because the first argument inside the () is taken as all of the arguments it is to pass to the method, and it then stumbles upon what is now seen as a misplaced comma etc and it trips an error.
          The format my_method 123 / 4, 123 will still work, but it's best to keep all arguments 'parenthesized' [in ()] - in the future non() methods might even be 'deprecated' and not work at all. But sometimes () are inevitable if you are calculating values as you pass them and you need to dictate precedence in handling the values...
          So... my_method**(**(123 / 4), 123**)** will always work!

          TIG

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            Bob, have you downloaded the new powerbar version?

            http://forums.sketchucation.com/viewtopic.php?t=14770

            1 Reply Last reply Reply Quote 0
            • Bob JamesB Offline
              Bob James
              last edited by

              Thanks CadFather πŸ‘ I had downloaded it but not installed it 😳
              Reloaded PowerBar and Selection Tools and now I get:


              error.png

              i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

              1 Reply Last reply Reply Quote 0
              • Bob JamesB Offline
                Bob James
                last edited by

                All is well.

                Added tt_Lib2 and got rid of cuttingwindows.rb

                In the process stumbled across a great plugin: ComponentPunch.

                i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  ..nothing better than trouble! πŸ‘

                  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