![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Sony PRS-T1
|
[Solved] Opening pdf / containing folder not working
Hi,
I got a problem opening my pdf. When I click on right side's menu I can open the pdf (see picture). When double clicking on the books in the main windows or using context menu "open containing folder" or clicking on the right side on "Path: Click to open" I get error messages like below. Any ideas? Cheers when clicking open containing folder: "Die Adresse »file:///home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)« konnte nicht geöffnet werden. Fehler beim Holen der Informationen für Datei »/home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)«: Datei oder Verzeichnis nicht gefunden." when doubleclicking: "Die Adresse »file:///home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)/Neuropsychologie%20-%20Karnath,%20Hans%20O_.pdf« konnte nicht geöffnet werden. Fehler beim Holen der Informationen für Datei »/home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)/Neuropsychologie%20-%20Karnath,%20Hans%20O_.pdf«: Datei oder Verzeichnis nicht gefunden." Last edited by kulo73; 10-02-2015 at 07:20 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,204
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
xdg-open on your system is broken, it is not handling encoded file:// URLs correctly. Fix it and your problems will go away.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Sony PRS-T1
|
Quote:
Problem seems XFCE specific (occured on Linix Mint 17.2 xfce 64bit) Found the bug indeed in /usr/bin/xdg-open - "$' is missing a " ("$"') If anybody else has the problem change Code:
elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; Code:
elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$"' >/dev/null 2>&1; then DE=xfce; Last edited by kulo73; 10-02-2015 at 07:25 AM. |
|
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Nope, what you have done is disabled detection of xfce4.
![]() As a result, xdg-open uses its own open_generic() fallback (which parses desktop files) instead of open_xfce() which calls in turn on exo-open (part of xfce, and the true cause of the problem). It's not so much that xdg-open is broken, it's just designed to work with a bunch of broken desktop-specific openers -- half of which are broken, and xdg-open does nothing to fix the problem. Some desktops work fine with xdg-open, if their branded opener plays nice with encoded file urls. But hey, that's "fixing" it too -- there must be some reason why drop-in replacements for xdg-open are so popular. ![]() Some people seem to think the founding principle of xdg-open is entirely flawed. ![]() Last edited by eschwartz; 10-02-2015 at 01:24 PM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,204
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC someone recently submitted a fix for exo-open so hopefully, XFCE using people will not suffer from this for too much longer.
EDIT: https://bugzilla.redhat.com/show_bug.cgi?id=1246383 Last edited by kovidgoyal; 10-02-2015 at 12:18 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura Reader not opening PDF | ChrisK91 | Kobo Reader | 4 | 04-19-2015 04:22 PM |
some PDF files not opening | Mosqueteir0 | enTourage eDGe | 5 | 10-04-2012 06:19 AM |
Some PDF files not opening on vox | aycn602 | Kobo Tablets | 3 | 11-20-2011 05:18 PM |
ADE not opening a pdf? | echoleaf | Reading and Management | 0 | 10-06-2009 06:53 PM |
Large pdf opening | pthwaite | iRex | 25 | 10-19-2008 02:38 PM |