Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on startup: KeyError: 8 (Czech keyboard) #1689

Open
Meldiron opened this issue Sep 13, 2024 · 0 comments
Open

Crash on startup: KeyError: 8 (Czech keyboard) #1689

Meldiron opened this issue Sep 13, 2024 · 0 comments
Labels

Comments

@Meldiron
Copy link

Describe the bug

When launching the app while having Czech keyboard active, the app crashes. Starting it with english keyboard works fine, but when running an I switch to Czech, it instantly crashes.

To Reproduce

Steps to reproduce the behavior:

  1. Use Czech layout (MacOS)
  2. Start Plover
  3. (crash)

Expected behavior

Plover works with czech layout too (or disables, but starts working again after switching back to english layout.

Screenshots

CleanShot 2024-09-13 at 11 04 11@2x

Traceback (most recent call last):
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/scripts/main.py", line 131, in main
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/gui_qt/main.py", line 129, in main
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/gui_qt/main.py", line 67, in __init__
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/oslayer/osx/keyboardcontrol.py", line 311, in __init__
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/oslayer/osx/keyboardlayout.py", line 130, in __init__
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/oslayer/osx/keyboardlayout.py", line 152, in _update_layout
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/oslayer/osx/keyboardlayout.py", line 260, in _get_layout
  File "/Users/runner/work/plover/plover/build/osxapp/Plover.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.9/site-packages/plover/oslayer/osx/keyboardlayout.py", line 411, in _parse_layout
KeyError: 8

Crash report: (can provide if requested, they are huge)

Operating system

  • MacOS 14.5 (23F79)
  • Plover 4.0.0rc2

Hardware

Macbook Pro 2021

@Meldiron Meldiron added the bug label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant