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 #16

Closed roalheva closed 3 years ago

roalheva commented 3 years ago

I have a macbook pro with Catalina 10.15.7

I executed the command:

/Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --upgrade plover_plugins_manager

And this was the result

osx@MacBook-Pro-de-OSX ~ % /Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --upgrade plover_plugins_manager Collecting plover_plugins_manager Using cached https://files.pythonhosted.org/packages/3d/30/45e4a561471067668a0ff72024689aca211eda41d39e000d39f0b2ddb5ae/plover_plugins_manager-0.5.16-py3-none-any.whl Collecting requests-cache>=0.4.11 (from plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/7f/55/9b1c40eb83c16d8fc79c5f6c2ffade04208b080670fbfc35e0a5effb5a92/requests_cache-0.5.2-py2.py3-none-any.whl Collecting requests>=2.0.0 (from plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl Collecting requests-futures>=0.9.8 (from plover_plugins_manager) Requirement not upgraded as not directly required: pygments in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover_plugins_manager) Collecting readme-renderer[md] (from plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/39/a5/459adfa22ea237f6e8d0fa95ad29d7369579a5eec26f016ab34bb7f8359c/readme_renderer-29.0-py2.py3-none-any.whl Requirement not upgraded as not directly required: pip in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover_plugins_manager) Requirement not upgraded as not directly required: plover[gui_qt]>=4.0.0.dev8 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover_plugins_manager) Collecting pkginfo>=1.4.2 (from plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/b0/9a/d78e7c299eb5659bc3a036e5a968a399c62bfe0b2aa18baf7d13f43373ba/pkginfo-1.7.0-py2.py3-none-any.whl Requirement not upgraded as not directly required: wheel in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover_plugins_manager) Requirement not upgraded as not directly required: setuptools in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover_plugins_manager) Requirement not upgraded as not directly required: certifi>=2017.4.17 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests>=2.0.0->plover_plugins_manager) Collecting urllib3<1.27,>=1.21.1 (from requests>=2.0.0->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/23/fc/8a49991f7905261f9ca9df5aa9b58363c3c821ce3e7f671895442b7100f2/urllib3-1.26.3-py2.py3-none-any.whl Collecting chardet<5,>=3.0.2 (from requests>=2.0.0->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl Collecting idna<3,>=2.5 (from requests>=2.0.0->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl Requirement not upgraded as not directly required: docutils>=0.13.1 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from readme-renderer[md]->plover_plugins_manager) Requirement not upgraded as not directly required: six in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from readme-renderer[md]->plover_plugins_manager) Collecting bleach>=2.1.0 (from readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/f0/46/2bbd92086a4c6f051214cb48df6d9132b5f32c5e881d3f4991b16ec7e499/bleach-3.3.0-py2.py3-none-any.whl Collecting cmarkgfm<0.6.0,>=0.5.0; extra == "md" (from readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/5a/10/f874d7d3cc791bd2bf88d702469d3b0ec98fa206adf8777b80252375f264/cmarkgfm-0.5.2-cp36-cp36m-macosx_10_9_x86_64.whl Requirement not upgraded as not directly required: appdirs>=1.3.0 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: pyobjc-framework-Cocoa>=4.0; "darwin" in sys_platform in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: wcwidth in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: appnope>=0.1.0; "darwin" in sys_platform in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: pyobjc-core>=4.0; "darwin" in sys_platform in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: pyobjc-framework-Quartz>=4.0; "darwin" in sys_platform in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: pyserial>=2.7 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Requirement not upgraded as not directly required: PyQt5>=5.5; extra == "gui_qt" in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Collecting packaging (from bleach>=2.1.0->readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/3e/89/7ea760b4daa42653ece2380531c90f64788d979110a2ab51049d92f408af/packaging-20.9-py2.py3-none-any.whl Collecting webencodings (from bleach>=2.1.0->readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl Collecting cffi>=1.0.0 (from cmarkgfm<0.6.0,>=0.5.0; extra == "md"->readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/4d/3d/7cbf1aa7f34de5ecf18b1b63cbc3250911e85567f0eb4f97d7f03ebc165b/cffi-1.14.5-cp36-cp36m-macosx_10_9_x86_64.whl Requirement not upgraded as not directly required: sip<4.20,>=4.19.4 in /Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from PyQt5>=5.5; extra == "gui_qt"->plover[gui_qt]>=4.0.0.dev8->plover_plugins_manager) Collecting pyparsing>=2.0.2 (from packaging->bleach>=2.1.0->readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl Collecting pycparser (from cffi>=1.0.0->cmarkgfm<0.6.0,>=0.5.0; extra == "md"->readme-renderer[md]->plover_plugins_manager) Using cached https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl Installing collected packages: urllib3, chardet, idna, requests, requests-cache, requests-futures, pyparsing, packaging, webencodings, bleach, pycparser, cffi, cmarkgfm, readme-renderer, pkginfo, plover-plugins-manager Successfully installed bleach-3.3.0 cffi-1.14.5 chardet-4.0.0 cmarkgfm-0.5.2 idna-2.10 packaging-20.9 pkginfo-1.7.0 plover-plugins-manager-0.5.16 pycparser-2.20 pyparsing-2.4.7 readme-renderer-29.0 requests-2.25.1 requests-cache-0.5.2 requests-futures-1.0.0 urllib3-1.26.3 webencodings-0.5.1 You are using pip version 9.0.3, however version 21.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

osx@MacBook-Pro-de-OSX ~ % pip install --upgrade pip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Requirement already up-to-date: pip in ./Library/Python/2.7/lib/python/site-packages (20.3.4)

After that, the plugins manager disappear from Screen Shot 2021-03-03 at 03 14 19 Screen Shot 2021-03-03 at 03 15 04

plover and I don't know what to do

@benoit-pierre can you help me, please?

Additional information

Python 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin Type "help", "copyright", "credits" or "license" for more information.

Python 3.9.2 (v3.9.2:1a79785e3e, Feb 19 2021, 09:06:10) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information.

benoit-pierre commented 3 years ago

Try updating the Pygments package: /Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --disable-pip-version-check --upgrade Pygments.

roalheva commented 3 years ago

Try updating the Pygments package: /Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --disable-pip-version-check --upgrade Pygments.

Screen Shot 2021-03-03 at 16 03 40

this happened

benoit-pierre commented 3 years ago

What was the output of the command when updating Pygments?

roalheva commented 3 years ago

What was the output of the command when updating Pygments?

osx@MacBook-Pro-de-OSX ~ % /Applications/Plover.app/Contents/MacOS/Plover -s plover_plugins install --disable-pip-version-check --upgrade Pygments 2021-03-03 16:03:12,630 [MainThread] ERROR: error loading gui.qt.tool plugin: plugins_manager (from plover_plugins_manager.gui_qt.manager) Traceback (most recent call last): File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/plover/registry.py", line 56, in register_plugin_from_entrypoint File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 2404, in load File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 2427, in require File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 875, in resolve pkg_resources.ContextualVersionConflict: (Pygments 2.2.0 (/Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages), Requirement.parse('Pygments>=2.5.1'), {'readme-renderer'}) Unexpected error: Traceback (most recent call last): File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/plover/main.py", line 101, in main File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 2404, in load File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 2427, in require File "./build/plover-4.0.0.dev8+8.ge062cda.app/Contents/Frameworks/Python.framework/Versions/3.6//lib/python3.6/site-packages/pkg_resources/init.py", line 875, in resolve pkg_resources.ContextualVersionConflict: (Pygments 2.2.0 (/Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages), Requirement.parse('Pygments>=2.5.1'), {'readme-renderer'})

benoit-pierre commented 3 years ago

OK, try this instead: /Applications/Plover.app/Contents/MacOS/Plover -s pip install --disable-pip-version-check -U --user pygments.

roalheva commented 3 years ago

wow @benoit-pierre now it worked!!! thank you very much!