06-16-2017, 01:03 PM | #1 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Errors Starting Calibre 3.0 in Linux Mint 18
I cannot get the 3.0 to run in my Linux desktop. All previous versions ok using normal binary install script.
I have tried a 'normal' overwrite install. It does install with no noticeable errors, but will not show up/open. My resource monitor shows "Calibre" and "Calibre-parallel" processes running. I then did a reinstall of 2.85 and everything runs normal again. Next I did the "isolated install" script and ran calibre from the command line per the instructions. Here are the errors: Code:
$ /home/user/calibre-bin/calibre/calibre QXcbConnection: XCB error: 2 (BadValue), sequence: 386, resource id: 0, major code: 1 (CreateWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 387, resource id: 54525956, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 388, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 389, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 390, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 392, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 393, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 394, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 398, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 402, resource id: 54525956, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 403, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 404, resource id: 54525956, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 405, resource id: 54525956, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 409, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 410, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 413, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 416, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 417, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 434, resource id: 54525956, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 435, resource id: 54525956, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 436, resource id: 54525956, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 437, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 438, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 439, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 440, resource id: 54525956, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 441, resource id: 54525956, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 442, resource id: 54525956, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 443, resource id: 54525956, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 444, resource id: 54525956, major code: 8 (MapWindow), minor code: 0 QWidget::setMaximumSize: (/JobError) Negative sizes (16777215,-492131604) are not possible libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 QFont::setPointSize: Point size <= 0 (-1), must be greater than 0 Traceback (most recent call last): File "site-packages/calibre/gui2/ui.py", line 411, in initialize File "calibre_plugins.find_duplicates.action", line 56, in initialization_complete AttributeError: 'Main' object has no attribute 'clear_button' QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) QXcbConnection: XCB error: 2 (BadValue), sequence: 446, resource id: 0, major code: 1 (CreateWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 447, resource id: 54525964, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 448, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 449, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 450, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 452, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 453, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 454, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 455, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 459, resource id: 54525964, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 460, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 461, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 462, resource id: 54525964, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 466, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 467, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 470, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 471, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 474, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 475, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 476, resource id: 54525964, major code: 12 (ConfigureWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 477, resource id: 54525964, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 478, resource id: 54525964, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 479, resource id: 54525964, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 480, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 481, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 482, resource id: 54525964, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 483, resource id: 54525964, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 484, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 485, resource id: 54525964, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 486, resource id: 54525964, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 487, resource id: 54525964, major code: 1 (CreateWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 488, resource id: 54525964, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 489, resource id: 54525964, major code: 19 (DeleteProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 490, resource id: 54525966, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 491, resource id: 54525964, major code: 8 (MapWindow), minor code: 0 QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) QXcbConnection: XCB error: 3 (BadWindow), sequence: 493, resource id: 54525956, major code: 10 (UnmapWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 496, resource id: 54525956, major code: 4 (DestroyWindow), minor code: 0 QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) ^CQWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) QWidget::setMinimumSize: (MainWindow/Main) The largest allowed size is (16777215,16777215) Nothing unusual about my Linux install as far as "BadWindow" errors go, as far as I know. Is there a debug command that may help with this? Thanks. |
06-16-2017, 01:18 PM | #2 | |
Wizard
Posts: 2,131
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
use Code:
calibre-debug -g This is the cmd I use to install calibre: Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda x:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('/opt')" bernie |
|
Advert | |
|
06-16-2017, 02:00 PM | #3 |
creator of calibre
Posts: 44,601
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are you using VNC or some such?
|
06-16-2017, 02:21 PM | #4 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
I then changed my display setting from 1366x768 1120x720. Unfortunately my big screen monitor didn't like that and now I have a black screen, even after a reboot. Am using old laptop to reply while I figure out how to restore my original display settings in linux... I did run the debug -g mode, but need to get back to a linux desktop to get those results. |
|
06-16-2017, 02:23 PM | #5 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
|
Advert | |
|
06-16-2017, 02:42 PM | #6 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
When I run it with calibre-debug -g, here is the initial output I get. The remainder past this is just a repeat of the list of errors I showed above: Code:
calibre 3.0 embedded-python: True is64bit: True Linux-4.8.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF') ('Linux', '4.8.0-54-generic', '#57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017') Python 2.7.12 Linux: ('debian', 'stretch/sid', '') Successfully initialized third party plugins: Consolidate All Library Metadata (2, 0, 29) && Reading List (1, 6, 6) && Import List (1, 1, 5) && NormComment (0, 0, 2) && Webscription (1, 1, 0) && FictionDB (1, 0, 10) && Diaps Editing Toolbag (0, 3, 4) && Barnes & Noble (1, 2, 14) && Quality Check (1, 9, 11) && Modify ePub (1, 3, 13) && Find Duplicates (1, 6, 2) && Resize Cover (1, 0, 2) && Databazeknih (1, 4, 0) && Quick Preferences (1, 4, 1) && Goodreads (1, 1, 12) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: inf x inf physicalDpi: -49587349.6902 x -87694669.8701 Using calibre Qt style: True Starting up... QXcbConnection Code:
$ calibre-debug -g calibre 2.85.1 embedded-python: True is64bit: True Linux-4.8.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF') ('Linux', '4.8.0-54-generic', '#57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017') Python 2.7.9 Linux: ('debian', 'stretch/sid', '') Successfully initialized third party plugins: Find Duplicates (1, 6, 2) && Consolidate All Library Metadata (2, 0, 29) && Quick Preferences (1, 4, 1) && NormComment (0, 0, 2) && Resize Cover (1, 0, 2) && Barnes & Noble (1, 2, 14) && Modify ePub (1, 3, 13) && Quality Check (1, 9, 11) && Webscription (1, 1, 0) && Goodreads (1, 1, 12) && FictionDB (1, 0, 10) && Databazeknih (1, 4, 0) && Reading List (1, 6, 6) && Import List (1, 1, 5) && Diaps Editing Toolbag (0, 3, 4) devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 31.5421818182 x 31.3620578778 Starting up... DEBUG: 0.0 NormComment::action.py - loading translations libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Started up in 3.01 seconds with 0 books Last edited by MontyJ; 06-16-2017 at 03:09 PM. Reason: Additional Info |
|
06-16-2017, 03:40 PM | #7 |
creator of calibre
Posts: 44,601
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those errors all come from Qt, presumably Qt 5.6 which calibre 3 uses does not work with whatever window manager/X server you are using. Not much I can do about it. I suggest sticking with 2.85.1 for now.
|
06-16-2017, 03:44 PM | #8 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Ok, will do that. Thanks for the quick response to the issue.
|
06-16-2017, 06:25 PM | #9 | |
Guru
Posts: 674
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Quote:
Code:
calibre 3.0 embedded-python: True is64bit: True Linux-4.4.0-21-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF') ('Linux', '4.4.0-21-generic', '#37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016') Python 2.7.12 Linux: ('debian', 'stretch/sid', '') Successfully initialized third party plugins: xxx Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 131.521035599 x 131.379310345 Using calibre Qt style: True Starting up... |
|
06-27-2017, 12:09 PM | #10 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Code:
-rw-r--r-- 1 root root 56 Apr 5 2016 qt4-i386-linux-gnu.conf -rw-r--r-- 1 root root 60 Apr 5 2016 qt4-x86_64-linux-gnu.conf -rw-r--r-- 1 root root 60 May 12 11:45 qt5-x86_64-linux-gnu.conf I would really like to not revert to Mint 18.1, but it may be the only way to get Calibre 3 to run. |
|
06-27-2017, 12:28 PM | #11 |
creator of calibre
Posts: 44,601
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre comes with its own copy of Qt, which is version 5.6.2 for calibre 3.0 and (IIRC 5.5 for calibre 2.85.1)
|
06-27-2017, 01:04 PM | #12 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
I also just checked my Mint version and it is 18.1, just like @patrik has, and his works. The only difference I see is that I am on kernel version Linux-4.8.0-56, and he is on Linux-4.8.0-54. I show 54 is still installed, so I may try uninstalling 56 and see if it will revert to 54. Hopefully it will run then. Update: Removed 56, rebooted, confirmed 54, but Calibre 3.0 will still not display; same errors with all the invalid/bad window errors. Last edited by MontyJ; 06-27-2017 at 01:32 PM. |
|
06-27-2017, 01:17 PM | #13 |
Wizard
Posts: 3,456
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
I run on Mint Linux 18.1 Serena KDE, Kernel 4.4.0-53-generic without problems.
|
06-27-2017, 01:35 PM | #14 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
|
06-27-2017, 02:24 PM | #15 |
Guru
Posts: 674
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
I'm also running Cinnamon.
I don't think it matters, but my "get calibre" uses a different url than the one shown above. Code:
sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1) Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.1 Serena |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre and Linux Mint 18.0 | enuddleyarbl | Calibre | 9 | 07-23-2016 09:17 PM |
Calibre on Linux Mint | kjetil1001 | Calibre | 1 | 01-09-2015 04:46 PM |
Linux Mint, iPhone 4 and Calibre | ertpresso | Devices | 6 | 03-30-2012 06:38 AM |
Calibre in Linux mint | Cy1clown | Calibre | 6 | 05-18-2011 03:16 PM |
Calibre can't see prs350 on linux mint | domromer | Calibre | 2 | 11-24-2010 02:57 PM |