Anki Error (not crashing) when I try to open selected word in Dictionairy
Oprating System: Linux (Ubuntu)
- change hotkey with working ones from other commands
- change video driver even though there are only two for me
- restart anki, browser
- try to copy the word via ctrl + c
- tried to use the command from: within anki itself, browser, within the dictionairy itself
- all of them give me the following error:
Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site. Debug info: Anki 2.1.49 (dc80804a) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1 Platform: Linux Flags: frz=True ao=True sv=2 Add-ons, last update check: 2022-03-04 17:01:57 Add-ons possibly involved: Migaku Anki Add-on Caught exception: Traceback (most recent call last): File "/home/maikel/.local/share/Anki2/addons21/1846879528/global_hotkeys.py", line 184, in on_action_fired self.request_seltected_text(action) File "/home/maikel/.local/share/Anki2/addons21/1846879528/global_hotkeys.py", line 197, in request_seltected_text self.keyboard_controller.release(key) File "/home/maikel/.local/share/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/_base.py", line 427, in release self._handle(resolved, False) File "/home/maikel/.local/share/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/_xorg.py", line 243, in _handle Xlib.ext.xtest.fake_input( File "contextlib.py", line 120, in __exit__ File "/home/maikel/.local/share/Anki2/addons21/1846879528/lib/shared/pynput/_util/xorg.py", line 82, in display_manager raise X11Error(errors) pynput._util.xorg.X11Error: [(BadValue(<Xlib.display._BaseDisplay object at 0x7fb2740882e0>, b'\x00\x027\x00\x00\x00\x00\x00\x02\x00\x84\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), None)]
Thanks in advance!
JuliusMigaku last edited by
Bent last edited by
Took me a while, but I think you are using Flatpack version of Anki?
In that case Anki doesn't get access to the X Server and thus cannot press Ctrl+C to get the selectted text. I'm not quite sure how to get it working using that install. I think @JuliusMigaku had this problem before actually and might be able to help.
If you have alternative ways to install Anki you could also try those.
SteviMigaku last edited by