openstenoproject / plover_plugins_manager

Plugins manager for Plover
3 stars 7 forks source link

Plugin Manager Doesn't Update in the Mac Version of Plover, Build #15

Closed gdwaynewarner closed 3 years ago

gdwaynewarner commented 3 years ago

Summary: Plover's Plugin Manager isn't updating. Error message:

"Error failed to fetch list of available plugins from PyPI xmlrpc.client. Fault: <Fault -32500: "Runtime ..."

Note that this error message came from the Notifications Center, which doesn't always show everything it should.

Reproducing:

Click the Plugins Manager. Immediate result is the appearance of that error message.

Troubleshooting:

I horned in on this discussion:

https://github.com/benoit-pierre/plover_plugins_manager/issues/12

... and was told to start my own bug report, but I was also provided with a couple of things to try, which boiled down to quitting Plover, then, assuming Plover is located in the Applications folder, running it via the terminal with this command:

/Applications/Plover.app/Contents/MacOS/Plover --log-level debug

Once Plover was running, I pasted in the the following, as directed:

_[PLOVER] -s plover_plugins install --upgrade plover_pluginsmanager

That (eventually) resulted in this error message:

-bash: [PLOVER]: command not found

Quit Plover, copied the relevant information from the terminal, started Plover again, and tried again to open the Plugins Manager, but no luck.

I then checked the Console, where I found this message:

12/23/20 11:31:54.751 PM tccd[4103]: Unable to verify code signing identity of org.openstenoproject.plover: code failed to satisfy specified code requirement(s)

Plover Version: Plover weekly-v4.0.0.dev8+66.g685bd33

System: Mac OS X 10.10.5 Yosemite

benoit-pierre commented 3 years ago

You need to replace [PLOVER] with the right part for your platform, so in your case: /Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --upgrade plover_plugins_manager.

gdwaynewarner commented 3 years ago

Thanks, but unfortunately that didn't work either. Here's the output from the terminal:

/Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --upgrade plover_plugins_manager 2020-12-24 11:04:17,185 [Thread-7] ERROR: failed to fetch list of available plugins from PyPI Traceback (most recent call last): File "/Users/gdwarner/Library/Application Support/plover/plugins/mac/lib/python/site-packages/plover_plugins_manager/registry.py", line 78, in update available_plugins = global_registry.list_plugins() File "/Users/gdwarner/Library/Application Support/plover/plugins/mac/lib/python/site-packages/plover_plugins_manager/global_registry.py", line 11, in list_plugins for release in find_plover_plugins_releases(): File "/Users/gdwarner/Library/Application Support/plover/plugins/mac/lib/python/site-packages/plover_plugins_manager/package_index.py", line 39, in find_plover_plugins_releases for match in index.search({'keywords': 'plover_plugin'}): File "./build/plover-4.0.0.dev8+66.g685bd33.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/xmlrpc/client.py", line 1112, in call File "./build/plover-4.0.0.dev8+66.g685bd33.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/xmlrpc/client.py", line 1452, in __request File "/Users/gdwarner/Library/Application Support/plover/plugins/mac/lib/python/site-packages/plover_plugins_manager/requests.py", line 52, in request return self.parse_response(BytesIO(response.content)) File "./build/plover-4.0.0.dev8+66.g685bd33.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/xmlrpc/client.py", line 1342, in parse_response File "./build/plover-4.0.0.dev8+66.g685bd33.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/xmlrpc/client.py", line 656, in close xmlrpc.client.Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">

Looks like some kind of issue with Python.

benoit-pierre commented 3 years ago

Wait, do you get the Plover interface when you execute this command?

gdwaynewarner commented 3 years ago

Yes, the interface was visible.

benoit-pierre commented 3 years ago

That command should not start Plover.

Just to be clear, the procedure is:

That should get you a bunch of console output, including the message Successfully installed plover-plugins-manager-0.5.16 near the end.

And then start Plover normally again, and see if the plugins manager can now successfully retrieve the list of available plugins.

gdwaynewarner commented 3 years ago

Ah-ha! I ran both commands before.

This time out, I typed in what you have above, and ... EUREKA!!!!

Ordinarily this would be where I place a screenshot, but looks like that's not allowed in the comments, so if I was able to insert an image, it would show the appropriate version number.

Thanks, Pierre!

benoit-pierre commented 3 years ago

Great!