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

IndexError: list index out of range #223

Open
mbaeuerle opened this issue Aug 29, 2024 · 1 comment
Open

IndexError: list index out of range #223

mbaeuerle opened this issue Aug 29, 2024 · 1 comment
Labels

Comments

@mbaeuerle
Copy link

I'm getting this error on 0.9.2. on an Intel Mac Sonoma 14.6.1 with Python 3.12.3.
I installed px via pipx.

Whenever I'm trying to push a docker image to a remote repository it is aborted showing ERROR: EOF.

The px logs then reveal:

----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 50774)
Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/socketserver.py", line 692, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/socketserver.py", line 362, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/socketserver.py", line 761, in __init__
    self.handle()
  File "/usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/http/server.py", line 436, in handle
    self.handle_one_request()
  File "/Users/my-user/.local/pipx/venvs/px-proxy/lib/python3.12/site-packages/px/handler.py", line 128, in handle_one_request
    http.server.BaseHTTPRequestHandler.handle_one_request(self)
  File "/usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/http/server.py", line 424, in handle_one_request
    method()
  File "/Users/my-user/.local/pipx/venvs/px-proxy/lib/python3.12/site-packages/px/handler.py", line 248, in do_CONNECT
    self.do_curl()
  File "/Users/my-user/.local/pipx/venvs/px-proxy/lib/python3.12/site-packages/px/handler.py", line 206, in do_curl
    STATE.mcurl.select(self.curl, self.connection, STATE.idle)
  File "/Users/my-user/.local/pipx/venvs/px-proxy/lib/python3.12/site-packages/px/mcurl.py", line 1087, in select
    data = wdata[0]
           ~~~~~^^^
IndexError: list index out of range
----------------------------------------
@genotrance genotrance added the bug label Sep 11, 2024
@genotrance
Copy link
Owner

I know it's been a while but will be very helpful to get the full log to fix this correctly. Thanks in advance.

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

No branches or pull requests

2 participants