Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2021, 09:36 AM   #1
firsikov
Junior Member
firsikov began at the beginning.
 
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'
Perhaps someone has encountered a similar error and knows how to solve it.
firsikov is offline   Reply With Quote
Old 12-09-2021, 09:44 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...e27e14de709db5
kovidgoyal is offline   Reply With Quote
Advert
Old 12-09-2021, 10:31 AM   #3
firsikov
Junior Member
firsikov began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2021
Device: Kindle Voyager
kovidgoya, thanks. I will wait for a new release with this bug fix.
firsikov is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 08:59 PM.


MobileRead.com is a privately owned, operated and funded community.