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

    Problem loading my script

    Scheduled Pinned Locked Moved Plugins
    2 Posts 2 Posters 201 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.
    • K Offline
      ktkoh
      last edited by

      I have been revising my mortisetool.rb file and the new version loads fine with no errors listed using the ruby console. However when I place it in the plugin folder I get this error message on loading.

      Error Loading File KK_MortiseTool.rb
      undefined method `GetString' for nil:NilClass

      I have set variables to nil initially so I can test to see if the program has changed them.
      I used this method also in the original version and had no trouble loading it.

      Possible solutions?

      Thanks
      Keith

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Hi Keith,

        Don't use GetString just because Google's example scripts do. Do you know the purpose of GetString, how it works, or in which file it is defined? (it's in /Tools/langhandler.rb)

        Hi

        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