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

Tries to send invalid characters #9

@TheLastProject

Description

@TheLastProject

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, '')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions