![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Error on Add/Edit to PDF Open with
If I try to add an item to, or edit, the PDF Open With list, viz :
I get an error popup and a spinning wheel, viz The text of the error is: Code:
calibre, version 6.10.0 ERROR: Unhandled exception: <b>TypeError</b>:QIcon(): argument 1 has unexpected type 'QImage' calibre 6.10 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.10.1 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: en_AU Successfully initialized third party plugins: CalibreSpy (1, 0, 90) && Count Pages (1, 12, 0) && Favourites Menu (1, 3, 0) && GetFileName (0, 2, 0) && Goodreads (1, 7, 2) && Job Spy (1, 0, 197) && Modify ePub (1, 8, 1) && Scroll Book Details (1, 0, 2) && View Manager (1, 10, 2) Traceback (most recent call last): File "calibre\gui2\open_with.py", line 339, in programs_found File "calibre\gui2\open_with.py", line 128, in entry_to_item TypeError: QIcon(): argument 1 has unexpected type 'QImage' I'm guessing it's something to do with some programs not showing an icon (see first image). I have no idea why, and I'm not sure they ever had icons. To be honest, I'd sooner not have the icon clutter. I don't want to edit the windows_open_with.json file in case I break something that works. Happy New Year to all. BR |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, this error was introduced in the previous release will be fixed in the next one.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
Xchange Viewer had always been my default PDF program, until it was superseded by Xchange Editor, which has a nicer rendering of text-based PDFs. Curiously, yesterday I had to use it again, as I wanted to test its OCR with an image-based PDF. What I found was very surprising: while ABBYY Fine reader, despite its many features, can't simply put a text layer under an image-based PDF without altering the images quality, Xchange Viewer not only is able to make an accurate OCR, but it will also allow to just save the text layer without touching the PDF images. I've also tried Xchange Editor, but it added some blur to the OCR'ed PDF... ![]() Happy New Year ![]() |
|
![]() |
![]() |
![]() |
#4 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,038
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Is this related to nothing at all happening when right click on a cover, Edit, which suggests The GIMP will be used? Linux Mint 20.1
That used to work. |
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
@kovidgoyal: Is this related to the regresion I found with Open With icons?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Had an hunch it might be a known regression, but when I checked on GIT the commit was hiding in plain sight, right after the 6.10 change log commit ![]() Have a safe and prosperous 2023 everyone. BR |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
When i add a pdf in caliber and open it with E-book viewer the pdf turns into a epub. | sourov | Library Management | 1 | 08-23-2021 05:05 AM |
'Edit Open With applications...' error | thiago.eec | Editor | 2 | 03-13-2020 06:32 AM |
Error trying to add an Open with application on linux | eschwartz | Calibre | 6 | 05-14-2015 01:04 AM |
Error Not Able to open pdf format in calibre | me9beautiful | Calibre | 7 | 02-01-2012 07:44 PM |
epub in formats list - add open with, or edit, option | cybmole | Calibre | 4 | 01-14-2011 06:28 AM |