Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-06-2021, 08:51 AM   #1
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Error Trying to Create a New Short Cut

When I try to create a new shortcut I get the following error, I've tried a few different commands to change and always now get this error, in the past I've changed shortcuts many times error free.

Anyone else having an issue? Thanks for any help.


calibre, version 5.33.0
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for |: 'int' and 'KeyboardModifiers'

calibre 5.33 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1) && Action Chains (1, 14, 0) && Count Pages (1, 11, 1) && FanFicFare (4, 8, 0) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Open With (1, 5, 13) && View Manager (1, 6, 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'

I just upgraded to 5.33.2 and have the same error

calibre, version 5.33.2
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for |: 'int' and 'KeyboardModifiers'

calibre 5.33.2 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1) && Action Chains (1, 14, 0) && Count Pages (1, 11, 1) && FanFicFare (4, 8, 0) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Open With (1, 5, 13) && View Manager (1, 6, 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'



I just installed a fresh portable to a different folder and I'm still getting the same error


calibre, version 5.33.2
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for |: 'int' and 'KeyboardModifiers'

calibre 5.33.2 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
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'

Last edited by kevn57; 12-06-2021 at 09:13 AM.
kevn57 is offline   Reply With Quote
Old 12-06-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: 45,328
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...e27e14de709db5
kovidgoyal is offline   Reply With Quote
Advert
Old 12-06-2021, 10:43 AM   #3
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Thanks Kovid
kevn57 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor Short Cut Key (SCK) phossler Editor 4 11-21-2021 03:49 PM
short cut question bulldogmo Calibre 4 07-02-2017 08:49 PM
Western Gregory, Jackson: The Short Cut. v1. 19 Feb 2013 crutledge Kindle Books 0 02-19-2013 07:11 AM
Western Gregory, Jackson: The Short Cut. v1. 19 Feb 2013 crutledge ePub Books 0 02-19-2013 07:10 AM
TOC added by calibre is cut short JerrySmile Conversion 2 08-26-2012 06:23 AM


All times are GMT -4. The time now is 06:02 PM.


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