Problem loading my script
-
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:NilClassI 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 -
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)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement