Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Tries to send invalid characters #9

Open
TheLastProject opened this issue Jun 21, 2020 · 0 comments
Open

Tries to send invalid characters #9

TheLastProject opened this issue Jun 21, 2020 · 0 comments

Comments

@TheLastProject
Copy link
Member

Pext 0.31, Output Style set to Type Automatically. Happens when selecting pretty much any emoji.

WARN: Module Emoji caused exception (1, '')
Traceback (most recent call last):
  File "/home/sylvia/.local/lib/python3.7/site-packages/pynput/keyboard/_base.py", line 459, in type
    self.release(key)
  File "/home/sylvia/.local/lib/python3.7/site-packages/pynput/keyboard/_base.py", line 412, in release
    self._handle(resolved, False)
  File "/home/sylvia/.local/lib/python3.7/site-packages/pynput/keyboard/_xorg.py", line 197, in _handle
    raise self.InvalidKeyException(key)
pynput.keyboard._base.Controller.InvalidKeyException: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pext/__main__.py", line 873, in run
    self._process_module_action(index, module, focused_module)
  File "pext/__main__.py", line 753, in _process_module_action
    module.vm.close_request(False, False)
  File "pext/ui/qt5.py", line 1416, in close
    keyboard_device.type(output)
  File "/home/sylvia/.local/lib/python3.7/site-packages/pynput/keyboard/_base.py", line 462, in type
    raise self.InvalidCharacterException(i, character)
pynput.keyboard._base.Controller.InvalidCharacterException: (1, '')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant