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

    Curved Staircases

    Scheduled Pinned Locked Moved Woodworking
    171 Posts 19 Posters 33.1k Views 19 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.
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      .

      yeah. sorry- should of mentioned it earlier:


      Error: #<LocalJumpError: unexpected return>
      (eval):551:in `run_startup_dialog'

      from_ruby( 'inside_stringer=Housed|Sawtooth|None&outside_stringer=Housed|Sawtooth|None&inside_option=Has Heel|Has Foot|Both|None&outside_option=Has Heel|Has Foot|Both|None&inside_rail=Guard Rail|Wall Rail|None&outside_rail=Guard Rail|Wall Rail|None&direction=Clockwise|Anti Clockwise&rail_style=Classic|Modern|Round|Square|Standard|Traditional&inside_stringer=1&inside_option=3&inside_thickness=2 1/2"&inside_width=1'&inside_rail=2&outside_stringer=0&outside_option=3&outside_thickness=2 1/2"&outside_width=1' 4"&outside_rail=2&total_rise=8' 9"&risers=14&riser_thickness=1/2"&direction=1&stair_width=3' 6"&radius=8'&degrees=90.0&floor_thickness=1' 1/4"&rail_style=5&tread_thickness=1 1/2"&average_run=10"&tread_bullnose=1/2"&nosing=1"&flare_amount=0"&progressive_flare=3/4"&flare_count=0&open_riser=0' )


      with the dialog test, there's no error but all the stuff starting with 'from_ruby' and on appear in the ruby console..

      dotdotdot

      1 Reply Last reply Reply Quote 0
      • G Offline
        Garry K
        last edited by

        I've got some different debugging information in here.
        I've also changed a bit of code that now uses instance variables.

        Please open your Ruby Console and try it and send me back the information.
        Thanks


        version 1.0.5

        1 Reply Last reply Reply Quote 0
        • A Offline
          adt2
          last edited by

          Garry - I've already sent you this information offline, but I'm repeating it here for the record.

          When I open SU, I immediately get the following error:

          Error Loading File GKWare_StairMaker_Ext.rb
          undefined method `call' for false:FalseClass

          Open the Ruby Console, then select Plugins>Curved Stairs>Stair Maker, and I get this in the console:

          show 1
          loaded 1
          cb1 complete
          closed 1
          show 2
          cb1 complete
          loaded 2
          cb2 complete

          Unless I'm mistaken, the "cb2 complete" shouldn't post to the console until I've hit the OK button, right?

          1 Reply Last reply Reply Quote 0
          • D Offline
            driven
            last edited by

            Web service error code -21 . Please notify CabMaker32.com.

            john

            learn from the mistakes of others, you may not live long enough to make them all yourself...

            1 Reply Last reply Reply Quote 0
            • M Offline
              mwm5053
              last edited by

              Hi Garry I saw this thread when you started it and watching progress. These are my screenshots. I'm on a Mac similar to Jeff's and using SU 8 right know my My Safari build if it helps is


              Screen Shot 2014-02-05 at 4.43.49 PM.png


              Screen Shot 2014-02-05 at 4.38.30 PM.png


              Screen Shot 2014-02-05 at 4.38.53 PM.png

              2011 iMac
              SU 2015 Pro, 2017 Make
              V2 Twilight
              macOS Sierra 10.12.5

              1 Reply Last reply Reply Quote 0
              • G Offline
                Garry K
                last edited by

                John,

                You need to edit the Defaults.txt file and insert user and password.
                Error -21 means "user not on file"
                The shipped user in the defaults.txt file is "user" and password is "test" and these are not on file.

                You would have to register on my website which will email you with your password.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Garry K
                  last edited by

                  Walt,

                  The "http error" comes from the http call to my web service.

                  xmlHttp.readyState == 4
                  and
                  xmlHttp.status != 200

                  I could have returned the status - they mostly talk about time outs etc.
                  I know that the web host site has been experiencing hack attacks today. So it very well could time out.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mwm5053
                    last edited by

                    Ok so I missed the part about registering on your website so I did just now and still getting "http error" will try later. PS handrail works good. How long is the trial good for?

                    2011 iMac
                    SU 2015 Pro, 2017 Make
                    V2 Twilight
                    macOS Sierra 10.12.5

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Garry K
                      last edited by

                      The trial is for 30 days. I will reset everyone once I get this working.

                      I am adding a temporary button ( it will mess up the look of the web dialog - but then this is just temporary )

                      I want to rule out if this is a timing issue.
                      Click the load button should reload the information.


                      version 1.0.6

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Garry K
                        last edited by

                        The other thing I should say - is the defaults.txt file gets over written each time. So unfortunately you need to go back in and edit the file.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          @garry k said:

                          The shipped user in the defaults.txt file is "user" and password is "test" and these are not on file.

                          you need to allow for easy/simple testing, put them on file and take them off when your done...

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            adt2
                            last edited by

                            Garry - No change for me with the 1.0.6 version (although the load error has disappeared, but I think that was due to cruft in my plugins folder, which I cleaned out). Plugin loads fine, and I get the same string in the console:
                            show 1
                            loaded 1
                            cb1 complete
                            closed 1
                            show 2
                            cb1 complete
                            loaded 2
                            cb2 complete

                            Nothing else happens. Data fields are still blank, drop-downs aren't operational, and entering data in the fields and clicking OK doesn't cause anything to happen in the console window.

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              with 1.0.6 i'm still getting all blank fields and non-functioning drop down menus.. same thing as Andrew above.

                              ruby console reports:

                              %(#0000FF)[show 1
                              loaded 1
                              cb1 complete
                              closed 1
                              show 2
                              cb1 complete
                              loaded 2
                              cb2 complete]

                              after i push the 'load' button:

                              %(#0000FF)[loaded 2
                              cb2 complete]

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • jeff hammondJ Offline
                                jeff hammond
                                last edited by

                                @ Garry (and Andrew)
                                see this post ->

                                this post

                                [EDIT]not sure why that link isn't going to the direct post.. so scroll down to the end of the page and see the thing about model units

                                dotdotdot

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  Garry K
                                  last edited by

                                  I now have Stairmaker handling all of the different units.

                                  The problem was with the single quote used for feet '
                                  If you have feet ' and inches " then I had to deal with the single quote.

                                  I have ruby replace the ' with the back tick ` and have the javascript in the web dialog replace it back as each measurement is put into the controls.

                                  I'm now hoping there isn't anything else wrong with the Mac version.


                                  version 1.0.7

                                  1 Reply Last reply Reply Quote 0
                                  • jeff hammondJ Offline
                                    jeff hammond
                                    last edited by

                                    1.0.7 is working for me and my template now 👍

                                    dotdotdot

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mwm5053
                                      last edited by

                                      Still having problems here. I installed 1.0.7 and changed username and password in default txt, on 1st click getting "http error" and clicking again getting "can not reach web server"

                                      2011 iMac
                                      SU 2015 Pro, 2017 Make
                                      V2 Twilight
                                      macOS Sierra 10.12.5

                                      1 Reply Last reply Reply Quote 0
                                      • jarynzlesaJ Offline
                                        jarynzlesa
                                        last edited by

                                        sorry but, have I missed something important?


                                        SKETCHUP error code -21.jpg

                                        http://www.vizualizaceschodiste.mypage.cz/

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          mwm5053
                                          last edited by

                                          seems Jeff is the only on one to figure it out

                                          2011 iMac
                                          SU 2015 Pro, 2017 Make
                                          V2 Twilight
                                          macOS Sierra 10.12.5

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            Garry K
                                            last edited by

                                            Jaryn Zlesa

                                            You need to go to my web site and register. An email will be sent to you with your userid and password. Edit the defaults.txt file and put your userid and password in the file. Plugins/GKWare_StaireMaker/Defaults.txt.

                                            Walt M

                                            http error means the http connection did not complete. I will modify the code to report back the exact error code.

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

                                            Advertisement