public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Valmor F. de Almeida" <val.gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org, bobwxc <bobwxc@88.com>
Subject: Re: [gentoo-user] pip search disabled?
Date: Fri, 18 Dec 2020 16:11:36 -0500	[thread overview]
Message-ID: <704d1a7c-fadb-eb30-b06b-4747ab4703ca@gmail.com> (raw)
In-Reply-To: <2aef3385-25b7-dcfa-92ca-4bba2d445953@88.com>



On 12/17/20 11:55 PM, bobwxc wrote:
> 在 2020/12/18 上午2:32, Valmor F. de Almeida 写道:
>>
>> Hello,
>> Has anyone seen this search problem with pip for any package?
>>
>> ->  pip search twine
>>
>> ERROR: Exception:
>> Traceback (most recent call last):
>>   File 
>> "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", 
>> line 228, in _main
>>     status = self.run(options, args)
>>   File 
>> "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", 
>> line 60, in run
>>     pypi_hits = self.search(query, options)
>>   File 
>> "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", 
>> line 80, in search
>>     hits = pypi.search({'name': query, 'summary': query}, 'or')
>>   File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
>>     return self.__send(self.__name, args)
>>   File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request
>>     response = self.__transport.request(
>>   File 
>> "/usr/lib/python3.8/site-packages/pip/_internal/network/xmlrpc.py", 
>> line 45, in request
>>     return self.parse_response(response.raw)
>>   File "/usr/lib/python3.8/xmlrpc/client.py", line 1341, in 
>> parse_response
>>     return u.close()
>>   File "/usr/lib/python3.8/xmlrpc/client.py", line 655, in close
>>     raise Fault(**self._stack[0])
>> xmlrpc.client.Fault: <Fault -32500: 'RuntimeError: This API has been 
>> temporarily disabled due to unmanageable load and will be deprecated 
>> in the near future. Please use the Simple or JSON API instead.'>
>>
>> Thanks,
>> -- 
>> Valmor
> 
> Just try it, and meet the same problem with python3.7 pip-20.2.4.
> Then update to 20.3.3, still the same problem.
> 
> There are issues on github,
> 
> https://github.com/pypa/pip/issues/9292
> https://github.com/pypa/pip/issues/9312
> 
> someone said,
> *"*
> 
> Seehttps://status.python.org/incidents/grk0k7sz6zkp 
> <https://status.python.org/incidents/grk0k7sz6zkp>for context.
> 
> PyPI has had significant uptick in automated hits to the XMLRPC API, 
> which has resulted in needing to take that offline, as it hampers the 
> rest of the application's ability to function.
> 
> "
> 

Thanks.
--
Valmor


      reply	other threads:[~2020-12-18 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 18:32 [gentoo-user] pip search disabled? Valmor F. de Almeida
2020-12-18  4:55 ` bobwxc
2020-12-18 21:11   ` Valmor F. de Almeida [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=704d1a7c-fadb-eb30-b06b-4747ab4703ca@gmail.com \
    --to=val.gentoo@gmail.com \
    --cc=bobwxc@88.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox