[Plugin] Selection Toys
-
What do you get when you enter
TT_Lib::Version
into the Ruby Console? -
@thomthom said:
What do you get when you enter
TT_Lib::Version
into the Ruby Console?I get this...
TT_Lib::Version
Error: #<NameError: (eval):2307: uninitialized constant TT_Lib::Version>
(eval):2307wonder why i'm getting an error when selection toys plugin is working fine...
-
what? you get that error but Selection Toys is still loaded?
Something is messed up here. Can you post a screenshot of your plugins folder?
-
@arjunmax09 said:
@thomthom said:
What do you get when you enter
TT_Lib::Version
into the Ruby Console?I get this...
TT_Lib::Version
Error: #<NameError: (eval):2307: uninitialized constant TT_Lib::Version>
(eval):2307Sorry - it should be
TT_Lib::VERSION
- note the big capitals. -
@thomthom said:
what? you get that error but Selection Toys is still loaded?
Something is messed up here. Can you post a screenshot of your plugins folder?
here's my list of plugins...i also downloaded tt_lib 2 just in case it wd help..but the problem is still there..
uh..i'm getting this when i enter the required command in ruby console....
TT_Lib::VERSION
1.1.0
I removed the earlier version but don't know what's this all about
-
@arjunmax09 said:
uh..i'm getting this when i enter the required command in ruby console....
TT_Lib::VERSION
1.1.0This seem to be the same as what brookefox had: http://forums.sketchucation.com/viewtopic.php?f=323&t=14975&start=315#p282763
Simply not updated TT_Lib version. Make sure you overwrite the old files.@arjunmax09 said:
here's my list of plugins...i also downloaded tt_lib 2 just in case it wd help..but the problem is still there..
TT_Lib2 won't have anything to do with Selection Toys.
-
@thomthom said:
This seem to be the same as what brookefox had: http://forums.sketchucation.com/viewtopic.php?f=323&t=14975&start=315#p282763
Simply not updated TT_Lib version. Make sure you overwrite the old files.
TT_Lib2 won't have anything to do with Selection Toys.I already overwrote the old files..even deleted the old folders, redownloaded your ttlib plugin from SCF and unzipped them to the plugins library but the error still pops up...
-
Somehow you're not installing the latest. ...maybe when you download you are getting a cached version... tried clearing your browser cache?
-
@thomthom said:
...maybe when you download you are getting a cached version... tried clearing your browser cache?
yup...i always clear up my browser cache using CCleaner..a freeware that clears up all the temporary files trash, etc...Can you mail me the recent version...is there any way to detect if I have a recent version or not??
-
Download the TT_Lib zip file - extract to a temporary location can open up
core.rb
in Notepad. See if it saysVERSION = '1.2.0
' somewhere in there.
Then you verify if it's a download problem or not. -
@thomthom said:
Download the TT_Lib zip file - extract to a temporary location can open up
core.rb
in Notepad. See if it saysVERSION = '1.2.0
' somewhere in there.
Then you verify if it's a download problem or not.It is version 1.2.0..i checked it out in the core.rb file.
CONSTANTS
# TT_Lib version constant. # @since 1.0.0 **VERSION = '1.2.0'** # Array indexes for VERSION.split('.') # @since 1.2.0 V_MAJOR = 0 V_MINOR = 1
.. what should I do now?? It's not a download problem of ..what's wrong with my file then??
-
I dunno... must be something in the way you copy the files to your plugins folder.
Are you using an administrator account? -
@thomthom said:
I dunno... must be something in the way you copy the files to your plugins folder.
Are you using an administrator account?yes i'm using an administrator account..in fact there's only one user of my computer...no other user exists ...
-
I don't know...
When you copy the files to the plugins folder (and you answer Yes to overwrite) do you see the filesize change? The file timestamp? When you open core.rb after copying it - do you see VERSION = '1.2.0' ?
-
@thomthom said:
When you copy the files to the plugins folder (and you answer Yes to overwrite) do you see the filesize change? The file timestamp?
yes I do see the filesize change. I also deleted the older selection toys folder, TT_Lib and .rb files but still no success. One weird thing is if I create a separate new plugins folder in SketchUp Directory and copy only the selection toys folder along with TT_lib..everything is fine [i.e. no error popup at startup of SketchUp] ...but the moment I cut paste the my other old plugins to this new folder....the problem reappears...
@thomthom said:
When you open core.rb after copying it - do you see VERSION = '1.2.0' ?
yes I do see the version 1.2.0
-
@arjunmax09 said:
...but the moment I cut paste the my other old plugins to this new folder....the problem reappears...
When you do that, are you asked to overwrite any files?
-
Looking at your screenshot of your plugins folder I see the error. You have lots of old TT_Lib files directly in your Plugins folder instead of the sub-folder they should be at.
I tried highlighting them, but I'm not sure if I got them all, and some might be plugins (the one I marked with questionmark)
-
@thomthom said:
Looking at your screenshot of your plugins folder I see the error. You have lots of old TT_Lib files directly in your Plugins folder instead of the sub-folder they should be at.
Thanks thomthom!!..I removed the files that you highlighted...no more popup on SketchUp start ... ..and yeah when i type TT_Lib::VERSION in ruby console i'm finally getting version 1.2.0 as the result...thanks a lot..!!
-
Glad it works -
Hi Thom!
Unfortunatly those toys grey out my right click menu (or in more ballanced words deleting of all toys
files\folders solve this problem). Could you take a closer look at the issue?
I need them badly
Thank in advance.
P.S. I'm talking about the last version of the toys + lib.
Advertisement