![]() |
#16 |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Kovid - The workaround is proving tedious for the large book additions I have to do. Isn't there a way I can go back to adding from the menu?
I also checked that the file dialogs of other apps - inkscape, gimp, clementine - are working. |
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since the bug is not in calibre, but in the Qt - system integration, there isn't anything I can do to help you. You will need to fix whatever broke in your system. Places to start looking are
1) Use strace -f to try and figure out which system call is hanging 2) Disable/uninstall all qt 5 plugins your system might have 3) Try setting the environment variable CALIBRE_IGNORE_SYSTEM_THEME=1 although I doubt this will make any difference. |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I have a different log today for lauching with CALIBRE_NO_NATIVE_FILEDIALOGS
No KDE KIO issue but other errors. Quote:
|
|
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's because you have switched to using the distro version of calibre, that's not going to make any difference, as you discovered.
One more thing you can try is disabling third party plugins in calibre, like this: calibre --ignore-plugins |
![]() |
![]() |
![]() |
#20 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I removed all third party plugins.
I moved the plugins folder of both qt4 & qt5 to /tmp separately. I tried both CALIBRE_IGNORE_SYSTEM_THEME & CALIBRE_NO_NATIVE_FILEDIALOGS The only thing in the debug till I kill the process was... Quote:
strace-calibre.log is huge and beyond my depth to make any sense of. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then I am out of ideas.
|
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Try running Calibre under a different window manager. I'm not sure what Kubuntu has installed by default but even if you need to install something lightweight like, say, icewm, it shouldn't be too taxing on your resources. Make sure you are running the latest version downloaded from the Calibre site and not the distro version. This should at least confirm that the problem is with KDE.
|
![]() |
![]() |
![]() |
#23 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I installed icewm, then calibre 2.29 from the site. Calibre picked up my library location automatically and loaded the full library. I then proceeded to add a book, this time it hung again but with the file dialog box still open.
And here is what I got. Quote:
Btw, I am able to add books from the command line. |
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
I presume you are still running with the option not to use native dialogs. If so, try letting it use them in Icewm or Gnome.
|
![]() |
![]() |
![]() |
#25 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Ok, I ran with native file dialogs on both Gnome & Icewm.
On Gnome the file dialog shut on clicking OK and Calibre hung. On Icewm calibre hung w/o the file dialog shutting. The debug message is again the same in both: Quote:
|
|
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
This is certainly a puzzling problem. I don't think the system tray error is a fatal one. Though I am not 100% sure I doubt this has anything to do with the problem. I am running an up to date Sabayon 64 bit with KDE and 2.2.9 and all works flawlessly. My next suggestion is probably clutching at straws, but perhaps worth a try. Calibre configuration settings are usually in ~/.config/calibre, which of course survive updates, downgrades etc. It may be worth trying to run a fresh download of Calibre without these settings. Either run as a different user or move the calibre directory from .config to a safe temporary location. Then run Calibre which will take you through setup. Don't connect to your existing library. Instead let Calibre create a new empty library in a different location. Then see if you are able to add any books from the GUI. You can of course restore your old settings by deleting the new calibre directory from .config and replacing with your old settings.
Two other questions? Are you aware of any changes to your system shortly before the problem occurred? And is your Calibre library stored locally or on an NAS or in the cloud? Finally, if you are desparate enough and all else fails try running the Windows version of Calibre under Wine or Crossover. Good luck. |
![]() |
![]() |
![]() |
#27 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Code:
# systray icon # Show system tray icon systray_icon = False BR |
|
![]() |
![]() |
![]() |
#28 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I had already gone ahead with @darryl - clutched at straws!
My calibre dump and db was on an internal ext3 sata drive. Unplugged it. Uninstalled calibre which is on my bootable SSD. Moved .config/calibre to another location. Rebooted and reinstalled calibre, this time with library on bootable SSD. Started calibre both w & w/o native filedialog. Added a book through file dialog. Hung again. Imp: Even if I cancel w/o adding a book & shut file dialog, calibre hangs. So I also try adding a book cover through "browse'. Same - cancel filedialog & calibre hangs. (@Kovid, you wanted to know this). Added books through command line, works fine. Tried all the above in Gnome. Same results. Didn't try icewm but I guess that should be no different since Gnome eliminates KDE Plasma as the culprit. Only debug message in all the above attempts: Quote:
Before this issue occurred I was enabling regular Kubuntu software upgrade notifications on 14.10. I migrated to 15.04 after this issue started. I also migrated from Kernal 3.17 to 4. And I had moved to Calibre 2.29 before the issue started. No other system changes I can recall. Looks like something fishy with Ubuntu/file dialogs??? |
|
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
The next question I have is whether it is a problem with Kubuntu 15.04 generally or whether your system has become broken in some respect. I'm going to download Kubuntu 15.04 and when I get the chance I will install it in a virtual machine and see if I can duplicate your problem. If anyone else is running an up to date Kubuntu 15.04 please post whether you are able to add books in Calibre. As the binary install of Calibre includes most if not all of its dependencies including Python the problem seems to be, as Kovid pointed out, "in the QT system integration". Currently Calibre uses QT5.
|
![]() |
![]() |
![]() |
#30 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
I installed Kubuntu 15.04 64 bit in a Virtual Machine and updated it. I then installed Calibre 2.30, exported some azw3 files without drm from my main installation of Calibre and imported them to the new empty library on the virtual machine. There was no problem whatsoever with the dialogs, and the import was successful. Admittedly, it is a Vanilla install with no extra plugins. Not even Alf's tools.
It seems almost certain that the problem is not with any part of Calibre, nor with Kubuntu in general. It is likely due to something broken in your system, probably with QT. I do notice that there is a qt-plugins directory under /opt/calibre/lib, but this is presumably completely replaced with every update, so I doubt this could be causing the problem. Are there problems with dialogs generally, or only with Calibre? I gather your Kubuntu system is completely up to date? Also, give it a try with Calibre 2.30. If it was my system at this stage I would probably be looking at a complete reinstallation of QT, and considering a full reinstall if this does not work. Sorry, but I too am pretty well out of any further ideas. On another note, I hadn't played with either Debian or any of its derivatives for some time. Kubuntu is still a very nice distro. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
add books - author FN/ LN issue - kindle books | cybmole | Calibre | 2 | 01-29-2014 03:07 PM |
Trying to add large library of books - add books seems to have hung | nicknefarious | Library Management | 1 | 06-18-2012 09:32 AM |
Cannot Add Books | skidawayme | Calibre | 7 | 03-08-2012 03:33 PM |
[Enhancement suggestion] Folders when save books in "Add Books" function | simonbcn | Calibre | 1 | 08-30-2009 12:59 PM |
I was told ya can use itunes to get audio books, so how do ya add the books to the K? | Dragoro | Amazon Kindle | 27 | 04-16-2009 12:17 AM |