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-31-2022, 02:57 AM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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 :

Click image for larger version

Name:	1.jpg
Views:	104
Size:	43.8 KB
ID:	198700

I get an error popup and a spinning wheel, viz

Click image for larger version

Name:	2.jpg
Views:	72
Size:	55.2 KB
ID:	198701

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 get the same error with DOCX Open With->Edit…

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
BetterRed is offline   Reply With Quote
Old 12-31-2022, 07:19 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,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.
kovidgoyal is online now   Reply With Quote
Advert
Old 12-31-2022, 10:03 AM   #3
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
If I try to add an item to, or edit, the PDF Open With list, viz :

Attachment 198700
off-topic:

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
Comfy.n is offline   Reply With Quote
Old 12-31-2022, 11:01 AM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
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.
Quoth is offline   Reply With Quote
Old 12-31-2022, 01:23 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
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?
ownedbycats is offline   Reply With Quote
Advert
Old 12-31-2022, 03:23 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
yes, this error was introduced in the previous release will be fixed in the next one.
Thanks

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 ==>> https://github.com/kovidgoyal/calibr...ee225869d085ff

Have a safe and prosperous 2023 everyone.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 11:46 AM.


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