-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
With 3.14, there is an error
Traceback (most recent call last):
File "/opt/homebrew/bin/scout", line 7, in <module>
sys.exit(run_from_cli())
~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/scoutsuite/5.14.0_4/libexec/lib/python3.14/site-packages/ScoutSuite/__main__.py", line 36, in run_from_cli
return run(provider=args.get('provider'),
# AWS
...<50 lines>...
no_browser=args.get('no_browser'),
programmatic_execution=False)
File "/opt/homebrew/Cellar/scoutsuite/5.14.0_4/libexec/lib/python3.14/site-packages/ScoutSuite/__main__.py", line 147, in run
loop = asyncio.get_event_loop()
File "/opt/homebrew/Cellar/[email protected]/3.14.0/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/events.py", line 715, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Describe the solution you'd like
I think asyncio have many deprecated methods, and it should be updated.
Describe alternatives you've considered
Nope.
Additional context
Nope.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request