Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

sketchup 2019 openstudio plugin User Scripts Reports function failure

asked 2020-10-09 22:48:30 -0500

colinchen4 gravatar image

updated 2020-10-10 14:16:18 -0500

Hello, I'm using the newest version openstudio sketchup plugin v1.0.1. However, all the functions under Reports are failed to work at all. I reinstalled the openstudio plugin, and tried a few new models, but the problem presists. I understand the report function is relatively an old function, but it is quite helpful to calculate the spaces not assigned with thermal zones. As I ran the space type report in Sketchup 2019, the Ruby console showed the following lines:


Running Space Type Report Error occurred while running user script: Invalid argument @ rb_sysopen - "D:\Projects\Baohua_SpaceTypeReport.csv_.csv" (Errno::EINVAL)

["C:/Users/Dell/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/openstudio/user_scripts/Reports/SpaceType_Report.rb:221:in initialize'", "C:/Users/Dell/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/openstudio/user_scripts/Reports/SpaceType_Report.rb:221:inopen'", "C:/Users/Dell/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/openstudio/user_scripts/Reports/SpaceType_Report.rb:221:in run'", "C:/Users/Dell/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/openstudio/lib/PluginUserScriptRunner.rb:386:inrun_user_script'", "C:/Users/Dell/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/openstudio/lib/MenuManager.rb:950:in `block in add_user_script'"] User script Space Type Report completed with errors

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-10-14 01:00:37 -0500

updated 2020-10-14 01:05:23 -0500

I think I have a fix for this here, this will be fixed for the 1.1.0 release.

If you have the chance to test this, I uploaded a RBZ installer for 1.1.0-rc3.

Thanks for the report!

edit flag offensive delete link more

Comments

Thanks a lot! It has been fixed.

colinchen4 gravatar imagecolinchen4 ( 2020-10-15 23:31:31 -0500 )edit

Thanks for testing!

macumber gravatar imagemacumber ( 2020-10-17 12:03:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2020-10-09 22:48:30 -0500

Seen: 37 times

Last updated: Oct 14