Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-24-2015, 12:30 PM   #1
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
Missing pulldown menus?

Hi

I am having one weird issue. Everything works fine as instended except that sometime after opening Calibre I loose the pulldown menus. For instance I press e and try to open the trim menu, no pulldown list shows up. This is same for all te pulldown menus in Calibre. The only solution is to restart it. After a restart I get all those pulldown menus back. However they sure disappear after certain time. And I am really not sure how long it takes until this issue happens after a fresh start.

Did anyone else have this issue too?

Btw I am on Debian Linux x64./

thanks

Last edited by loviedovie; 12-24-2015 at 01:29 PM.
loviedovie is offline   Reply With Quote
Old 12-24-2015, 06:42 PM   #2
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
I am not sure if these are helpful but here is the log when it started with -v

QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 172 (Unknown), sequence: 161, resource id: 180, major code: 149 (Unknown), minor code: 20
Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 152, in __init__
File "site-packages/calibre/gui2/ui.py", line 166, in init_iaction
File "site-packages/calibre/customize/__init__.py", line 582, in load_actual_plugin
File "importlib/__init__.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.recoll_fulltext_search.ui", line 18, in <module>
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.recoll_fulltext_search.main", line 17, in <module>
ImportError: No module named PyQt4.Qt
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Failed to create system tray icon, your desktop environment probably does not support the StatusNotifier spec
macmenuhack file_path:/home/xxx/.config/calibre/plugins/fanficfare_macmenuhack.txt

QXcbConnection: XCB error: 172 (Unknown), sequence: 11623, resource id: 113246222, major code: 149 (Unknown), minor code: 20
QXcbWindow: Unhandled client message: "_MATE_PANEL_ACTION"
loviedovie is offline   Reply With Quote
Advert
Old 12-25-2015, 02:02 PM   #3
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
And this is what I getr extra when I run with debug
Spoiler:

calibre Debug log
calibre 2.47 isfrozen: True is64bit: True
Linux-4.1.3-customkernel-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.1.3-customkernel', '#1 SMP Wed Jul 22 12:55:12 CDT 2015')
Python 2.7.9
Linux: ('debian', 'stretch/sid', '')
Successfully initialized third party plugins: Modify ePub && Open With && Find Duplicates && EpubSplit && Barnes & Noble && EpubMerge && Wiki Reader && KePub Output && Kindle Collections && Read MP3 AudioBook metadata && Reading List && Search The Internet && Recoll Full Text Search && Save To Format && Quality Check && Resize Cover && Generate Cover && Import List && Copy Cover To Device && Kobo Utilities
QXcbConnection: Failed to get the primary output of the screen
Starting up...
QXcbConnection: XCB error: 172 (Unknown), sequence: 161, resource id: 180, major code: 149 (Unknown), minor code: 20
Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 152, in __init__
File "site-packages/calibre/gui2/ui.py", line 166, in init_iaction
File "site-packages/calibre/customize/__init__.py", line 582, in load_actual_plugin
File "importlib/__init__.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.recoll_fulltext_search.ui", line 18, in <module>
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.recoll_fulltext_search.main", line 17, in <module>
ImportError: No module named PyQt4.Qt
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Failed to create system tray icon, your desktop environment probably does not support the StatusNotifier spec
macmenuhack file_path:/home/xxxxx/.config/calibre/plugins/fanficfare_macmenuhack.txt
DEBUG: 1.4 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1.4 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
Started up in 25.00 seconds with 1384 books
DEBUG: 220.0 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 220.0 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 220.0 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
djview: failed to get the current screen resources
DEBUG: 358.1 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 358.1 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 358.1 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 1085.1 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1085.1 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1085.1 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
Added quatrains1883omaruoft to db in: 13.3
Added 1 books in 17.9 seconds

Debugging DND event

Firefox rurl: None None

Debugging DND event


Firefox rurl: None None
Extensions: frozenset([u'pdf'])
Device using plugboard djvu save_to_disk None
Device using plugboard pdf save_to_disk None
Saved 1 books in 9.6 seconds
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 172 (Unknown), sequence: 44179, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44184, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44189, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44201, resource id: 16804204, major code: 149 (Unknown), minor code: 20
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 172 (Unknown), sequence: 44205, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44210, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44215, resource id: 180, major code: 149 (Unknown), minor code: 20
QXcbConnection: XCB error: 172 (Unknown), sequence: 44224, resource id: 16804204, major code: 149 (Unknown), minor code: 20

Last edited by theducks; 12-25-2015 at 03:53 PM. Reason: add spoiler
loviedovie is offline   Reply With Quote
Old 12-25-2015, 03:10 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Why is it showing errors trying to communicate with an X server? Is your X11 setup broken or unusual?
eschwartz is offline   Reply With Quote
Old 12-25-2015, 03:39 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,525
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Are you seeing different menus after a device is connected and before its removed? calibre has different menus for wjhen no device is connected and when one is connected.
PeterT is offline   Reply With Quote
Advert
Old 12-26-2015, 10:56 AM   #6
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
@loviedovie:

The reason appears to be that your installation of the Recoll Full Text Search plugin has this problem:

Quote:
File "calibre_plugins.recoll_fulltext_search.main", line 17, in <module>
ImportError: No module named PyQt4.Qt

Your log shows that you are using Calibre 2.47, which uses PyQt5.Qt.

Qt is the GUI toolkit that creates everything you see, including menus.

Manually delete the .zip for Recoll Full Text Search from the configuration directory for plugins, and restart Calibre. If all is well, that was the problem.



DaltonST
DaltonST is offline   Reply With Quote
Old 12-26-2015, 11:50 AM   #7
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
@eschwartz

I am using it under x2go session. The Xserver is abit limited due to Opengl limitations I believe howver Calibre works for hours before loosing the menus.


@DaltonST
I will try your solution.

@PeterT
I am not attaching any devices. This happens when no device attached
loviedovie is offline   Reply With Quote
Old 12-26-2015, 07:55 PM   #8
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
@DaltonST

That did not help at all ;( Somehow some hours later I loose puldown menus. I do not attach or detach devices or do any other thing between a fresh restart and loosing the menus. The menu icons are there but clicking on any of the menus with a pulldown window does not do anything. The weird thing is that the debug does not create any debug event either.
loviedovie is offline   Reply With Quote
Old 12-26-2015, 08:11 PM   #9
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,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by loviedovie View Post
@DaltonST

That did not help at all ;( Somehow some hours later I loose puldown menus. I do not attach or detach devices or do any other thing between a fresh restart and loosing the menus. The menu icons are there but clicking on any of the menus with a pulldown window does not do anything. The weird thing is that the debug does not create any debug event either.
Code:
calibre Debug log
calibre 2.47  isfrozen: True is64bit: True
Linux-4.1.3-customkernel-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.1.3-customkernel', '#1 SMP Wed Jul 22 12:55:12 CDT 2015')
Have you tried a 4.1.3 generic kernel?

I would go back to and try an older kernel also.
bernie
gbm is offline   Reply With Quote
Old 12-26-2015, 08:50 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by loviedovie View Post
@DaltonST

That did not help at all ;( Somehow some hours later I loose puldown menus. I do not attach or detach devices or do any other thing between a fresh restart and loosing the menus. The menu icons are there but clicking on any of the menus with a pulldown window does not do anything. The weird thing is that the debug does not create any debug event either.
I'm not surprised, since calibre's builtin code will not randomly mess up like that just because a user plugin fails to load with a Qt4 error.
But to double-check, you can start calibre with
Code:
calibre --ignore-plugins
to make sure that your problems aren't plugin-related in any way.


Afraid I don't know why the menus would break for you though.
That X11 error still looks weird to me.

Quote:
Originally Posted by gbm View Post
Code:
calibre Debug log
calibre 2.47  isfrozen: True is64bit: True
Linux-4.1.3-customkernel-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.1.3-customkernel', '#1 SMP Wed Jul 22 12:55:12 CDT 2015')
Have you tried a 4.1.3 generic kernel?

I would go back to and try an older kernel also.
bernie
I highly doubt that this is a kernel error. But FWIW I don't use ancient kernels either, and I haven't gotten this error.

As for custom kernels vs. generic kernels, WTF is a generic kernel anyway. Every kernel out there makes a choice about how to build, and the kernel developers don't bless any one choice.
The specific kernel config blessed by Debian sid is no more likely to fix this than the config options turned on/off by the OP's custom changes.

The kernel is not supposed to be configured to break userspace I customize the kernel by using the -ck patchset/bfq/bfs scheduler plus cutting down on installed modules that I will never load plus a couple other random tweaks (don't bother checking for microcode, I already know my laptop doesn't have any available, GCC optimize for my CPU, etc.).

I might expect the boot process to error out, but not calibre...
(Actually my boot did recently break, but that was a kernel bug not a -ck bug.)

Last edited by eschwartz; 12-26-2015 at 08:56 PM.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank menus and buttons myki Onyx Boox 1 08-18-2015 10:10 AM
Menus CEW4 Development 15 10-30-2011 08:42 AM
Drop down menus CazMar Feedback 3 09-16-2011 02:03 AM
PRS-350 Better contrast in menus than when reading sethdove Sony Reader 3 04-30-2011 01:38 AM
How to edit drop down menus arnoldajr Library Management 3 03-12-2011 05:11 PM


All times are GMT -4. The time now is 05:48 PM.


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