08-24-2017, 02:42 PM | #1 |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
Huh, X-Forwarding on Linux broke.
Quick preamble: I have a few smaller systems, older of age and a little dusty sometimes, which I use as servers for some purpose or other. Mostly consisting of hardware I got donated, because XYZ doesn't need it anymore.
I've added a new donation to the landscape, which I decided might make a nice server for calibre. Large storage, 4gigs of RAM, decent processor. I added the system to my landscape, after installing linux on it (yes, I know... I'm a fanboy, and so forth...)... Tried to start via x-forwarding, hangs, only kill -9 helps. So, basically, unless I attach a screen (which defeats the headless thing I want to do) or make my way through the CLI for adding new books and manage my devices, I have no way to manage calibre :F Is there a way to fix that? Details: OS - Manjaro Linux (17.02) Calibre Version - 3.5.0 Error code: Spoiler:
Everything else works just fine, which is rather odd... Last edited by Lofwyr23; 08-24-2017 at 02:45 PM. |
08-24-2017, 11:26 PM | #2 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's an error from Qt. Qt has trouble with some types of X servers. Whatever you are using for forwarding is presumably one of them. I typically use tigervnc which Qt works fone with.
|
08-25-2017, 03:10 AM | #3 |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
I'm trying to run this on the normal x stack (so, X11).
I've hooked up a screen to get to the machine normally, calibre doesn't start either, console not showing anything as well. Since VNC just remotes the local desktop, chances are, VNC won't work either... I'll see and raise an issue within the distribution community, let's see if that'll work <.< |
08-25-2017, 03:40 AM | #4 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I use VNC with calibre all the time, so I know that it does work. I dont use X forwarding however -- I typically find it far more useful to have full desktop access rather than single app at a time.
|
08-25-2017, 05:14 AM | #5 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
just my contribution to the topic........
I installed Calibre 3.7 on a Debian Stretch server with rather old hardware but decent processor (dual core) and ram (4+ Gb). Then from an OSX terminal (XQuartz installed) I logged in to the server with ssh. Then started calibre on the Debian server. It takes some time, but then I get the familiar screens of the calibre application, the splash screen was a mess so I disabled it. Calibre/Debian throws the following error, but all seems to function as expected. It just explains why it takes some time (up to a minute) before calibre shows up. Code:
ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Last edited by mariosipad; 08-25-2017 at 05:14 AM. Reason: typo(s) |
08-25-2017, 11:50 AM | #6 | |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
The issue at hand is that the X-Server even fails to display even locally (read: no forwarding), so I assume an argument between my x-server version and calibre or one of its underlying components, I'll push an update once it comes through. Shouldn't take too long, what with rolling release and stuff...
@mariosipad: Your DBus error should be easily explained. DBus tries to open a connection on your OSX system (which does NOT run DBus, or blocks remote DBus messages), and fails. Quote:
But I'm in the process of getting this to the manjaro maintainer to get some knownledge under the belt and maybe spot what's broke... The reason I set this up as it is: I'm trying to store my library on the network, and manage it with calibre, trying to evade the command line. Since I have enough spare parts and donated hardware, I've pieced together a headless system so I could run calibre with X-Forwarding so I don't have to go through adding, editing and converting through the command line :F Last edited by Lofwyr23; 08-25-2017 at 11:58 AM. |
|
08-25-2017, 12:10 PM | #7 |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
Lookie what the cat dragged in... a core dump... An update and reboot later, we got a step further :X
|
08-25-2017, 01:34 PM | #8 | |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Quote:
So I think it's the hardware (there are more "strange" / "unexpected" errors). Never mind. I just tried to write that it's probably not a calibre problem that X-forwarding does (did?) not work for you. |
|
08-25-2017, 03:58 PM | #9 | |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
Quote:
I've tested other QT related apps, they run fine. Core dump points to python being the culprit. For whatever reason. I'm no reverse engineer, but it seems to choke on an import failing... <.< |
|
08-25-2017, 10:15 PM | #10 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can always compile calibre from source, then it will use the system Qt and should work.
|
08-26-2017, 11:37 AM | #11 | |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
Quote:
I'll clean this up,do a reimage, pull a fresh copy of my library,and see if things are going fine afterwards. |
|
08-27-2017, 07:36 AM | #12 |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
So, finally found a workaround (as this does NOT feel like a proper solution):
This is verified working on a Windows 7 Ultimate installation:
From there on, calibre works as usual. Everything else works nifty as usual. Something that shot through my mind, I have no idea how hard it might be: Seperate the library handling and the gui with device handling from each other (server/client). An example on how I would use it: I have my library stored on a dedicated machine, running the server component and want to download new books on my reader. I power up a laptop I have setup in my network, start the client, connect my reader to the laptop, and it is recognized as it is now. The server sends the book to the client, which directly streams to the reader. Last edited by Lofwyr23; 08-27-2017 at 07:41 AM. |
08-27-2017, 08:18 AM | #13 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
08-27-2017, 08:24 AM | #14 |
Poker of bits and books
Posts: 70
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Vision 5
|
(I've yet to look at calibre's source, so this is just me flinging around ideas, stop me if I steer too far off a feasible approach)
I've used the calibre-server standalone for some time now, wouldn't extending it with some kind of REST API (and polling said API) work for remote management? |
08-27-2017, 08:56 AM | #15 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can already maange remote libraries via the calibredb command line tool. It only remains to add GUI integration, the two possible approaches for that are outlined in the document I linked to before.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Huh? | mikaelalind | Calibre | 1 | 01-13-2010 04:57 PM |
So what about this OPUS, huh? Should I buy one for $198 - ? | Dr. Drib | Bookeen | 17 | 12-22-2009 07:57 PM |
Huh!? | GeoffC | Lounge | 109 | 07-01-2008 01:16 PM |
So you wanna read in the dark huh.. | Stuart Young | Deals and Resources (No Self-Promotion or Affiliate Links) | 5 | 12-20-2006 04:40 PM |