|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Apr 2015
Device: kobo wifi
|
Can't open books, suspect xdg-open
Hi, I hope this finds you well.
I'm having trouble opening books, any books, on calibre 2.49 on OpenSUSE Leap with XFCE. I get the following error message: Failed to open URI "file:///home/james/Calibre%20Library/Unknown/the%20c%20book%20(2)". Error when getting information for file '/home/james/Calibre%20Library/Unknown/the%20c%20book%20(2)': No such file or directory. The same thing happens for epubs and pdfs. Now I'm pretty sure it's related to xdg-open passing along %20 instead of handling the spaces properly. I found this post on this forum from a few years ago: https://www.mobileread.com/forums/sho...4&postcount=15 Unfortunately this is referencing LXDE not XFCE, and xdg-open seems to have changed anyway. uname-a: Linux linux-svb1 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 2016 (0a392b2) x86_64 x86_64 x86_64 GNU/Linux I've searched around for this quite a bit before asking. Also maybe I should be filing a bug report somewhere, since this is a vanilla install from the repos for both xdg-utils and Calibre. Thanks in advance for your time! Last edited by Eoaka; 05-07-2016 at 03:00 AM. |
|
|
|
|
|
#2 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,217
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
http://calibre-ebook.com/download_linux Quote:
|
||
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,631
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I gave up on xdg-open a long time ago. Now in all my system, I just replace it with my own 100 line implementation. I suggest you do the same. Trying to get xdg-open to work with anything other than the major desktop environments is an exercise in needless frustration.
|
|
|
|
|
|
#4 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
This problem is completely unrelated to calibre.
Assuming your distro has the latest version of XFCE in their repos, you'll need to file a bug report for XFCE upstream, to get them to fix their dedicated file opener (exo-open) so it accepts urlencoded file:/// links. (calibre uses Qt's native functions for opening files, which simply pass urlencoded file:/// urls to xdg-open -- this is basic UI toolkit file management at its finest. )AFAIK this was supposed to be fixed here and here, so unless they had another regression, this is your distro's fault for being out-of-date. (And a thread on MobileRead, here.) Last edited by eschwartz; 05-08-2016 at 01:19 AM. |
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Apr 2015
Device: kobo wifi
|
Thanks a lot everyone for taking the time to look at this. I appreciate it!
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Apr 2015
Device: kobo wifi
|
Sorry to bump this, but I wanted to post my solution in case anyone else runs into this.
For whatever reason openSUSE is behind with exo-open on both tumbleweed and leap. To get around this I built exo-0.10.7 from source, installed exo-open and and everything works. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre cannot open ebook reader, edit books, or re-open once closed | baggins41 | Calibre | 15 | 04-22-2021 08:54 AM |
| On the Mac, how do you make it so that the table of contents are open, when you open | automa | Sigil | 8 | 01-07-2014 06:22 PM |
| Can't open books that used to open perfectly! | Clearcomms | Devices | 2 | 05-31-2013 01:30 PM |
| overdrive open epub / open pdf? | Joykins | General Discussions | 4 | 01-31-2013 06:05 PM |
| Touch Touch bug - open document with page arrow open | Sooty | Kobo Reader | 3 | 06-11-2011 10:25 PM |