• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Problem loading my script

Scheduled Pinned Locked Moved Plugins
2 Posts 2 Posters 201 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.
  • K Offline
    ktkoh
    last edited by 16 Apr 2011, 22:49

    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 17 Apr 2011, 00:33

      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
      1 / 1
      • First post
        2/2
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement