[Plugin] TT_Lib²
-
Hi Thomthom,
Just a note.
I was recently installing (through plugin store auto-install) either selection_toys or edge_tools... (or it may have been another, not 100% sure), and I was missing or had an outdated version of TT_Lib2, so it prompted me with a window to click and download the latest tt_Lib2, just that the version it was pointing me to was an outdated one.I may have had tt_lib1 laying around in my plugins folder, which may have been causing some confusion... I really don't know, but anyway, for your info.
Great great plugins!!!
-
Hi Thomas
I installed TT_Lib2 2.9.1 and this message popped up;After reinstalling TT_Lib2 2.7.1, everything works just fine again as usual.
-
Hmm... must be some differences in the environment variable between Win8/7/Vista and XP.
Can you open the Ruby Console and give me the result of
ENV.each { |k,v| puts "#{k} = #{v}" }
? Then I can make a patch for this. -
Hi Thomas - I'm am having same problem with 2.9.1 - reverted to 2.8.3 and all is well. Here is my similar Ruby info you requested of irwanwr:
ENV.each { |k,v| puts "#{k} = #{v}" }
ALLUSERSPROFILE = C:\Documents and Settings\All Users
APPDATA = C:\Documents and Settings\Gary\Application Data
CLIENTNAME = Console
CommonProgramFiles = C:\Program Files\Common Files
COMPUTERNAME = GARY-48BB76102C
ComSpec = C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK = NO
HOMEDRIVE =
HOMEPATH = \Documents and Settings\Gary
LOGONSERVER = \GARY-48BB76102C
NUMBER_OF_PROCESSORS = 2
OS = Windows_NT
Path = C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Autodesk Shared;C:\WINDOWS\system32\WindowsPowerShell\v1.0
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PROCESSOR_ARCHITECTURE = x86
PROCESSOR_IDENTIFIER = x86 Family 15 Model 67 Stepping 3, AuthenticAMD
PROCESSOR_LEVEL = 15
PROCESSOR_REVISION = 4303
ProgramFiles = C:\Program Files
SESSIONNAME = Console
SystemDrive =
SystemRoot = C:\WINDOWS
TEMP = C:\DOCUME~1\Gary\LOCALS~1\Temp
TMP = C:\DOCUME~1\Gary\LOCALS~1\Temp
USERDOMAIN = GARY-48BB76102C
USERNAME = Gary
USERPROFILE = C:\Documents and Settings\Gary
windir = C:\WINDOWS
{"ALLUSERSPROFILE"=>"C:\Documents and Settings\All Users", "APPDATA"=>"C:\Documents and Settings\Gary\Application Data", "CLIENTNAME"=>"Console", "CommonProgramFiles"=>"C:\Program Files\Common Files", "COMPUTERNAME"=>"GARY-48BB76102C", "ComSpec"=>"C:\WINDOWS\system32\cmd.exe", "FP_NO_HOST_CHECK"=>"NO", "HOMEDRIVE"=>"C:", "HOMEPATH"=>"\Documents and Settings\Gary", "LOGONSERVER"=>"\\GARY-48BB76102C", "NUMBER_OF_PROCESSORS"=>"2", "OS"=>"Windows_NT", "Path"=>"C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Autodesk Shared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0", "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1", "PROCESSOR_ARCHITECTURE"=>"x86", "PROCESSOR_IDENTIFIER"=>"x86 Family 15 Model 67 Stepping 3, AuthenticAMD", "PROCESSOR_LEVEL"=>"15", "PROCESSOR_REVISION"=>"4303", "ProgramFiles"=>"C:\Program Files", "SESSIONNAME"=>"Console", "SystemDrive"=>"C:", "SystemRoot"=>"C:\WINDOWS", "TEMP"=>"C:\DOCUME~1\Gary\LOCALS~1\Temp", "TMP"=>"C:\DOCUME~1\Gary\LOCALS~1\Temp", "USERDOMAIN"=>"GARY-48BB76102C", "USERNAME"=>"Gary", "USERPROFILE"=>"C:\Documents and Settings\Gary", "windir"=>"C:\WINDOWS"} -
Thanks for the feedback. I think I have a fix - but I don't have an XP machine to test on.
I've uploaded a new version on BitBucket: https://bitbucket.org/thomthom/tt-library-2/downloads
Can you try that and let me know if it works. Then I can upload it to the Plugin Store and Extension Warehouse.
-
Hi,
I have installed "TT_Lib_v2.9.1.rbz" and now get the message as shown below. I have full access to the plugins folder.
In the "virtual store" I can only find DEFPARAM_Dir and Fredo6Trace.txt and these exists in the plugins folder.Thanks in advance for a hint.
Charly
-
Maybe these files where created before you had full access to the plugins folder?
In any case, the files in VirtualStore should either be moved to the actual Plugins folder or removed. -
Charly same problem. (In SU8).
I have full access to the plugins folder.
And the folder "virtual store" is empty. -
Hi Thomas,
Previously I always had full access as an administrator. The Content from the virtual store, I moved to the plugins folder. The message still appears.
I have tried again with TT_Lib2-2.9.2.rbz but the result is the same.
I have now switched back to TT_Lib2-2.8.3.rbz. No Problems.
-
Being an administrator does not guarantee full security permissions to folders within the Program Files tree. By default everyone gets 'read-only'.
So you need to select the Plugins folder's icon:
right-click
context-menu
Properties
Security
Edit...
and give every entry FULL permissions
Apply/OK.Also in the same folder as the Plugins folder find SketchUp.exe, select it and:
right-click
context-menu
Properties
Compatibility
Tick the 'Always run as administrator' box...
Apply/OK.Also make sure that the Plugins folder does not have a custom icon - this is known to have subtle effects on permissions that report FULL but are really slightly reduced
-
After you removed the content of the VirtualStore Plugins folder - did you also remove it?
(I might have to change the detection code to not raise a message if the folder exist but is empty. At the moment it will alter the user by just being there.)
-
Thomas,
The procedure indicated by TIM has been active for a long time on my computer.
The folder "virtual store" is empty.
But the warning reappears always, to the opening of SU8.
Earlier Library, as well as all installed plugins, do not have
given problems.
In SU2013, the question does not arise. The thing does not happen. -
@tt_su said:
Thanks for the feedback. I think I have a fix - but I don't have an XP machine to test on.
I've uploaded a new version on BitBucket: https://bitbucket.org/thomthom/tt-library-2/downloads
Can you try that and let me know if it works. Then I can upload it to the Plugin Store and Extension Warehouse.
Hi - 2.9.2 same Load Errors as 2.9.1 Tried change rbz => zip => unpacked => copied to "plugins" and also installed directly thru Preferences as rbz. Same results. Also deleting TT_lib folder and .rb before installing 2.9.2.
I guess the time is coming to change OS to something that doesn't require the use of hi grade metallurgical anthracite.
Error Loading File tt_cleanup.rb
can't convert nil into StringError Loading File tt_shell.rb
can't convert nil into StringError Loading File C:/Program Files/Google/Google SketchUp 8/Plugins/tt_solid_inspector/core.rb
can't convert nil into StringError Loading File tt_solid_inspector.rb
can't convert nil into String
From Ruby Console:
ENV.each { |k,v| puts "#{k} = #{v}" }
ALLUSERSPROFILE = C:\Documents and Settings\All Users
APPDATA = C:\Documents and Settings\Gary\Application Data
CLIENTNAME = Console
CommonProgramFiles = C:\Program Files\Common Files
COMPUTERNAME = GARY-48BB76102C
ComSpec = C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK = NO
HOMEDRIVE =
HOMEPATH = \Documents and Settings\Gary
LOGONSERVER = \GARY-48BB76102C
NUMBER_OF_PROCESSORS = 2
OS = Windows_NT
Path = C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Autodesk Shared;C:\WINDOWS\system32\WindowsPowerShell\v1.0
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PROCESSOR_ARCHITECTURE = x86
PROCESSOR_IDENTIFIER = x86 Family 15 Model 67 Stepping 3, AuthenticAMD
PROCESSOR_LEVEL = 15
PROCESSOR_REVISION = 4303
ProgramFiles = C:\Program Files
SESSIONNAME = Console
SystemDrive =
SystemRoot = C:\WINDOWS
TEMP = C:\DOCUME~1\Gary\LOCALS~1\Temp
TMP = C:\DOCUME~1\Gary\LOCALS~1\Temp
USERDOMAIN = GARY-48BB76102C
USERNAME = Gary
USERPROFILE = C:\Documents and Settings\Gary
windir = C:\WINDOWS
{"ALLUSERSPROFILE"=>"C:\Documents and Settings\All Users", "APPDATA"=>"C:\Documents and Settings\Gary\Application Data", "CLIENTNAME"=>"Console", "CommonProgramFiles"=>"C:\Program Files\Common Files", "COMPUTERNAME"=>"GARY-48BB76102C", "ComSpec"=>"C:\WINDOWS\system32\cmd.exe", "FP_NO_HOST_CHECK"=>"NO", "HOMEDRIVE"=>"C:", "HOMEPATH"=>"\Documents and Settings\Gary", "LOGONSERVER"=>"\\GARY-48BB76102C", "NUMBER_OF_PROCESSORS"=>"2", "OS"=>"Windows_NT", "Path"=>"C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Autodesk Shared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0", "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1", "PROCESSOR_ARCHITECTURE"=>"x86", "PROCESSOR_IDENTIFIER"=>"x86 Family 15 Model 67 Stepping 3, AuthenticAMD", "PROCESSOR_LEVEL"=>"15", "PROCESSOR_REVISION"=>"4303", "ProgramFiles"=>"C:\Program Files", "SESSIONNAME"=>"Console", "SystemDrive"=>"C:", "SystemRoot"=>"C:\WINDOWS", "TEMP"=>"C:\DOCUME~1\Gary\LOCALS~1\Temp", "TMP"=>"C:\DOCUME~1\Gary\LOCALS~1\Temp", "USERDOMAIN"=>"GARY-48BB76102C", "USERNAME"=>"Gary", "USERPROFILE"=>"C:\Documents and Settings\Gary", "windir"=>"C:\WINDOWS"} -
@micione said:
Thomas,
The procedure indicated by TIM has been active for a long time on my computer.
The folder "virtual store" is empty.That's because the previous versions would simply check if there was a Plugins folder in the VirtualStore. It didn't check if it was empty.
I just uploaded a new version that checks if there actually is files there before warning. I think that should fix this.
-
@g_wilson said:
Error Loading File tt_cleanup.rb
can't convert nil into StringError Loading File tt_shell.rb
can't convert nil into StringError Loading File C:/Program Files/Google/Google SketchUp 8/Plugins/tt_solid_inspector/core.rb
can't convert nil into StringError Loading File tt_solid_inspector.rb
can't convert nil into StringWait - these are different errors... don't think that is related to the VirtualStore.
All these errors refer to other plugins.
What's the output if you open the Ruby Console and type in:load 'tt_cleanup.rb'
? -
Thomas,
The new version 2.9.3 seems to have solved the problem.
Thank you. -
Hi again - this may be a wild goose chase. I just closed SU8 and after exiting - up pops bugsplat window. I have attached .dmp file - closed bugsplat without being smart enough to send to trimble but searched out .dmp file. I tried 4 times to repeat bugsplat but no joy - exited cleanly. The bugsplat occurred with a new blank my default .skp as per usual.
OOPS - won't send .dmp file - renamed .txt
Stubborn bloody thing - now attached as .zip
-
@thomthom said:
@g_wilson said:
Error Loading File tt_cleanup.rb
can't convert nil into StringError Loading File tt_shell.rb
can't convert nil into StringError Loading File C:/Program Files/Google/Google SketchUp 8/Plugins/tt_solid_inspector/core.rb
can't convert nil into StringError Loading File tt_solid_inspector.rb
can't convert nil into StringWait - these are different errors... don't think that is related to the VirtualStore.
All these errors refer to other plugins.
What's the output if you open the Ruby Console and type in:load 'tt_cleanup.rb'
?Per request RESULT:
load 'tt_cleanup.rb'
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:27: warning: already initialized constant BB_LEFT_FRONT_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:28: warning: already initialized constant BB_RIGHT_FRONT_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:29: warning: already initialized constant BB_LEFT_BACK_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:30: warning: already initialized constant BB_RIGHT_BACK_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:31: warning: already initialized constant BB_LEFT_FRONT_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:32: warning: already initialized constant BB_RIGHT_FRONT_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:33: warning: already initialized constant BB_LEFT_BACK_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:34: warning: already initialized constant BB_RIGHT_BACK_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:36: warning: already initialized constant BB_CENTER_FRONT_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:37: warning: already initialized constant BB_CENTER_BACK_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:38: warning: already initialized constant BB_CENTER_FRONT_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:39: warning: already initialized constant BB_CENTER_BACK_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:41: warning: already initialized constant BB_LEFT_CENTER_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:42: warning: already initialized constant BB_LEFT_CENTER_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:43: warning: already initialized constant BB_RIGHT_CENTER_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:44: warning: already initialized constant BB_RIGHT_CENTER_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:46: warning: already initialized constant BB_LEFT_FRONT_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:47: warning: already initialized constant BB_RIGHT_FRONT_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:48: warning: already initialized constant BB_LEFT_BACK_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:49: warning: already initialized constant BB_RIGHT_BACK_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:51: warning: already initialized constant BB_LEFT_CENTER_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:52: warning: already initialized constant BB_RIGHT_CENTER_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:53: warning: already initialized constant BB_CENTER_FRONT_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:54: warning: already initialized constant BB_CENTER_BACK_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:55: warning: already initialized constant BB_CENTER_CENTER_TOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:56: warning: already initialized constant BB_CENTER_CENTER_BOTTOM
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:58: warning: already initialized constant BB_CENTER_CENTER_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:59: warning: already initialized constant BB_CENTER
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:64: warning: already initialized constant MB_ICONHAND
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:65: warning: already initialized constant MB_ICONSTOP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:66: warning: already initialized constant MB_ICONERROR
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:67: warning: already initialized constant MB_ICONQUESTION
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:68: warning: already initialized constant MB_ICONEXCLAMATION
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:69: warning: already initialized constant MB_ICONWARNING
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:70: warning: already initialized constant MB_ICONASTERISK
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:71: warning: already initialized constant MB_ICONINFORMATION
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:72: warning: already initialized constant MB_ICON_NONE
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:74: warning: already initialized constant MB_DEFBUTTON1
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:75: warning: already initialized constant MB_DEFBUTTON2
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:76: warning: already initialized constant MB_DEFBUTTON3
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:77: warning: already initialized constant MB_DEFBUTTON4
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:82: warning: already initialized constant MESH_SHARP
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:83: warning: already initialized constant MESH_SOFT
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:84: warning: already initialized constant MESH_SMOOTH
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:85: warning: already initialized constant MESH_SOFT_SMOOTH
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:90: warning: already initialized constant POINT_OPEN_SQUARE
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:91: warning: already initialized constant POINT_FILLED_SQUARE
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:92: warning: already initialized constant POINT_CROSS
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:93: warning: already initialized constant POINT_X
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:94: warning: already initialized constant POINT_STAR
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:95: warning: already initialized constant POINT_OPEN_TRIANGLE
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:96: warning: already initialized constant POINT_FILLED_TRIANGLE
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:114: warning: already initialized constant VERSION
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:118: warning: already initialized constant PREF_KEY
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:121: warning: already initialized constant PATH
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:122: warning: already initialized constant PATH_LIBS
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:125: warning: already initialized constant PATH_LIBS_CEXT
Error: #<TypeError: C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:249:inexist?': can't convert nil into String> C:/Program Files/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:90 C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:249:in
virtualstore_check'
C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:450
C:/Program Files/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:89:inrequire' C:/Program Files/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:89 (eval):232:in
load'
(eval):232 -
@micione said:
Thomas,
The new version 2.9.3 seems to have solved the problem.
Thank you.@g_wilson said:
Hi again - this may be a wild goose chase. I just closed SU8 and after exiting - up pops bugsplat window. I have attached .dmp file - closed bugsplat without being smart enough to send to trimble but searched out .dmp file. I tried 4 times to repeat bugsplat but no joy - exited cleanly. The bugsplat occurred with a new blank my default .skp as per usual.
OOPS - won't send .dmp file - renamed .txt
Stubborn bloody thing - now attached as .zip
So this crash doesn't repeat itself?
Have you also tried the latest 2.9.3 version? Are things working better then?
-
@g_wilson said:
Error: #<TypeError: C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:249:in
exist?': can't convert nil into String> C:/Program Files/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:90 C:/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:249:in
virtualstore_check'hm.... this might be yet another bug. Let me just quickly update with a new patch.
(I wish I had access to an XP machine right now...)
Advertisement