View Single Post
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,767
Karma: 30237628
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:	105
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