-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: Sandbox server didn't startup #14
Comments
Hi*, pywinsandbox/winsandbox/session/online_session.py Lines 58 to 63 in 1316bd0
The call for the remote rpc fails, because calling it like python -m winsandbox.target fails with an wmi error. A working (but hacky) fix is the resolve the path to target.py and pass directly. This works. And virtual environments doens't seem to be working because the mapped folder is the python directory with the symlinks - This I couldn't fix - I used a normal python installation Greetings, Thomas |
It is seems a bug. This issue occurs when running "python.exe -m winsandbox.target" in sandbox, BUT by this way, it will import winsandbox first. When import winsandbox it will check whether or not the optional feature of windows sandboxes is enabled and absolutely failed and raise an error.
|
I looked into this issue and it doesn't reproduce for me. In any case, in #15 I change it so I run the script manually as @thommyho suggested.
Hey Thomas, thank you for your great suggestion. |
Also - I'm very sorry for the delay! Hope fixing these issues is still relevant. |
And Version 1.3.0 just released should fix this :) |
Still same |
Hey @HydraDragonAntivirus, I just published version v1.4.0. Can you check if the issue is fixed for you? Thanks! :) |
While creating the sandbox got following error:
sandbox = winsandbox.new_sandbox()
Traceback (most recent call last):
File "", line 1, in
File "C:\Python37\lib\site-packages\winsandbox\launch.py", line 34, in new_sandbox
return OnlineSandbox(config)
File "C:\Python37\lib\site-packages\winsandbox\sandbox.py", line 41, in init
self._connection_tuple = session.connect_to_sandbox()
File "C:\Python37\lib\site-packages\winsandbox\session\online_session.py", line 107, in connect_to_sandbox
raise FileNotFoundError("Sandbox server didn't startup")
FileNotFoundError: Sandbox server didn't startup
The text was updated successfully, but these errors were encountered: