Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2013, 09:59 AM   #1
sup
Connoisseur
sup began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
Calibre stores automatically deleted files in the library

I have some news sources that get fetched automatically. I have checked the option in preferences>behaviour to delete this news after they are sent to the reader. however, they show up in the calibre library as "name of the news" -deleted - "id of the book". I know I am not supposed to mess with my library, but still - this just wastes space. Is there a way to remove these files? Or do they get removed after some time?
sup is offline   Reply With Quote
Old 11-12-2013, 10:05 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,391
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm not sure I understand, are you saying the file is not being deleted? Make sure you are running the current calibre release.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-12-2013, 10:25 AM   #3
sup
Connoisseur
sup began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
My calibre library is stored in /some/where/E-Books. After downloading a news source and pushing it to my device, it would get deleted, resulting in a folder in /some/where/ called "E-Books deleted HFs0Oz". That is not inside calibre library itself. I upgraded from Ubuntu's version (1.0) to current version and it seems to have stopped. If it reoccurs, I will let you know.
sup is offline   Reply With Quote
Old 11-13-2013, 12:27 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
I noticed this during the last week using calibre portable version 1.9. See attached. Inside this directory is the one book shown in the pop-up dialog.

I don't know what the circumstances around it's creation were, but if this is a part of sending books to the recycle bin then maybe Dropbox prevented the deletion of this folder after it was created due to a temporary conflict.
Attached Thumbnails
Click image for larger version

Name:	anomaly.jpg
Views:	347
Size:	46.0 KB
ID:	115110  

Last edited by DoctorOhh; 11-13-2013 at 12:45 AM. Reason: Wrong calibre version listed
DoctorOhh is offline   Reply With Quote
Old 11-13-2013, 12:37 AM   #5
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,362
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Same here.
Terisa de morgan is offline   Reply With Quote
Advert
Old 11-13-2013, 12:43 AM   #6
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Oh cool, this is actually a bug I reported here: https://bugs.launchpad.net/calibre/+bug/1240797

Quote:
Originally Posted by kovidgoyal@launchpad.net
For some reason, your OS is raising permission denied (EPERM) errors
when calibre tries to delete a non-empty directory, instead of
ENOTEMPTY, which is causing the problem. Do you have your calibre
library on some kind of special filesystem?

In any case, I have changed the code to not rely on the OS sending the
proper error code, it will now manually check if the directory is empty.
That should fix your problem.
It was fixed in calibre 1.7
eschwartz is offline   Reply With Quote
Old 11-13-2013, 12:47 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by eschwartz View Post
It was fixed in calibre 1.7
Thanks for pointing this out. I updated my post.

Last week when it happened to me it was version 1.9. I vaguely recall seeing an error message, most likely I probably ignored the error after my library checked out ok.

Last edited by DoctorOhh; 11-13-2013 at 12:50 AM.
DoctorOhh is offline   Reply With Quote
Old 11-13-2013, 12:51 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,947
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
I noticed this during the last week using calibre portable version 1.5. See attached. Inside this directory is the one book shown in the pop-up dialog.

I don't know what the circumstances around it's creation were, but if this is a part of sending books to the recycle bin then maybe Dropbox prevented the deletion of this folder after it was created due to a temporary conflict.
I had some of these folders and I was able to create them at will, for me the following changes resolved the problems - I don't use Dropbox or anything similar.

Quote:
Originally Posted by Version 1.7
Make deleting books to recycle bin more robust. Ensure that the temporary directory created during the move to recycle bin process is not left behind in case of errors.
Quote:
Originally Posted by Version 1.8
When bulk deleting formats, use a single temporary directory for the deleted files. This makes restoring them from the recycle bin a little cleaner. Also might fix the reported issue with the windows recycle bin choking on creating a large number of folders.
BR
BetterRed is online now   Reply With Quote
Old 11-13-2013, 02:46 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by BetterRed View Post
I had some of these folders and I was able to create them at will, for me the following changes resolved the problems - I don't use Dropbox or anything similar.
Thanks for the info. I updated my post minutes before you posted. I was using version 1.9 not version 1.5 last week when the orphaned directory appeared. I had version 1.6 on the brain from answering a previous post and had a mild brain fart.

I'm not expecting any feedback from Kovid on this I was just clarifying the OPs position statement for Kovid. If it happens again I'll save the error, but until then I am treating it as a one-off error that I see from time to time because I run Dropbox.

Last edited by DoctorOhh; 11-13-2013 at 05:33 AM.
DoctorOhh is offline   Reply With Quote
Old 11-13-2013, 04:52 AM   #10
sup
Connoisseur
sup began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
Quote:
Originally Posted by DoctorOhh View Post
Thanks for the info. I updated my post minutes before you posted. I was using version 1.9 not version 1.5 last week when the orphaned directory appeared. I had version 1.6 on the brain from answering a previous post and had a mild brain fart.

I'm not expecting any feedback from Kovid on this I was just clarifying the OPs position statement for Kovid. If it happens again and I'll save the error, but until then I am treating it as a one off error that I see from time to time because I run Dropbox.
Yes, I have my library inside a folder synced to Ubuntu One too.
sup is offline   Reply With Quote
Old 11-13-2013, 06:13 AM   #11
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,362
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by eschwartz View Post
Oh cool, this is actually a bug I reported here: https://bugs.launchpad.net/calibre/+bug/1240797



It was fixed in calibre 1.7
It has appeared again in 1.10, I'm afraid.
Terisa de morgan is offline   Reply With Quote
Old 11-13-2013, 10:16 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,391
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The only ways I know of in the current calibre release for the "deleted" temporary folder to be left behind after you quit calibre is if you quit while that folder was being moved to the recycle bin, and if you do so, calibre pops up a message warning you about it.

Or of course, if something like dropbox blocks calibre from moving the files to the recycle bin. However that should only happen on windows, not linux.

Last edited by kovidgoyal; 11-14-2013 at 02:04 AM.
kovidgoyal is offline   Reply With Quote
Old 11-13-2013, 08:44 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,947
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Terisa de morgan View Post
It has appeared again in 1.10, I'm afraid.
RU sure the 'deleted' folder was created after you installed 1.10 - e.g. is its create timestamp after the modify timestamp on the calibre install folder.

BR

Last edited by BetterRed; 11-13-2013 at 08:50 PM.
BetterRed is online now   Reply With Quote
Old 11-13-2013, 11:56 PM   #14
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,362
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by BetterRed View Post
RU sure the 'deleted' folder was created after you installed 1.10 - e.g. is its create timestamp after the modify timestamp on the calibre install folder.

BR
Totally sure. I'm using Windows, as Kovid says, so I suppose it's dropbox.
Terisa de morgan is offline   Reply With Quote
Reply

Tags
calibre news library

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accidentally deleted my entire Calibre Library Japes Library Management 3 06-19-2013 12:21 AM
Can Calibre automatically find ISBN from files? samalex Conversion 2 01-20-2012 09:37 AM
Calibre files deleted on Shut Down hypercane713 Calibre 3 09-12-2010 02:12 PM
Is there a way to have Calibre automatically sync my library with my Kindle DX? St-Ambroise Calibre 1 09-05-2010 12:20 AM
Removing Deleted Files / Refresh the Library pragmortal Calibre 4 09-23-2009 04:51 AM


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


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