Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Win 7 + Aptana Studio(Eclipse) [Error 5] Access is denied when running through django #75

erg0sum opened this Issue Jul 22, 2011 · 0 comments


None yet
1 participant

erg0sum commented Jul 22, 2011

Hi Windmill Devs
Just a friendly bug report. When trying to run manage.py test_windmill or by adding a windmill test case to the standard Django tests, through Aptana Studio 3, which is essentially a customized eclipse instance, I get the following error:

Traceback (most recent call last):
File "CWD\manage.py", line 11, in #note I've replaced my project dir with CWD
File "C:\Python26\lib\site-packages\django\core\management__init__.py", line 438, in execute_manager
File "C:\Python26\lib\site-packages\django\core\management__init__.py", line 379, in execute
File "C:\Python26\lib\site-packages\django\core\management\base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "C:\Python26\lib\site-packages\django\core\management\base.py", line 220, in execute
output = self.handle(args, *options)
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\management\commands\test_windmill.py", line 109, in handle
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\authoring__init
.py", line 49, in setup_module
module.windmill_dict = admin_lib.setup()
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\bin\admin_lib.py", line 182, in setup
shell_objects_dict['browser'] = getattr(shell_objects, browser[0].lower())()
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\bin\shell_objects.py", line 46, in start_firefox
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\dep_mozrunner\runner.py", line 143, in start
self.process_handler = run_command(self.command, self.mozilla_env)
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\dep_mozrunner\runner.py", line 64, in run_command
return killableprocess.Popen(cmd, **kwargs)
File "C:\Python26\lib\subprocess.py", line 623, in init
errread, errwrite)
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\dep_mozrunner\killableprocess.py", line 148, in _execute_child
winprocess.AssignProcessToJobObject(self._job, hp)
File "C:\Python26\lib\site-packages\windmill-1.7pre-py2.6.egg\windmill\dep_mozrunner\winprocess.py", line 48, in ErrCheckBool
raise WinError()
WindowsError: [Error 5] Access is denied.

This is with Win 7 64 bit. Python 2.6.6 It doesn't seem to matter if i'm using Aptana with admin permissions or not. However the tests do work from a cmd.exe instance but not from the eclipse terminal window. This seems to happen with the default pypy windmill version and the latest source checkout. Perhaps an issue with an eclipse process launching sub-processes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment