Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-27-2016, 10:13 PM   #1
diomekes
Junior Member
diomekes began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2016
Device: none
Calibre GUI Not Starting (Linux)

I can't get Calibre to start. I downgraded to 2.65 and it loads fine, but no version above that will load. Here's the debug output:

Code:
calibre 2.68  embedded-python: False is64bit: True
Linux-4.7.4-1-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '4.7.4-1-ARCH', '#1 SMP PREEMPT Thu Sep 15 15:24:29 CEST 2016')
Python 2.7.12
Linux: ('', '', '')
Successfully initialized third party plugins: Read MP3 AudioBook metadata (1, 0, 79)
qt5ct: using qt5ct plugin
devicePixelRatio: 1.0
logicalDpi: inf x inf
physicalDpi: -47431377.9645 x -83917053.3218
Starting up...
QWidget::setMaximumSize: (/JobError) Negative sizes (16777215,-492131600) are not possible
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
qt5ct: D-Bus system tray: no
Started up in 1.26 seconds with 70 books
QXcbConnection: XCB error: 2 (BadValue), sequence: 417, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 418, resource id: 23068677, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 419, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 420, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 421, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 423, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 424, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 425, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 428, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 432, resource id: 23068677, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 433, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 436, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 437, resource id: 23068677, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 441, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 442, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 445, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 446, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 449, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 450, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 467, resource id: 23068677, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 468, resource id: 23068677, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 469, resource id: 23068677, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 470, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 471, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 472, resource id: 23068677, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 473, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 474, resource id: 23068677, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 475, resource id: 23068677, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 476, resource id: 23068677, major code: 8 (MapWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 478, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 479, resource id: 23068677, major code: 12 (ConfigureWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 480, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 484, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 485, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0
diomekes is offline   Reply With Quote
Old 09-27-2016, 11:22 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are presumably using some kind of broken vnc server. Use a decent one, like x11vnc or tigervnc and you will be fine.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-28-2016, 08:13 AM   #3
diomekes
Junior Member
diomekes began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2016
Device: none
I'm not using VNC, I'm directly on X with Openbox.
diomekes is offline   Reply With Quote
Old 09-28-2016, 08:29 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Those are all errors talking to the X server. If it is not a broken vnc, then something is wrong with either your graphics drivers or X server installation.
kovidgoyal is online now   Reply With Quote
Old 09-28-2016, 10:39 PM   #5
diomekes
Junior Member
diomekes began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2016
Device: none
I did a reinstall, and it's still not loading. The error is a little different, but probably the same problem. I'm going to submit a bug report on Archlinux, since it may be a missing dependency or something.

Code:
calibre 2.68  embedded-python: False is64bit: True
Linux-4.7.5-1-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '4.7.5-1-ARCH', '#1 SMP PREEMPT Sat Sep 24 13:04:22 CEST 2016')
Python 2.7.12
Linux: ('', '', '')
devicePixelRatio: 1.0
logicalDpi: inf x inf
physicalDpi: -151097187.422 x -268699924.43
QWidget::setMinimumSize: (/Wizard) Negative sizes (-402653024,0) are not possible
QWidget::setMinimumSize: (/Wizard) Negative sizes (0,-626349394) are not possible
QWidget::setMaximumSize: (/Wizard) Negative sizes (-402128897,16777215) are not possible
QWidget::setMaximumSize: (/Wizard) Negative sizes (0,-609572179) are not possible
QWidget::setMinimumSize: (/QWidget) Negative sizes (-492131479,55) are not possible
QXcbConnection: XCB error: 2 (BadValue), sequence: 403, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 404, resource id: 12582917, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 405, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 406, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 407, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 409, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 410, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 411, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 414, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 418, resource id: 12582917, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 419, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 422, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0
diomekes is offline   Reply With Quote
Advert
Old 09-28-2016, 10:58 PM   #6
diomekes
Junior Member
diomekes began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2016
Device: none
I found http://calibre-ebook.com/download_linux and tried it and it worked, so it must be something Archlinux specific.
diomekes is offline   Reply With Quote
Old 10-25-2016, 05:54 PM   #7
salfter
Junior Member
salfter began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2016
Device: Kobo Glo HD
I've gotten the same errors recently trying to run Calibre remotely (start an X server on one box, ssh into another box with X forwarding enabled, and run Calibre on the remote box). This suggests a possible Qt bug:

https://bugreports.qt.io/browse/QTCREATORBUG-14427

If I invoke Calibre with the following:

Code:
QT_DEVICE_PIXEL_RATIO=1 nohup calibre &
it fires up and runs like it should.

(The remote system is Gentoo Linux. The local system is Windows 7 SP1 with Cygwin.)
salfter is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre on Linux not starting BoundforPNG Calibre 12 09-16-2017 11:22 PM
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) DurgaPrasad Calibre 0 10-16-2013 06:50 AM
Calibre GUI linux question ziprar Calibre 0 03-19-2012 05:40 AM
starting calibre to do only jobs (no gui) sosimple Calibre 7 05-27-2011 02:56 AM
Calibre 0.6.27 starting problem (linux) ferossan Calibre 4 12-11-2009 09:46 PM


All times are GMT -4. The time now is 09:36 AM.


MobileRead.com is a privately owned, operated and funded community.