Bugs: Browse | Submit New | Admin

[#1835] Errno::EACCES: Permission denied when running from the source file

Date:
2005-04-25 20:14
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
Script Runner
State:
Open
Summary:
Errno::EACCES: Permission denied when running from the source file

Detailed description
Errno::EACCES: Permission denied - "C:\Program Files\Ruby\bin" -C
"C:/Code/VisualStudioProjects/PublishersAssistance/NED.Reports.Library/NED.Reports.Library/src" -r "C:/Program
Files/FreeRIDE/plugins/rubyide_tools_fox_script_runner/script_starter.rb"
"C:/Code/VisualStudioProjects/PublishersAssistance/NED.Reports.Library/NED.Reports.Library/src/Address.rb"

C:/Program Files/FreeRIDE/./plugins/rubyide_tools_fox_script_runner/script_runner.rb:167:in `popen'
C:/Program Files/FreeRIDE/./plugins/rubyide_tools_fox_script_runner/script_runner.rb:167:in `initialize'
C:/Program Files/FreeRIDE/./plugins/rubyide_tools_fox_script_runner/script_runner.rb:44:in `new'
C:/Program Files/FreeRIDE/./plugins/rubyide_tools_fox_script_runner/script_runner.rb:44:in `start'
C:/Program Files/FreeRIDE/./plugins/rubyide_tools_fox_script_runner/script_runner.rb:42:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:949:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:559:in `invoke'
C:/Program Files/FreeRIDE/./plugins/rubyide_commands/command_manager.rb:148:in `invoke'
C:/Program Files/FreeRIDE/./plugins/rubyide_gui/menupane.rb:131:in `add_command'
C:/Program Files/FreeRIDE/./plugins/rubyide_gui/menupane.rb:131:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:949:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:559:in `invoke'
C:/Program Files/FreeRIDE/./plugins/rubyide_fox_gui/menupane.rb:104:in `update'
C:/Program Files/FreeRIDE/./plugins/rubyide_fox_gui/menupane.rb:104:in `call'
C:/Program Files/FreeRIDE/freeruby-win/lib/ruby/gems/1.8/gems/fxruby-1.2.5-mswin32/lib/fox12/responder2.rb:57:in
`onHandleMsg'
C:/Program Files/FreeRIDE/./plugins/rubyide_fox_gui/appframe.rb:51:in `run'
C:/Program Files/FreeRIDE/./plugins/rubyide_fox_gui/appframe.rb:51:in `start'
C:/Program Files/FreeRIDE/./plugins/rubyide_fox_gui/appframe.rb:49:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:949:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/databus.rb:559:in `call'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:69:in `initialize'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:68:in `initialize'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:68:in `new'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:68:in `initialize'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:35:in `new'
C:/Program Files/FreeRIDE/freebase/lib/freebase/core.rb:35:in `startup'
freeride.rb:77:in `startup'
freeride.rb:116

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-05-15 21:34
Sender: anony mous

For some reason you only seem to need to do File.close on windows
boxes
Date: 2009-05-15 21:08
Sender: anony mous

This can happen for several reasons , some of which are.

Chmod permissions on the file
chown permissions on the file
file does not exist or is in a different location
spaces in the directory name (windows)
forgetting to do File.close after File.open or File.new in ruby
code.
Date: 2005-05-19 21:12
Sender: dagny gromer

I got this too using v.0.9.4 on windows 2000
Try this, it worked for me:
Edit->Preferences
click on Debugger.Run
fill in the path to ruby (mine is c:\ruby\bin)
then at the very bottom of the page check the box labeled "Run
process in terminal
click OK

Then exit FreeRide, and restart it. Make sure these changes are
still there. It should work.

Date: 2005-04-28 15:28
Sender: Michael Babbitt

Logged In: YES 
user_id=2455

I have the same problem: Windows XP; when I try to run FreeRIDE
with defaults.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item