Errno::EACCES - Permission denied @ rb_sysopen

Issue #14 new
Peter Ellis created an issue

This error is reported by users when they open an input file from inside a zip archive--which works--but then try to save it again without changing the save location. Euclid should either prevent the user from reading from a zip in the first place, or gracefully present an error message when trying to save to a zip. Maybe both would be good.

The correct process is to unzip the file first before working with it.

ERROR:
Errno::EACCES
Permission denied @ rb_sysopen - C:/Users/Peter Ellis/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/BJKU893K/5Zone_Transformer[1].idf

BACKTRACE:
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `initialize'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `new'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:529:in `write_file'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/inputfile/InputFile.rb:91:in `write'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/ModelManager.rb:235:in `save_input_file'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/CommandManager.rb:102:in `save_input_file'
C:/Projects/Euclid/euclid-master~/build/output/extension/euclid/lib/legacy_openstudio/lib/MenuManager.rb:92:in `block in create_commands'
SketchUp:1:in `call'

CONFIGURATION:
Euclid 0.9.4
SketchUp 17.2.2555 64-bit
Ruby 2.2.4 x64-mingw32

Comments (0)

  1. Log in to comment