[Plugin] UV Toolkit
-
Hey
getting this error below;
Error Loading File tt_uv_toolkit_2.rb
undefined method `add_item' for nil:NilClassIve got the latest lib in the plugin folder as well
any help would be appreciatedCheers
Justin -
@justo said:
Hey
getting this error below;
Error Loading File tt_uv_toolkit_2.rb
undefined method `add_item' for nil:NilClassIve got the latest lib in the plugin folder as well
any help would be appreciatedCheers
JustinI'm guessing you didn't extract it correctly and places all .rb files in the Plugins folder?
If you look at the bottom of the first post you see an example of the footprint for the files.
In the plugins folder you should havett_uv_toolkit_2.rb
and a folderTT_UV_Toolkit
which contains other .rb files. -
i believe they're in the right spots?
tt_uv_toolkit_2.rb is in plugin folder
and folder TT_UV_Toolkit contains clipboard, core, memory, and quadface .rb files.
TT_Lib2 is in plugin folder.if it makes a difference, this is the first time ive tried to use this plugin (no older versions)
-
hm...
Ok - do this for me:
Open the Ruby Console (Window > Ruby Console)Type:
load 'tt_uv_toolkit_2.rb'
Post back the full message it reports back. -
load 'tt_uv_toolkit_2.rb'
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:59: warning: already initialized constant BB_LEFT_FRONT_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:60: warning: already initialized constant BB_RIGHT_FRONT_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:61: warning: already initialized constant BB_LEFT_BACK_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:62: warning: already initialized constant BB_RIGHT_BACK_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:63: warning: already initialized constant BB_LEFT_FRONT_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:64: warning: already initialized constant BB_RIGHT_FRONT_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:65: warning: already initialized constant BB_LEFT_BACK_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:66: warning: already initialized constant BB_RIGHT_BACK_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:68: warning: already initialized constant BB_CENTER_FRONT_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:69: warning: already initialized constant BB_CENTER_BACK_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:70: warning: already initialized constant BB_CENTER_FRONT_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:71: warning: already initialized constant BB_CENTER_BACK_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:73: warning: already initialized constant BB_LEFT_CENTER_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:74: warning: already initialized constant BB_LEFT_CENTER_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:75: warning: already initialized constant BB_RIGHT_CENTER_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:76: warning: already initialized constant BB_RIGHT_CENTER_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:78: warning: already initialized constant BB_LEFT_FRONT_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:79: warning: already initialized constant BB_RIGHT_FRONT_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:80: warning: already initialized constant BB_LEFT_BACK_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:81: warning: already initialized constant BB_RIGHT_BACK_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:83: warning: already initialized constant BB_LEFT_CENTER_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:84: warning: already initialized constant BB_RIGHT_CENTER_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:85: warning: already initialized constant BB_CENTER_FRONT_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:86: warning: already initialized constant BB_CENTER_BACK_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:87: warning: already initialized constant BB_CENTER_CENTER_TOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:88: warning: already initialized constant BB_CENTER_CENTER_BOTTOM
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:90: warning: already initialized constant BB_CENTER_CENTER_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:91: warning: already initialized constant BB_CENTER
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:96: warning: already initialized constant MB_ICONHAND
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:97: warning: already initialized constant MB_ICONSTOP
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:98: warning: already initialized constant MB_ICONERROR
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:99: warning: already initialized constant MB_ICONQUESTION
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb warning: already initialized constant MB_ICONEXCLAMATION
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:101: warning: already initialized constant MB_ICONWARNING
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:102: warning: already initialized constant MB_ICONASTERISK
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:103: warning: already initialized constant MB_ICONINFORMATION
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:104: warning: already initialized constant MB_ICON_NONE
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:106: warning: already initialized constant MB_DEFBUTTON1
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:107: warning: already initialized constant MB_DEFBUTTON2
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:108: warning: already initialized constant MB_DEFBUTTON3
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:109: warning: already initialized constant MB_DEFBUTTON4
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:120: warning: already initialized constant VERSION
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:124: warning: already initialized constant V_MAJOR
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:128: warning: already initialized constant V_MINOR
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:132: warning: already initialized constant V_REV
Error: #<NoMethodError: undefined methodadd_item' for nil:NilClass> D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27 D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:213:in
require'
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:213
D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:212:ineach' D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:212 D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27:in
require'
D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27
(eval):58:in `load'
(eval):58 -
I'm not making any sense out of this.Error; #<NoMethodError; undefined method `add_item' for nil;NilClass> D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27 D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;213;in `require' D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;213 D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;212;in `each' D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;212 D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27;in `require' D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27 (eval);58;in `load' (eval);58
tt_uv_toolkit_2.rb doesn't have any
add_item
at line 27. ...it doesn't have any.add_item
at all.
Nor do I understand the backtrace why TT_Lib2/core.rb is referred... It looks like it throws an error while loading TT_Lib2, but also that doesn't use .att_item.Just to be sure: you installed UV Toolkit
2.1.0
and TT_Lib22.4.0
?
Can I see a screenshot of your TT_Lib2 folder? (And your Plugins folder? (Maybe there's a conflict somewhere...) )What OS do you use? If Windows, have you got an User or Administrator account? UAC enabled?
-
Yup they are the latest versions... I downloaded them from your links only a few hours ago.
Is it worth trying an older version?anyways I'll have to get back to you about the screenshot... past my bedtime and ill be away for a few days.
Thanks anyways for your help.
-
@justo said:
Is it worth trying an older version?
No.
But did you update TT_Lib2? If so, did you remove the old TT_Lib2 first? -
Sorry to waste your time...
Just had a thought, I remember I didnt have the 2.4 Lib (any) installed before I had the uv toolkit in there...
So I just deleted both the folders and the toolkit.rb and re extracted both in... all sorted.
Cheers
Justin -
Ah - good to hear it's working again.
(btw - update to both is coming in a day or two. )
-
@thomthom said:
(btw - update to both is coming in a day or two. )
How about that UV copy > paste function then?
-
-
Any time later? -
@gaieus said:
Any time later?Absolutely. I just need to get these releases out. I kept on adding more and more features - never get anything release like that.
Smaller more often releases - what I'll be trying to do. -
-
Version 2.2.0
- UV Memory stores backside
- UV Memory cleans up UV data
- UV Memory toolbar buttons
- UV Memory fixes
- UV Clipboard supports multiple copy
- Extension support
Remember to update TT_Lib2
-
Your on a roll
-
ThomThom,
I cannot get it to work on that dome I sent you. In fact, the copy and paste buttons remain greyed out no matter what I do.
TT_Lib also updated correctly.
-
Hm. It works only on quads?
-
@gaieus said:
Hm. It works only on quads?
Yes, that feature is only quads. It's not the UV copy/paste for meshes as you want. That will come at a later release.
This version is to copy the UV mapping of one quad face onto another quadface - keeping the UVs relative to the shape of the quads.
Advertisement