Announcement

Collapse
No announcement yet.

Problem Exporting Model

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem Exporting Model

    I get the following posted to the Ruby Console after attempting to export my model via Extensions -> V-Ray -> Export -> Pack Project. I assume it's a permissions thing, but what do I tell my I.T. guy so he can fix it?

    project_packer_tool(37):error: Permission denied @ rb_sysopen - C:/Users/eadams/AppData/Local/Temp/d20171012-12564-87vuie/22.ies
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1392:in `initialize'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1392:in `open'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1392:in `block in copy_file'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1391:in `open'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1391:in `copy_file'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:485:in `copy_file'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:402:in `block in cp'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1570:in `block in fu_each_src_dest'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1584:in `fu_each_src_dest0'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:1568:in `fu_each_src_dest'
    C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/fileutils.rb:401:in `cp'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:63:in `block (2 levels) in copy_dependencies'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:46:in `each'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:46:in `block in copy_dependencies'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:45:in `each'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:45:in `copy_dependencies'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/tools/project_packer_tool:24:in `activate'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/gui/commands:258:in `select_tool'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/gui/commands:258:in `block in <module:GUI>'
    SketchUp:1:in `call'
    materials_observer(69):error: "Could not update cache for #<Deleted Entity:0x7ca21820>"
    material_sync(94):error: reference to deleted Entity
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/special_objects/material_sync:34:in `model'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/special_objects/material_sync:34:in `to_vray'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/observers/materials_observer:39:in `onMaterialChange'
    materials_observer(69):error: "Could not update cache for #<Deleted Entity:0x7ca21820>"
    material_sync(94):error: reference to deleted Entity
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/special_objects/material_sync:34:in `model'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/special_objects/material_sync:34:in `to_vray'
    C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/observers/materials_observer:39:in `onMaterialChange'
    materials_observer(24):error: "No cached info for #<Deleted Entity:0x7ca21820>"
    Work:
    Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
    V-Ray Benchmark: CPU 00:52 | GPU 00:32

    Home:
    AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
    V-Ray Benchmark: CPU 00:47 | GPU 00:34
    https://pcpartpicker.com/list/kXKcxG

  • #2
    My I.T. guy just checked the Temp folder, and I do have full rights to that folder.
    Work:
    Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
    V-Ray Benchmark: CPU 00:52 | GPU 00:32

    Home:
    AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
    V-Ray Benchmark: CPU 00:47 | GPU 00:34
    https://pcpartpicker.com/list/kXKcxG

    Comment


    • #3
      We launched SketchUp with the domain-wide admin rights, and it exported the zip file, but it did not include the linked resources (.vrmesh & .ies files), but it did include the .jpg texture maps. When I open the V-Ray Asset Editor, it says the proxy paths are missing, even though we can navigate to the file location on the server using the exact same path.

      We added my user account to the Local Administrator group on my own machine, rebooted, and it's still not exporting a .zip file (get the same Ruby post above), but the file paths to the assets work fine.
      Work:
      Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
      V-Ray Benchmark: CPU 00:52 | GPU 00:32

      Home:
      AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
      V-Ray Benchmark: CPU 00:47 | GPU 00:34
      https://pcpartpicker.com/list/kXKcxG

      Comment


      • #4
        The silence is deafening.
        Work:
        Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
        V-Ray Benchmark: CPU 00:52 | GPU 00:32

        Home:
        AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
        V-Ray Benchmark: CPU 00:47 | GPU 00:34
        https://pcpartpicker.com/list/kXKcxG

        Comment


        • #5
          Apologies for the lack of timely response!
          Your problem has already been presented to the Dev team. I'm expecting an update from them on Monday.

          Kind regards,
          Peter
          Peter Chaushev
          V-Ray for SketchUp | V-Ray for Rhino | Product Owner
          www.chaos.com

          Comment


          • #6
            Could you please open the project, then the Ruby Console and paste the following line:

            Code:
            File.write("#{Dir.mktmpdir}/22.ies", "testing")
            Let me know what the result is.

            Kind regards,
            Peter
            Peter Chaushev
            V-Ray for SketchUp | V-Ray for Rhino | Product Owner
            www.chaos.com

            Comment


            • #7
              This is what it says:

              File.write("#{Dir.mktmpdir}/22.ies", "testing")
              7
              Work:
              Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
              V-Ray Benchmark: CPU 00:52 | GPU 00:32

              Home:
              AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
              V-Ray Benchmark: CPU 00:47 | GPU 00:34
              https://pcpartpicker.com/list/kXKcxG

              Comment


              • #8
                I looked into this a little and I am not entirely sure what the problem is. We are using standard ruby library calls to copy files and they are failing on us. It seems that when copying files, ruby FileUtils will attempt to preserve the file permissions of the source file. If SketchUp is running with permissions other than those of the source files it may fail to copy files with these permissions.

                Please check to see what the permissions are for these assets (ies and vrmesh) and let us know if anything seems out of the ordinary. Thanks for your help.

                Comment


                • #9
                  As best as we can tell, all linked ies and vrmesh files have the same permissions as my sketchup models (see attached). We even went so far as to try changing the permissions of the shortcut that is launching SketchUp (thinking maybe the shortcut was passing permissions to the exe when launched), but that had no success either.
                  Work:
                  Dell Precision T7910, Dual Xeon E5-2640 v4 @ 2.40GHz | 32GB RAM | NVIDIA Quadro P2000 5gb | NVIDIA GeForce GTX 980Ti 6GB | NVIDIA GeForce GTX 1080Ti 11GB
                  V-Ray Benchmark: CPU 00:52 | GPU 00:32

                  Home:
                  AMD Threadripper 1950X 3.4GHz 16-Core | 32GB RAM | (2) NVIDIA GeForce GTX 1080Ti 11GB
                  V-Ray Benchmark: CPU 00:47 | GPU 00:34
                  https://pcpartpicker.com/list/kXKcxG

                  Comment


                  • #10
                    maybe it has something to do with Visual C++ 14, since it started after a had this Visual C++ error upon repairing my SketchUp 2018 installation.

                    Comment


                    • #11
                      project_packer_tool(36):error: Permission denied @ rb_sysopen - C:/Users/andre/AppData/Local/Temp/d20180410-11196-10kovsa/19.ies
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1392:in `initialize'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1392:in `open'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1392:in `block in copy_file'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1391:in `open'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1391:in `copy_file'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:485:in `copy_file'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:402:in `block in cp'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1570:in `block in fu_each_src_dest'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1584:in `fu_each_src_dest0'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:1568:in `fu_each_src_dest'
                      C:/PROGRA~1/SketchUp/SKETCH~1/Tools/RubyStdLib/fileutils.rb:401:in `cp'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:62:in `block (2 levels) in copy_dependencies'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:45:in `each'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:45:in `block in copy_dependencies'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:44:in `each'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:44:in `copy_dependencies'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/tools/project_packer_tool:23:in `activate'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:310:in `select_tool'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:310:in `block in <module:GUI>'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:13:in `call'
                      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:13:in `block in generate_command'
                      SketchUp:1:in `call'

                      Comment


                      • #12
                        AndreMelo , thank you for the detailed info! Our dev team is working on a solution based on it for the upcoming v3.60.03.

                        Kind regards,
                        Peter
                        Peter Chaushev
                        V-Ray for SketchUp | V-Ray for Rhino | Product Owner
                        www.chaos.com

                        Comment

                        Working...
                        X