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

Runtime Error #122

Closed
Alpha-404 opened this issue Nov 19, 2022 · 3 comments
Closed

Runtime Error #122

Alpha-404 opened this issue Nov 19, 2022 · 3 comments

Comments

@Alpha-404
Copy link

Describe the bug
Fails to run

To Reproduce
Steps to reproduce the behavior:
run holehe gmail.com

Expected behavior
gets info

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser firefox
  • version latest

➜ ~ holehe test@gmail.com Twitter : @palenath Github : https://github.com/megadose/holehe For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ 0%| | 0/121 [00:00<?, ?it/s]/home/rajaa/.local/lib/python3.9/site-packages/anyio/_backends/_trio.py:164: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): 92%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 111/121 [00:01<00:00, 85.89it/s]Traceback (most recent call last): File "/home/rajaa/.local/bin/holehe", line 8, in <module> sys.exit(main()) File "/home/rajaa/.local/lib/python3.9/site-packages/holehe/core.py", line 226, in main trio.run(maincore) File "/home/rajaa/.local/lib/python3.9/site-packages/trio/_core/_run.py", line 2010, in run raise runner.main_task_outcome.error File "/home/rajaa/.local/lib/python3.9/site-packages/holehe/core.py", line 218, in maincore await client.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpx/_client.py", line 1974, in aclose await self._transport.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpx/_transports/default.py", line 365, in aclose await self._pool.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 312, in aclose raise RuntimeError( RuntimeError: The connection pool was closed while 9 HTTP requests/responses were still in-flight. 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 121/121 [00:02<00:00, 45.66it/s] ➜ ~

@kmnunley
Copy link

Getting the same error on Windows 11, Python 3.11.0. Running via elevated powershell does not change the outcome.

@alexbarraboldu
Copy link

Hello, I got the same error. Had Python 3.10. After removing it and installing Python 3.11 the error doesn't appear, and the program works as intended.

@BeatJuice5
Copy link

Having the same issue here, and updating Python hasn't change a thing. I don't know what to do...

Github : https://github.com/megadose/holehe
For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ
0%| | 0/121 [00:00<?, ?it/s]/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/anyio/_backends/_trio.py:164: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (python-trio/trio#2211)
class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
93%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 112/121 [00:01<00:00, 95.86it/s]Traceback (most recent call last):
File "/workspace/.pyenv_mirror/user/3.8.13/bin/holehe", line 8, in
sys.exit(main())
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/holehe/core.py", line 226, in main
trio.run(maincore)
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/trio/_core/_run.py", line 2010, in run
raise runner.main_task_outcome.error
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/holehe/core.py", line 218, in maincore
await client.aclose()
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/httpx/_client.py", line 1974, in aclose
await self._transport.aclose()
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/httpx/_transports/default.py", line 365, in aclose
await self._pool.aclose()
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/httpcore/_async/connection_pool.py", line 312, in aclose
raise RuntimeError(
RuntimeError: The connection pool was closed while 11 HTTP requests/responses were still in-flight.
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 121/121 [00:10<00:00,

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

5 participants