pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.52k stars 3.03k forks source link

Searching for coverage produces xmlrpc.client.Fault: <Fault -32500: 'application error'> #5414

Closed nedbat closed 6 years ago

nedbat commented 6 years ago

Description:

(as reported in https://github.com/nedbat/coveragepy/issues/50)

Try to search for "coverage", get an error:

$ pip --version
pip 10.0.1 from /usr/local/virtualenvs/prz3/lib/python3.6/site-packages/pip (python 3.6)

$ python -V
Python 3.6.5

$ pip search coverage
Exception:
Traceback (most recent call last):
  File "/usr/local/virtualenvs/prz3/lib/python3.6/site-packages/pip/_internal/basecommand.py", line 228, in main
    status = self.run(options, args)
  File "/usr/local/virtualenvs/prz3/lib/python3.6/site-packages/pip/_internal/commands/search.py", line 48, in run
    pypi_hits = self.search(query, options)
  File "/usr/local/virtualenvs/prz3/lib/python3.6/site-packages/pip/_internal/commands/search.py", line 65, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/usr/local/pythonz/pythons/CPython-3.6.5/lib/python3.6/xmlrpc/client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/pythonz/pythons/CPython-3.6.5/lib/python3.6/xmlrpc/client.py", line 1452, in __request
    verbose=self.__verbose
  File "/usr/local/virtualenvs/prz3/lib/python3.6/site-packages/pip/_internal/download.py", line 792, in request
    return self.parse_response(response.raw)
  File "/usr/local/pythonz/pythons/CPython-3.6.5/lib/python3.6/xmlrpc/client.py", line 1342, in parse_response
    return u.close()
  File "/usr/local/pythonz/pythons/CPython-3.6.5/lib/python3.6/xmlrpc/client.py", line 656, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: 'application error'>

$

I've tried searching for a bunch of other things, and none of the other terms caused errors: "requests", "cov", "cover", "coverage.py", "cog", "wfwefwefwefwefwef", etc.

This might be something about the coverage package itself, but what?

pfmoore commented 6 years ago

There may be work going on around the PyPI search facility: https://status.python.org/#past-incidents

nedbat commented 6 years ago

@pfmoore I'd love for this to be a transient thing, but the status page now says the incident is resolved, but "pip search coverage" still produces a failure, and the other searches still do not.

pfmoore commented 6 years ago

Yeah. Might be worth reporting it on the PyPI tracker at https://github.com/pypa/warehouse/issues - the people there might be able to help better than here. I tried to use the XMLRPC interface "manually" but it's freezing - that's not just for coverage, though, so I might be doing something wrong.

babab commented 6 years ago

Searching for anything with the word config in it produces the same error for me. I am running pip 10.0.1 in Python 3.6.5 on Archlinux x86_64.

pradyunsg commented 6 years ago

This has been fixed over at Warehouse.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.