openstenoproject / plover_plugins_manager

Plugins manager for Plover
3 stars 7 forks source link

Plugins manager is unable to list packages #12

Closed morinted closed 4 years ago

morinted commented 4 years ago
2020-09-02 13:13:18,880 [Thread-6] ERROR: failed to fetch list of available plugins from PyPI
Traceback (most recent call last):
  File "dist\plover-4.0.0.dev8+66.g685bd33-win32\data\Lib\site-packages\plover_plugins_manager\registry.py", line 69, in update
  File "dist\plover-4.0.0.dev8+66.g685bd33-win32\data\Lib\site-packages\plover_plugins_manager\global_registry.py", line 55, in list_plugins
  File "xmlrpc\client.py", line 1112, in __call__
  File "xmlrpc\client.py", line 1452, in __request
  File "dist\plover-4.0.0.dev8+66.g685bd33-win32\data\Lib\site-packages\pip\download.py", line 778, in request
  File "xmlrpc\client.py", line 1342, in parse_response
  File "xmlrpc\client.py", line 656, in close
xmlrpc.client.Fault: <Fault -32500: 'HTTPTooManyRequests: The action could not be performed because there were too many requests by the client. Limit may reset in 59 seconds.'>

It seems like we are being blocked from querying plugins. This is happening, as far as I can tell, to all Plover users at this time.

benoit-pierre commented 4 years ago

I can't reproduce with the latest version (0.5.15), so first things first, can you try with an up-to-date manager (to update from the command line: [PLOVER] -s plover_plugins install --upgrade --upgrade-strategy only-if-needed plover_plugins_manager)?

7632416 commented 4 years ago

I tried using the Windows cmd console, and then the Plover console.exe, but I don't think those are for what you're suggesting. I think you're suggesting the Python command line console, but I don't have / can't find that. In other attempts, I reinstalled Plover after deleting everything Plover, but no joy. So I did a fresh install on a PC that has never had Plover, and using my cell phone hot spot for the internet connection, but the same error results. Also, I have compared Plover folders but am not seeing differences among three PCs, so copying folder contents probably won't be useful. And I don't know how to "drop a wheelie" (?). I'd like to get my plugins working because I especially like the retro-title plugin, and I absolutely need the Stenograph USB plugin. Any advice, anybody?

benoit-pierre commented 4 years ago

I reproduced the issue with the latest weekly AppImage. Because of another bug (with pip's lack of a real resolver when handling dependency), you need to execute 2 commands, updating the Pygments package first.

@7632416: Try the following steps:

7632416 commented 4 years ago

SUCCESS using that method, benoit-pierre. It upgraded the plugins Manager to 5.15 and populated it with the available plugins. Thanks for your apparent tireless assistance. Have a great weekend everybody.

parnikkapore commented 4 years ago

How can I fix the AppImage version?

aerickt commented 4 years ago

How can I fix the AppImage version?

Run the same commands except with ./plover-4.0.0.dev8.66.g685bd33-x86_64.AppImage .

parnikkapore commented 4 years ago

Uh, it fails with a connection reset. Opened as #13

Sillabix commented 4 years ago

SUCCESS using the above method. Thanks Benoit!

gdwaynewarner commented 3 years ago

Is there a similar fix for the non-Big Sur Mac version?

benoit-pierre commented 3 years ago

Please create a new issue with all the relevant information (especially the versions, Plover and the plugins manager), instead of pilling on an already-closed issue.

In any case, with #14, you're going to need to update to 0.5.16 using the command line ([PLOVER] -s plover_plugins install --upgrade plover_plugins_manager). See here for how to run Plover from a terminal on macOS.