public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pip search disabled?
@ 2020-12-17 18:32 Valmor F. de Almeida
  2020-12-18  4:55 ` bobwxc
  0 siblings, 1 reply; 3+ messages in thread
From: Valmor F. de Almeida @ 2020-12-17 18:32 UTC (permalink / raw
  To: gentoo-user


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] pip search disabled?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: bobwxc @ 2020-12-18  4:55 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 2162 bytes --]

在 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.

"

-- 
bobwxc



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] pip search disabled?
  2020-12-18  4:55 ` bobwxc
@ 2020-12-18 21:11   ` Valmor F. de Almeida
  0 siblings, 0 replies; 3+ messages in thread
From: Valmor F. de Almeida @ 2020-12-18 21:11 UTC (permalink / raw
  To: gentoo-user, bobwxc



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-18 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox