07-09-2015, 05:37 AM | #1 |
Connoisseur
Posts: 71
Karma: 47102
Join Date: Dec 2013
Location: Outside the Universe
Device: Kindle PW3
|
Folder/File Select dialog hangs calibre on Xubuntu/XFCE
Okay, so a bit of oddity which I can't really understand why, but simply put. Whenever I have to say choose a folder or file, calibre just hangs. No responses, doesn't show anything even when I run calibre-debug.
I am running calibre 2.31 on Xubuntu 14.04 32 Bit with XFCE 4.12. Not really sure, if the OS/XFCE or calibre is causing trouble. But here's what happens, say I want to add books. I go the "Add Books" Menu and select "Add Books from a single directory". Then the Window opens up and asks me to choose the files. I select them, and then, click "Cancel" or "Open" or whatever that comes up. And, then it stops responding. This is also noticed with when I try to Switch/Create Library, the Window opens there again, and same thing. Though, Drag and Drop Method of Adding Books still works. Not really sure of the cause of trouble, but any help is appreciated. |
07-09-2015, 05:44 AM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Something on your system is broken in the integration between Qt and your desktop environments file open dialog.
There was a similar thread a few months ago for someone on a Kubuntu system, they fixed it by re-installing the OS. You can try using strace to find the cause of the issue, but for that, you need to be fairly technically sophisticated. |
07-09-2015, 05:49 AM | #3 |
Connoisseur
Posts: 71
Karma: 47102
Join Date: Dec 2013
Location: Outside the Universe
Device: Kindle PW3
|
Thanks for the response, Kovid. Will have to figure this one out. Atleast now, I know the problem.
|
07-09-2015, 10:21 AM | #4 |
Connoisseur
Posts: 71
Karma: 47102
Join Date: Dec 2013
Location: Outside the Universe
Device: Kindle PW3
|
Phew, after a long while, I figured out the cause of trouble.
Basically, my final attempt with strace, was Code:
strace calibre Code:
open("/home/user_name/.config/QtProject.conf.lock", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE|O_CLOEXEC, 0644) = -1 EEXIST (File exists) open("/home/user_name/.config/QtProject.conf.lock", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 27 So, I just deleted the "QtProject.conf.lock" from ~/.config/ And that did it. Guess, it couldn't get a lock or something. But in anycase, thanks for all the help. Last edited by tempura; 07-09-2015 at 10:36 AM. |
07-10-2015, 02:30 AM | #5 |
Zealot
Posts: 146
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Clara 2E, Tolino shine 4
|
I have a similar but not exactly the same problem. I'm running Arch Linux with the latest calibre (not the Arch package but vanilla calibre). Everything runs fine but sometimes, clicking on some menu item (for example Add Books) does not open a dialog but does nothing. Calibre then hangs and I have to terminate it. Can someone confirm this?
|
07-10-2015, 03:23 AM | #6 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Last edited by eschwartz; 07-10-2015 at 03:25 AM. |
07-10-2015, 03:29 AM | #7 | |
Zealot
Posts: 146
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Clara 2E, Tolino shine 4
|
Quote:
(EDIT: Oh and thanks for the AUR-link. I will definitely have a look at it.) Last edited by beedaddy; 07-10-2015 at 03:40 AM. |
|
07-10-2015, 03:34 AM | #8 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Out-of-the-box Cinnamon.
|
09-16-2015, 11:26 PM | #9 |
Member
Posts: 14
Karma: 10
Join Date: May 2011
Location: Campo Grande, MS, Brazil
Device: Kindle 3
|
|
Tags |
2.31, linux, user interface, xubuntu |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux - calibre 2.0 file dialog hang and workaround | Adoby | Calibre | 0 | 08-22-2014 03:25 PM |
File Open dialog causes Calibre 64bit to crash | glypto | Calibre | 4 | 01-10-2014 04:51 AM |
Calibre Hangs when connecting to Folder or File | DFT | Calibre | 3 | 12-20-2013 04:45 PM |
File/Folder Dialog errors | Remnant | Devices | 4 | 09-26-2013 11:11 PM |
Calibre hangs when adding a book file | Jellby | Calibre | 26 | 07-15-2012 04:53 AM |