Skip to content
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

Argus client crashes when starts on Windows #30

Open
changtengfei opened this issue Oct 4, 2018 · 3 comments
Open

Argus client crashes when starts on Windows #30

changtengfei opened this issue Oct 4, 2018 · 3 comments

Comments

@changtengfei
Copy link
Member

changtengfei commented Oct 4, 2018

When run ArguClien.py, I got following error

============================================================= Thu, 04 Oct 2018 13:18:43 UTC

CRASH in Thread main!

=== exception type ===
<type 'exceptions.WindowsError'>

=== traceback ===
Traceback (most recent call last):
File "C:\Users\Tengfei\Desktop\argus\ArgusClient.py", line 332, in main
proc = subprocess.Popen(wireshark_cmd)
File "C:\Python27\lib\subprocess.py", line 711, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 959, in _execute_child
startupinfo)
WindowsError: [Error 740] The requested operation requires elevation

changtengfei added a commit that referenced this issue Oct 4, 2018
@changtengfei
Copy link
Member Author

changtengfei commented Oct 4, 2018

@keomabrun can you try the branch, #30. works for you? I added a fix in that branch.

@twatteyne
Copy link
Member

The requested operation requires elevation
Means
The requested operation requires elevation

Run as admin

@changtengfei
Copy link
Member Author

For windows, it will ask for run admin with a window prompt up. The current code does't allow the prompt up windows make it crash. The fix is to allow this prompt up windows with shell=True in the subprocess.POpen() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants