plover icon indicating copy to clipboard operation
plover copied to clipboard

error on line 72 keyError qt

Open Kiwi-the-Cat opened this issue 1 year ago • 1 comments

When I attempt to start Plover I get an error

I've updated everything, made sure I have all the libraries, and looked on the internet for an answer

I expect Plover to launch without throwing an error

Expected behavior

Traceback (most recent call last):
  File "/home/runner/work/plover/plover/build/appimage/plover.AppDir/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
  File "/home/runner/work/plover/plover/build/appimage/plover.AppDir/usr/lib/python3.9/runpy.py", line 87, in _run_code
  File "/home/runner/work/plover/plover/build/appimage/plover.AppDir/usr/lib/python3.9/site-packages/plover/scripts/main.py", line 170, in <module>
  File "/home/runner/work/plover/plover/build/appimage/plover.AppDir/usr/lib/python3.9/site-packages/plover/scripts/main.py", line 76, in main
  File "/home/runner/work/plover/plover/build/appimage/plover.AppDir/usr/lib/python3.9/site-packages/plover/registry.py", line 72, in get_plugin
KeyError: 'qt'

If applicable, add screenshots to help explain your problem.

Pop!_OS 22.04 LTS

  • OS: [e.g. Windows 10, Ubuntu 20.04, macOS Catalina]
  • Plover Version [e.g. 3.x, 4.x, weekly]

Hardware

If applicable, let us know what machine you're experiencing the issue with and how it's connected to Plover, as well as a screenshot of the machine configuration inside Plover.

Kiwi-the-Cat avatar Aug 25 '24 18:08 Kiwi-the-Cat

Perhaps you're missing an interface for glib thread abstraction in your system? Try installing 'libgthread*' from your distro's repo and see if that resolves your issue. HTH

domoriga avatar Sep 12 '24 05:09 domoriga

I've been trying to build this on apple silicon and are getting to this very same point when building from the git tree.

wmealing avatar Dec 10 '24 13:12 wmealing

Thank you @domoriga . I was getting exact same (frustrating) error message as OP @Kiwi-the-Cat ..

Taking your suggestion, on my OpenSUSE (Tumbleweed) system, I ran:

$ sudo zypper in libgthread-2_0-0

and now the .AppImage runs #Yay

Seems to me a simple, "Try installing libgthread" error message instead of above cryptic error msg would slightly shorten the course of human evolution (?)

androclus avatar Dec 15 '24 11:12 androclus

Not sure what the issue was, i had to re-install qt@5 with brew.

brew install qt@5

wmealing avatar Dec 17 '24 17:12 wmealing