12-09-2021, 09:36 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2021
Device: Kindle Voyager
|
[error] macOS - Calibre settings - Keyboard shortcut
Hi.
I trying to assign a keyboard shortcut to function "Add to library by folder and subfolders", but getting that error: <b>TypeError</b>:unsupported operand type(s) for |: 'int' and 'KeyboardModifiers' Code:
calibre 5.33.2 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.6.0', 'Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: uk Successfully initialized third party plugins: CalibreSpy (1, 0, 84) && Category Tags (0, 1, 2) && Diaps Editing Toolbag (0, 3, 7) && EpubMerge (2, 11, 0) && Ex Libris (1, 0, 19) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Goodreads Sync (1, 15, 1) && LubimyCzytac (2, 2, 6) && Modify ePub (1, 6, 3) && OPDS Client (1, 0, 0) && Wikidata (2, 0, 0) && Wikidata gui (2, 0, 0) Traceback (most recent call last): File "calibre/gui2/keyboard.py", line 492, in eventFilter File "calibre/gui2/keyboard.py", line 499, in key_press_event File "calibre/gui2/keyboard.py", line 46, in keysequence_from_event TypeError: unsupported operand type(s) for |: 'int' and 'KeyboardModifiers' |
12-09-2021, 09:44 AM | #2 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
12-09-2021, 10:31 AM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2021
Device: Kindle Voyager
|
kovidgoya, thanks. I will wait for a new release with this bug fix.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FIX4 - calibre ebook-view error in macos high sierra | blisshome | Calibre | 4 | 12-15-2017 03:56 PM |
Keyboard Shortcut | Fbone | Calibre | 4 | 11-03-2015 08:15 PM |
Keyboard Shortcut for <li>? | Rand Brittain | Editor | 7 | 02-25-2015 09:15 AM |
Odd <p></p> placement & keyboard shortcut error | Under the Covers | Editor | 9 | 12-22-2014 02:37 PM |
Ebook-viewer loses settings unless via shortcut | Vortex | Calibre | 14 | 03-24-2014 06:37 AM |