View Single Post
Old 11-27-2010, 04:21 PM   #7
Mitchll
Cave Dweller
Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.
 
Mitchll's Avatar
 
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
Quote:
Originally Posted by kovidgoyal View Post
What does running

Code:
calibre-debug -c "from PyQt4.Qt import QApplication, QPalette; app = QApplication([]); print unicode(QApplication.palette().color(QPalette.Normal,  QPalette.Window).name()); print unicode(QApplication.palette().color(QPalette.Normal,  QPalette.WindowText).name());"
in terminal.app give you

(you may need to install the calibre command line tools first via preferences->miscellaneous)
calibre-debug -c "from PyQt4.Qt import QApplication, QPalette; app = QApplication([]); print unicode(QApplication.palette().color(QPalette.Norm al, QPalette.Window).name()); print unicode(QApplication.palette().color(QPalette.Norm al, QPalette.WindowText).name());"
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
Qt: qcolorFromCGColor: cannot convert from colorspace model: 6
#000000
#000000


Hope this helps. Thanks
Mitchll is offline   Reply With Quote