• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] UV Toolkit

Scheduled Pinned Locked Moved Plugins
377 Posts 86 Posters 298.7k Views
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.
  • S Offline
    sepo
    last edited by 2 Sept 2012, 18:05

    load 'tt_uv_toolkit_2.rb'
    /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:46: warning: already initialized constant VERSION
    /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:47: warning: already initialized constant PREF_KEY
    /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:48: warning: already initialized constant TITLE
    true

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 2 Sept 2012, 19:26

      This suggests to me that you have some duplicate files loading...
      One file where it ought to be and one already inside Plugins - where you have messed up an install earlier on...
      Please refer to the original tools' pages about 'what goes where'...
      Also check that nothing inside one of these tool's subfolders is also now inside the Plugins folder, e.g. if [on the of chance ๐Ÿ˜’ ] you have mis-installed files in the incorrect places earlier and you have failed to think about trying to rectifying your balls-up before restarting !

      TIG

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 2 Sept 2012, 20:28

        @tig said:

        This suggests to me that you have some duplicate files loading...

        No - I asked him to do that after SU had started. Those warning are there because the constants where defined when SU started. I was hoping that manually reloading would give me a full call stack trace... alas...

        Thomas Thomassen โ€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 2 Sept 2012, 21:49

          Alack!
          I'm sure there's a simple explanation to how he's balls-up this all up...
          I'm sure its PEBKAC...

          TIG

          1 Reply Last reply Reply Quote 0
          • S Offline
            sepo
            last edited by 3 Sept 2012, 06:55

            If I remove UV tools and lib.. I do not have problem.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sepo
              last edited by 3 Sept 2012, 06:58

              I have reinstalled the tools and lib....and same error appears.

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 3 Sept 2012, 07:47

                @sepo said:

                I have reinstalled the tools and lib....and same error appears.

                If you install it via this utility?
                http://forums.sketchucation.com/viewtopic.php?t=42315#p375454

                Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 3 Sept 2012, 07:49

                  @sepo said:

                  Hi Thomas

                  I am trying to install your plugin on my Imac and it is posting this error.

                  Plugins/TT_UV_Toolkit/loader.rb
                  > can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
                  > can't convert nil into String
                  

                  The error message actually included this string "Plugins/TT_UV_Toolkit/loader.rb" ?

                  What if you type in the Ruby Console: load 'TT_UV_Toolkit/loader.rb' - what messages do you get then?

                  Can we see a screenshot of your Plugins folder? (Please include the whole Finder window)

                  Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sepo
                    last edited by 3 Sept 2012, 15:15

                    you can see plugin folder and SU folder here
                    http://forums.sketchucation.com/viewtopic.php?f=323&t=25362&start=300
                    I will try the ruby console when I get back home.
                    thanks for looking into this.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sepo
                      last edited by 3 Sept 2012, 15:49

                      > load 'TT_UV_Toolkit/loader.rb'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;27; warning; already initialized constant BB_LEFT_FRONT_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;28; warning; already initialized constant BB_RIGHT_FRONT_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;29; warning; already initialized constant BB_LEFT_BACK_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;30; warning; already initialized constant BB_RIGHT_BACK_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;31; warning; already initialized constant BB_LEFT_FRONT_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;32; warning; already initialized constant BB_RIGHT_FRONT_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;33; warning; already initialized constant BB_LEFT_BACK_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;34; warning; already initialized constant BB_RIGHT_BACK_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;36; warning; already initialized constant BB_CENTER_FRONT_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;37; warning; already initialized constant BB_CENTER_BACK_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;38; warning; already initialized constant BB_CENTER_FRONT_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;39; warning; already initialized constant BB_CENTER_BACK_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;41; warning; already initialized constant BB_LEFT_CENTER_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;42; warning; already initialized constant BB_LEFT_CENTER_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;43; warning; already initialized constant BB_RIGHT_CENTER_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;44; warning; already initialized constant BB_RIGHT_CENTER_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;46; warning; already initialized constant BB_LEFT_FRONT_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;47; warning; already initialized constant BB_RIGHT_FRONT_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;48; warning; already initialized constant BB_LEFT_BACK_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;49; warning; already initialized constant BB_RIGHT_BACK_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;51; warning; already initialized constant BB_LEFT_CENTER_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;52; warning; already initialized constant BB_RIGHT_CENTER_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;53; warning; already initialized constant BB_CENTER_FRONT_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;54; warning; already initialized constant BB_CENTER_BACK_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;55; warning; already initialized constant BB_CENTER_CENTER_TOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;56; warning; already initialized constant BB_CENTER_CENTER_BOTTOM
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;58; warning; already initialized constant BB_CENTER_CENTER_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;59; warning; already initialized constant BB_CENTER
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;64; warning; already initialized constant MB_ICONHAND
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;65; warning; already initialized constant MB_ICONSTOP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;66; warning; already initialized constant MB_ICONERROR
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;67; warning; already initialized constant MB_ICONQUESTION
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;68; warning; already initialized constant MB_ICONEXCLAMATION
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;69; warning; already initialized constant MB_ICONWARNING
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;70; warning; already initialized constant MB_ICONASTERISK
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;71; warning; already initialized constant MB_ICONINFORMATION
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;72; warning; already initialized constant MB_ICON_NONE
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;74; warning; already initialized constant MB_DEFBUTTON1
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;75; warning; already initialized constant MB_DEFBUTTON2
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;76; warning; already initialized constant MB_DEFBUTTON3
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;77; warning; already initialized constant MB_DEFBUTTON4
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;82; warning; already initialized constant MESH_SHARP
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;83; warning; already initialized constant MESH_SOFT
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;84; warning; already initialized constant MESH_SMOOTH
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;85; warning; already initialized constant MESH_SOFT_SMOOTH
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;90; warning; already initialized constant POINT_OPEN_SQUARE
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;91; warning; already initialized constant POINT_FILLED_SQUARE
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;92; warning; already initialized constant POINT_CROSS
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;93; warning; already initialized constant POINT_X
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;94; warning; already initialized constant POINT_STAR
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;95; warning; already initialized constant POINT_OPEN_TRIANGLE
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;96; warning; already initialized constant POINT_FILLED_TRIANGLE
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;108; warning; already initialized constant VERSION
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;112; warning; already initialized constant PREF_KEY
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/system.rb;16; warning; already initialized constant PLATFORM_IS_OSX
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/system.rb;19; warning; already initialized constant PLATFORM_IS_WINDOWS
                      Error; #<TypeError; /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/system.rb;22;in `expand_path'; can't convert nil into String>
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_UV_Toolkit/loader.rb;34
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/system.rb;22
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/win32.rb;9;in `require'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/win32.rb;9
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/debug.rb;9;in `require'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/debug.rb;9
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;400;in `require'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;400
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;399;in `each'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/core.rb;399
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_UV_Toolkit/loader.rb;34;in `require'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_UV_Toolkit/loader.rb;34
                      (eval);155;in `load'
                      (eval);155
                      
                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sepo
                        last edited by 3 Sept 2012, 16:11

                        @thomthom said:

                        @sepo said:

                        I have reinstalled the tools and lib....and same error appears.

                        If you install it via this utility?
                        http://forums.sketchucation.com/viewtopic.php?t=42315#p375454

                        after installing in this way it posts same error

                        Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_UV_Toolkit/loader.rb
                        can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
                        can't convert nil into String
                        
                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 3 Sept 2012, 16:35

                          huh!.... appear to be no temp path set in the environment variables...

                          Type this into the Ruby Console:
                          ENV.each { |k,v| puts "#{k.inspect} : #{v.inspect}" }; nil

                          Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sepo
                            last edited by 3 Sept 2012, 16:43

                            ENV.each { |k,v| puts "#{k.inspect} : #{v.inspect}" }; nil
                            "PATH" : "/usr/bin:/bin:/usr/sbin:/sbin"
                            "DISPLAY" : "/tmp/launch-MHvctR/org.x:0"
                            "SSH_AUTH_SOCK" : "/tmp/launch-Vm9A84/Listeners"
                            "Apple_Ubiquity_Message" : "/tmp/launch-bpbd2b/Apple_Ubiquity_Message"
                            "Apple_PubSub_Socket_Render" : "/tmp/launch-33EI0M/Render"
                            "COMMAND_MODE" : "unix2003"
                            "IG_ROOT" : "/Applications/Google SketchUp 8/SketchUp.app/Contents/Resources"
                            nil

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 3 Sept 2012, 17:09

                              My suspicion is confirmed.
                              But I don't understand - it gives no info about where the system temp path should be. ๐Ÿ˜ฎ ๐Ÿ˜ฒ ๐Ÿ˜•

                              Exactly what OS do you have?

                              Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sepo
                                last edited by 3 Sept 2012, 17:11

                                Lion 10.7.4

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sepo
                                  last edited by 3 Sept 2012, 17:15

                                  Could it be because it is installed in the root? just guess.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 3 Sept 2012, 17:18

                                    When you installed Sketchup did you accept the default folder location ?
                                    The ENV variable should contain lots of data - like your user-paths, temp/tmp folders etc...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 3 Sept 2012, 17:21

                                      @sepo said:

                                      Could it be because it is installed in the root? just guess.

                                      I have no idea. I'm not that familiar with OSX - but this is the first time anyone ever reported an issue like this. I've also never seen a complete lack of environment variables... ๐Ÿ˜•

                                      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sepo
                                        last edited by 3 Sept 2012, 17:52

                                        @tig said:

                                        When you installed Sketchup did you accept the default folder location ?
                                        The ENV variable should contain lots of data - like your user-paths, temp/tmp folders etc...

                                        Yes

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sepo
                                          last edited by 4 Sept 2012, 13:07

                                          OK, I solved problem now. I created the account and moved all software to that account and now everything loads fine so far. So it looks like Mac does not like when some stuff is installed on root. It seems to me it requires creating account.
                                          Thanks for your help Thomas.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 14
                                          • 15
                                          • 16
                                          • 17
                                          • 18
                                          • 19
                                          • 16 / 19
                                          16 / 19
                                          • First post
                                            305/377
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement