Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2017, 11:18 PM   #1
selittle
Junior Member
selittle began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kindle Paperwhite
Calibre 3.1.1. not working LinuxMint 18.2

I have installed calibre on my computer using linuxmint 18.2 (based on ubuntu 16.04) and when I try to launch it I get the following in my terminal, but nothing else happens:

QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible
QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible
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: 73400324, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 388, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 389, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 390, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 392, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 393, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 394, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 398, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 402, resource id: 73400324, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 403, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 404, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 405, resource id: 73400324, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 409, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 410, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 413, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 414, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0
QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible

Older version of Calibre work fine.

Any help would be awesome.
selittle is offline   Reply With Quote
Old 06-30-2017, 01:30 AM   #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,840
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is some incompatibility between Qt 5.6 which calibre 3 uses and your X server. Basically, Qt for some reason gets the wrong/missing DPI information for the screen, which in trun causes it to use absurd/negative sizes for windows, and that causes those errors.

Unfortunately, I know of no way to find the root cause of this. If I had to guess, I'd say it is related to the new high DPI support in Qt. You can running calibre like this, it might work:

QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 calibre
kovidgoyal is online now   Reply With Quote
Advert
Old 07-01-2017, 12:22 AM   #3
selittle
Junior Member
selittle began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kindle Paperwhite
I wound up removing 3.1.1. and installing 2.85. Until LM updates the x server on the xfce version I think thats best. Thanks
selittle is offline   Reply With Quote
Old 07-02-2017, 02:28 PM   #4
loviedovie
Addict
loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
This solution did not work for me. Could there be any other things to try to get v3 to work under these conditions?

Quote:
Originally Posted by kovidgoyal View Post
QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 calibre
loviedovie is offline   Reply With Quote
Old 07-02-2017, 02:40 PM   #5
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,840
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not that I know of
kovidgoyal is online now   Reply With Quote
Advert
Old 07-03-2017, 10:06 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
I updated to Mint 18.2 Cinnamon today have no problems with calibre 3.2.1.

I suspect that the posters having problems are using NVIDIA graphics card, or the legacy Intel display driver that is no longer supported.



bernie
Spoiler:
Code:
SDA ~ $ calibre-debug -g
calibre 3.2.1  embedded-python: True is64bit: True
Linux-4.8.0-53-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.8.0-53-generic', '#56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017')
Python 2.7.12
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 5, 4) && Modify ePub (1, 3, 13) && EpubSplit (2, 2, 1) && Barnes & Noble (1, 2, 14) && Baen (0, 0, 3) && Goodreads (1, 1, 12) && Quality Check (1, 9, 11) && Generate Cover (1, 5, 21) && KindleUnpack - The Plugin (0, 81, 4) && Diaps Editing Toolbag (0, 3, 4) && Hyphenate This! (0, 0, 8)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 96.3318518519 x 96.0945812808
Using calibre Qt style: True
Starting up...
libpng warning: iCCP: known incorrect sRGB profile
DEBUG:    0.0 get_baen_id: match_group= None
Started up in 4.52 seconds with 3100 books
gbm is offline   Reply With Quote
Old 07-07-2017, 06:32 PM   #7
armaggedon51
Member
armaggedon51 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2012
Device: aluratek libre reader pro
I have been using all versions 3 (3.3 now) on Mint Cinnamon 18, 18.1 and 18.2 with the Nividia driver and no problem (apart from having to set the GTK theming flag)
armaggedon51 is offline   Reply With Quote
Old 07-10-2017, 05:25 PM   #8
Brad_Reed
Junior Member
Brad_Reed began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2017
Device: kindle paperwhite; astak easy reader; iRex
For what it is worth, QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 ebook-viewer Makes the icons on the left hand side a reasonable size on my laptop. They are over an inch in size with default settings (Slackware-current, Qt5.9)
Brad_Reed is offline   Reply With Quote
Old 08-13-2017, 08:29 AM   #9
NewEnglandLimey
Junior Member
NewEnglandLimey began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Ubuntu desktop
Having the same problem (silly size messages) with Ubuntu Studio 17. Fortunately the suggested solution (QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1) works just fine here.

Thanks for the info, Kovid!


I may have spoken a little too soon - Calibre does throw an error on exiting,

Gtk-Message: Failed to load module "atk-bridge"

but this doesn't (so far) appear to affect the operation of the program.

Last edited by NewEnglandLimey; 08-13-2017 at 08:44 AM. Reason: update
NewEnglandLimey is offline   Reply With Quote
Reply

Tags
calibre 3, linux mint 18.2, ubuntu 16.04, ubuntu studio 17

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LinuxMint 18.1 How to downgrade Sigil from 9.x to 8.2 harryg123 Sigil 2 04-05-2017 06:49 AM
Dual Boot Linuxmint/XP Library sharing nomad062 Library Management 9 01-07-2017 06:22 PM
Calibre Sync on Android stopped working properly with recent version of Calibre? khahoon Calibre 5 07-06-2013 08:14 AM
Calibre not working right for me Klippy Calibre 0 02-23-2013 12:28 AM
Calibre working only 47% neilmarr Calibre 7 09-30-2009 02:02 AM


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


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