![]() |
#16 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,098
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Some sort of 'Old File Cleanup' coming along?
![]() Be sure to exclude you library path Rogue A/V scan? (I would expect that log to show the activity or find the files in the Quarantine) |
![]() |
![]() |
![]() |
#17 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
Quote:
Quote:
When the android device accesses Calibre I assume Dropbox could be syncing? If so, lets say Dropbox is accessing one of the libraries that is not accessible to the android device ... does this mean it is still safe for the android device to access another Calibre library at the same time? I mean, just because it is a different library, I would think another device accessing Calibre (the same program) at the same time, could mess up the sync with Dropbox and whoops! there goes your eBook into Neverland! ![]() Just so you know ... I am not a technical person and get weird looks about comments I sometimes make. |
||
![]() |
![]() |
![]() |
#18 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,779
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@goldilocks - when calibre is running it is recommended that syncing (whether to a cloud service like Dropbox or a locally via OSX's TimeMachine or FFS's Realtime Sync) be turned off. Which is what Mex5150 has said he does.
But your point about accessing the libraries directly via Android may be relevant. It implies that a 'program' running on Android is accessing a library on an Ext4 volume mounted on a Ubuntu 16.04 LTS system. If it's to get some files from the library and put them on the Android device and the Android program does a Move rather a Copy - whooshka the file is gone from the library on the Ext4 volume. Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#19 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
Quote:
Yes, I know and that is why I tried to point out a different, possible scenario. But, even with Calibre closed, I would think it would be dangerous to have 2 other programs (Dropbox/Android)? accessing its' data at the same time. I don't know much about Ubuntu nor about using Android. But I think the last quote is supposed to be a compliment...so, thank-you. |
|
![]() |
![]() |
![]() |
#20 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
On Windows, it would actually be bad for both calibre and another program to access the same file even for read-only purposes.
Though on Ubuntu (or any linux) as long as they aren't both writing to it it should be all right. Hopefully Android isn't actually modifying or deleting files on another computer it is accessing. ![]() |
![]() |
![]() |
![]() |
#21 | ||||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,779
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
![]() ================================== Quote:
Quote:
![]() We should probably shut up now, and wait for the OP to respond ![]() BR |
||||
![]() |
![]() |
![]() |
#22 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@BR: Just FYI both the viewer and the editor do not keep a file open while viewing/editing it. They actually work on an exploded version of the file placed in the temp directory. That is why it works to open the same epub file in multiple calibre programs on windows. This is in contrast to say acrobat reader which keeps a PDF file it is viewing opened and therefore locked.
|
![]() |
![]() |
![]() |
#23 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,779
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() Another reason not to use Acrobat Reader ![]() BTW: it seems that Office 2010 doesn't hold locks on open files either, I can convert a DOCX that's open in Word that I haven't saved - and then puzzle why the changes I just made in the DOCX aren't in the EPUB ![]() BR |
![]() |
![]() |
![]() |
#24 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
PSA: If you use the viewer and editor simultaneously on EPUB files, be sure to turn off the saving of bookmarks in the epub file in the viewer preferences, to make sure that the viewer does not write to the epub file.
|
![]() |
![]() |
![]() |
#25 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 7476
Join Date: Feb 2013
Location: To the left of your body, to the right of your mind, lost in a riddle.
Device: Android phone, Nook Touch Simple Glowlight
|
Hi,
OK, may have solved the problem, but first there seems to be a lot of confusion on how I actually use this set-up. Calibre is run from a script that stops DropBox from syncing until after I quit out of Calibre. This is on the Linux machine, while I am doing this the ONLY thing that accesses the library file structure it Calibre itself, and anything that calibre opens itself. When I quit Calibre the script reinstates the DropBox sync. I have two android devices that access a couple of the libraries, a rooted Nook touchlight, and (very occasionally) my phone, both access the files from the local copy of the libraries on DropBox (i.e. not the one living on the ext4 drive Calibre accesses). Nothing is moved, changed, or deleted. I don't think the files are locked, but even if they are this is irrelevant as A) Calibre is not running when I access them and B) even if it was I wouldn't be using it to do anything to that specific book anyway. Also the problem happens in libraries that are not touched outside of Calibre, so I can see no way this can be the cause of the issue. The misplaced/missing books are not limited to *.pdf files, but they are the easiest to notice. How I work with these is: * Do a cover/metadata update, * Open the file to see it it worth converting (i.e. if it's text or just pictures of text), * Close the PDF viewer, * If the conversion is worthwhile, convert it (this is where I notice it's missing if it is), * Move onto the next book It is important to note that Calibre does not write to the database while the pdf is open, this should avoid any filelock situations. Anyway back to the issue. I tried moving the libraries to a never synced dir that is not connected to DropBox in any way (not even one way sync), and yup, it happened again. So I think that rules out both the external access and the sync being the problem. Now the interesting bit. I had to rebuild the system due to something else completely unrelated to software problems. Since then (although I haven't had a huge amount of time to try things out) nothing has disappeared. It's tricky to say if the problem is resolved completely or not as it was intermittent anyway. This would suggest though something connected to the local install rather than the environment it's running in. However, I seem to recall an issue with another python based application which would place the blame squarely at the feet of the python set-up. Hopefully this is the end of the problem, I will report back either when something disappears again or after a good while has passed and it looks like it really is fixed. ~Mex |
![]() |
![]() |
![]() |
#26 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
![]() So, gremlins? That is not a very satisfying answer ![]() |
![]() |
![]() |
![]() |
#27 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,098
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I see nothing wrong with those steps.
![]() As long as you do not change the Author or Title metadata, calibre only writes to the DB (and updates metadata.opf in the book folder). Viewing should not cause issues. Having the Content server active, does not cause Calibre issues. @ Eswartz (you are more the guru here) ext4? wasn't there some quirks? (I use ext3) |
![]() |
![]() |
![]() |
#28 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
New OS installs default to ext4.
It is stable -- has been for a while now. ... I use btrfs -- if you are thinking of the delayed allocation controversy, you really shouldn't be asking me to weigh in on ext4. ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#29 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,779
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But it suggests the 'viewer' had a role to play in the disappearance - not that it did it off its own bat, but that it did something to trigger something else into disappearing the file. Did your rebuild necessitate recreating the software environment - OS, file system, dropping/replacing daemons etc, etc. BR ![]() Last edited by BetterRed; 01-08-2016 at 05:00 PM. |
|
![]() |
![]() |
![]() |
#30 | |||
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 7476
Join Date: Feb 2013
Location: To the left of your body, to the right of your mind, lost in a riddle.
Device: Android phone, Nook Touch Simple Glowlight
|
Quote:
Quote:
Quote:
No idea what was wrong, I had the same problem over many updates, the system rebuild appears to have fixed things though. ~Mex |
|||
![]() |
![]() |
![]() |
Tags |
lost books |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mini Losing books in shelves on Kobo Mini when I connect to Calibre | AliciaNunz | Kobo Reader | 4 | 01-11-2013 08:56 PM |
Calibre wont stop trying to get a list of books on GN7 | Post-It | Devices | 16 | 10-01-2012 09:30 AM |
Losing Wedding Ring Less Stressful Than Losing Mobile Device | xg4bx | General Discussions | 41 | 07-04-2012 07:16 AM |
help please to stop calibre moving books | Grizzly | Library Management | 1 | 02-24-2011 05:21 PM |
Books losing their formatting... | Shiren | Sony Reader | 38 | 05-24-2010 12:42 PM |