![]() |
#1 |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Can't add books!
This just happened suddenly, I am not able to add books. Calibre just hangs everytime I try to add a book. Have to terminate the process and restart Caibre.
Have tried with all formats, obviously it has nothing to do with format. I'm on 2.29 on a Kubuntu 15.04. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run it in debug mode
calibre-debug -g |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
First thing I'd do is backup the library as it is now, to another device or the cloud.
Did you check the drive - is it full, do the h/w manufacturer diagnostics report any problems? Try this - copy the library in its entirety to another drive, and use that instance of the library - what happens when you do an Add? If you still have problems I suspect the database is corrupt - try dong a Library Maintenance->Restore database.. If you can add then its probably the other drive. Maybe the the Ext directory tables are corrupt, I assume Kubuntu has fdsk try running it to see if there any errors. BR |
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Took time to open in debug mode. But when I tried to add a book it hung again. The debug code till the point it hung is here. BTW, I am able to change meta-data, merge, delete etc. but just not able to add.
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That looks like the KDE file dialog is hanging, try setting the
CALIBRE_NO_NATIVE_FILEDIALOGS=1 environment variable |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I ran calibre as CALIBRE_NO_NATIVE_FILEDIALOGS=1 but still it hung on adding a book. Log below shows process till it was killed.
BTW, I also moved /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer to /tmp Quote:
|
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
At what point exactly in the process is it hanging? When you press OK in the file dialog?
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Yes, when I press OK in the file dialog.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And when you use CALIBRE_NO_NATIVE_FILEDIALOGS
does the file dialog look different? |
![]() |
![]() |
![]() |
#10 | ||
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
I have only launched Calibre from the terminal as
Quote:
|
||
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, but does the file dialog you see look different with and without that setting?
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Yes, they are different. Essentially the left panel and the file filter are different.
The file dialog from the launching-from-GUI looked more like the elaborate layout a la Dolphin, while the launching-with-CALIBRE_NO_NATIVE_FILEDIALOGS is far simpler. |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm, in that case I am out of ideas, the only thing suspicous in the debug log is output from KDE's KIO subsytem, which should not be getting involved at all, when using the NON_NATIVE file dialog.
You can always workaround it by adding book susing the command line calibredb add "path_to_book_file" |
![]() |
![]() |
![]() |
#14 | ||
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2010
Device: Various
|
Silly of me perhaps! As I mentioned I was using this to launch
Quote:
Quote:
So do I see some hope here, Kovid? |
||
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, the first way is correct. The file dialog is supposed to be different.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |