Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2010, 11:26 AM   #1
snlu178
Member
snlu178 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2010
Device: PRS-900
Failed News Download - Corrupt File

I have the issue that the news fetch fails half-way through with the Los Angeles Times. Calibre will then crash because the metadata.db and the file itself are corrupted (partial file).

The issue is that the file is then locked to linuxuser/nobody so I cannot delete the file from my PC. The metadata.db is locked because it is trying to open the fetch file. Thus, Calibre will not open.

I have tried eraser and a few other programs to delete the file with no luck (maybe because it is stored on a NAS drive?).


Any ideas out there???
snlu178 is offline   Reply With Quote
Old 02-08-2010, 09:35 PM   #2
snlu178
Member
snlu178 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2010
Device: PRS-900
I was able to delete the corrupt file. Started the news download again and promptly ended up with a corrupt epub file again.

If anyone has experienced this or has an idea, please help.
snlu178 is offline   Reply With Quote
Advert
Old 02-10-2010, 11:29 AM   #3
snlu178
Member
snlu178 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2010
Device: PRS-900
Ok having replicated this about 6 times I think I know what is going on.

Essentially, the news rss download is interrupted so Calibre writes a partial metadata.db-journal file and does not complete writing to metadata.db.

What I end up with is 3 corrupted files: the rss epub, metadata.db, metadata.db-journal.

None of these files will delete, my immediate fix is to rename the calibre folder, create a new folder and move everything but those three files to that new calibre folder. I then place a back-up metadata file so Calibre boots again.

However, I am left with 3 corrupted files that are locked to unix user/nobody. I have found that ftp in to my drive from outside my network allows me to delete them (resolves permissions issues because it requires a log-in).

I guess there is no real fix here, if a rss download is interrupted (loss of connection, my wife opening facebook and the download stopping) then these files end up this way. Its just a frustration because if I dont do as I stated above, the computer just crashes when I open Calibre (and dropbox since my calibre file is synced, and it wont sync corrupted files).


---end of rant---
snlu178 is offline   Reply With Quote
Old 02-10-2010, 11:42 AM   #4
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
An interrupted download shouldn't cause file corruption. It doesn't for me, though I don;t have my files on a network share
kovidgoyal is offline   Reply With Quote
Old 02-10-2010, 06:57 PM   #5
snlu178
Member
snlu178 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2010
Device: PRS-900
My desire to have a personal cloud destroys my ebook world.

In reality I think it is that, it stops writing to the network drive which then creates a "partial" file that is identified as either corrupted or locked by user/nobody. Then I cannot unlock / delete the file. But I can once I leave my home network and log in to the ftp.

I dont know why it happens, but it happens. And, there probably isnt a fix for it other than not sharing my ebooks on the NAS drive.

Ho hum...
snlu178 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to fetch news Hemant Calibre 10 08-25-2010 09:22 AM
Failed news feed... how is it handled? hrickh Calibre 1 08-05-2010 01:07 PM
Failed to download metadata: since 0.7.5 - 0.7.6 chrisix Calibre 3 07-03-2010 05:45 PM
My Metadata file seems corrupt gandor62 Calibre 3 03-27-2010 08:40 PM
The Dreaded "Failed to Make Sony Reader File" Error JEMelby Sony Reader 7 08-21-2007 09:03 PM


All times are GMT -4. The time now is 08:20 AM.


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