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

Permission denied in Euclid upon save

asked 7 years ago

Mans_sopers's avatar

updated 7 years ago

I seem to have trouble with my save files. Due to that more errors occur, but I think this is the main problem. The error I get is the following:

ERROR:
Errno::EACCES
Permission denied @ rb_sysopen - C:/Users/Mans/Documents/Stage/SketchUp/Veldhuisje2.skp

BACKTRACE:
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `initialize'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `new'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `write_file'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:91:in `write'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/ModelManager.rb:235:in `save_input_file'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/CommandManager.rb:102:in `save_input_file'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/MenuManager.rb:92:in `block in create_commands'
SketchUp:1:in `call'

CONFIGURATION:
Euclid 0.9.3
SketchUp 18.0.16975 64-bit Pro
Ruby 2.2.4 x64-mingw32

Someone have experience with this issue? I run SketchUp Pro 2018 on Windows 10.

Edit: I also get this error when opening my save file (.skp file).

ERROR:
RangeError
0x00000aaff3cb90 is not id value

BACKTRACE:
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Sketchup.rb:101:in `_id2ref'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Sketchup.rb:101:in `drawing_interface'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/Zone.rb:136:in `block in update_entity'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/Zone.rb:135:in `each'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/Zone.rb:135:in `update_entity'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/DrawingInterface.rb:80:in `draw_entity'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:204:in `block in update_model'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `each'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `each_with_index'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `update_model'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:117:in `draw_model'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/ModelManager.rb:182:in `open_input_file'
C:/Users/Mans/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/ModelManager.rb:65:in `attach_input_file'
C ...
(more)
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

I believe the issue is that you are using the SketchUp File menu to save and open your file--this only saves the .skp file. Don't use these. In fact, you won't use the .skp file at all. Instead, use the Euclid menu options to save and open the EnergyPlus .idf file. Save the EnergyPlus file using the menu command Extensions/Euclid/Save. Open the EnergyPlus file using the menu command Extensions/Euclid/Open...

This is a common problem that many new users run into. We've documented it in our issue tracker as a bug and hope to find a more user-friendly way to anticipate the mistake.

Preview: (hide)
link

Comments

Complementing Mr Peter Ellis... Use the upper menu from SketchUp just for open a new file. After this, create a model and save (or save as) your file with the Euclid menu. When you want to open it again, repeat the process – new file by the SketchUp menu and open IDF file by Euclid menu.

Carlos Krebs's avatar Carlos Krebs  ( 7 years ago )

Thank you both, it worked.

Mans_sopers's avatar Mans_sopers  ( 7 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 7 years ago

Seen: 301 times

Last updated: Jan 04 '18