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

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.
  • B Offline
    Bob James
    last edited by 9 Oct 2010, 04:24

    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
    • P Offline
      Pixero
      last edited by 9 Oct 2010, 05:17

      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
      • T Offline
        TIG Moderator
        last edited by 9 Oct 2010, 09:56

        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
        • C Offline
          CadFather
          last edited by 9 Oct 2010, 10:00

          Bob, have you downloaded the new powerbar version?

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

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bob James
            last edited by 10 Oct 2010, 00:42

            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
            • B Offline
              Bob James
              last edited by 10 Oct 2010, 01:25

              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
              • C Offline
                CadFather
                last edited by 10 Oct 2010, 09:05

                ..nothing better than trouble! ๐Ÿ‘

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

                Advertisement