You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a python code which is calling the FileCapture function like: capture = pyshark.FileCapture(file_path)
to extract certain information from the capture.
On Unix systems all is working properly.
But on Windows clients (e.g. Windows 11), I receive the error: "no running event loop"
I've also checked the other issues ongoing and I saw similar threads.
I've tried to close the capture with: capture.close()
But it does not work anyway.
Expected behavior
I've expected to have extracted all information without the error "no running event loop"
Versions (please complete the following information):
OS: Windows 11
python version: 3.7
tshark version: 4.0.10
Example pcap / packet
Does not work with any pcap file.
Do you have by chance a workaround for it?
Thank you!
The text was updated successfully, but these errors were encountered:
I fixed my problem - it is related to the python version.
At the end it was a matter to apply the workaround to be (again) compatible with Python Version 3.7.
It is described here: #642
I've written a python code which is calling the FileCapture function like:
capture = pyshark.FileCapture(file_path)
to extract certain information from the capture.
On Unix systems all is working properly.
But on Windows clients (e.g. Windows 11), I receive the error:
"no running event loop"
I've also checked the other issues ongoing and I saw similar threads.
I've tried to close the capture with:
capture.close()
But it does not work anyway.
Expected behavior
I've expected to have extracted all information without the error "no running event loop"
Versions (please complete the following information):
Example pcap / packet
Does not work with any pcap file.
Do you have by chance a workaround for it?
Thank you!
The text was updated successfully, but these errors were encountered: