Skip to content

Error while running script #2

@marcinbauer85

Description

@marcinbauer85

I've installed all requirements, and upgraded pip3, but Im getting this error:

Exception in thread Thread-1 (listen): Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner Traceback (most recent call last): File "/Users/marcinbauer/Downloads/UTnotifier-main/UTnotifier.py", line 39, in <module> keyboard.add_hotkey("r+ctrl+shift", lambda: rCtrlShiftHandler()) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 641, in add_hotkey self.run() File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 294, in listen steps = parse_hotkey_combinations(hotkey) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 573, in parse_hotkey_combinations _os_keyboard.listen(self.direct_callback) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/_darwinkeyboard.py", line 430, in listen return tuple(tuple(combine_step(step)) for step in parse_hotkey(hotkey)) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 358, in parse_hotkey steps.append(tuple(key_to_scan_codes(key) for key in keys)) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 358, in <genexpr> raise OSError("Error 13 - Must be run as administrator") OSError: Error 13 - Must be run as administrator steps.append(tuple(key_to_scan_codes(key) for key in keys)) File "/opt/homebrew/lib/python3.10/site-packages/keyboard/__init__.py", line 324, in key_to_scan_codes raise ValueError('Key {} is not mapped to any known key.'.format(repr(key)), e) ValueError: ("Key 'r' is not mapped to any known key.", ValueError('Unrecognized character: r'))

Second thing, could you provide some more information on how to setup Apprise? (The apprise URLs in the JSON).
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions