Selection of external viewer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When trying to set the external viewer for opening PDF files:
calibre 2.48 isfrozen: False is64bit: False
Linux-4.
('Linux', '4.3.0-1-686-pae', '#1 SMP Debian 4.3.3-2 (2015-12-17)')
Python 2.7.11
Linux: ('debian', 'stretch/sid', '')
Successfully initialized third party plugins: Count Pages
Traceback (most recent call last):
File "/usr/lib/
entry_
File "/usr/lib/
ans = QListWidgetItem
TypeError: QIcon(): argument 1 has unexpected type 'dict'
MEGA UGGLY FIX:
in File "/usr/lib/
replaced line ans = QListWidgetItem
by ans = QListWidgetItem
Hope this help to find a solution
That indicates you have some broken icon theme on your system, stick theme_dir( ) function in
some print statements into read_icon_
open_with/linux.py to see why it is returning an icon as a dictionary
instead of a path. Also change the if on line 132 to be always true and
then run:
calibre-debug -c "from calibre. utils.open_ with.linux import *; find_icons()"
the print statements should tell us what the problematic icon theme
dorectory is, then you can attach it to this ticket and I will take a
look.
status incomplete