03-28-2015, 12:39 PM | #46 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Doubly impressed. Now for quadruple gold stars persuade kovid to implement the feature request that makes it unnecessary to hide the darn things in the first place
|
03-28-2015, 04:43 PM | #47 | |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
To do the 'telling calibre' of changes to available formats, I think one would need the calibre book row number - which is available from the book folder name or the adjacent metadata.opf file. If calibre's not told of the changes then the Library Maintenance->Check Library should throw exceptions. @cybmole - you've known about this issue for quite a long time, yet it seems you have persisted with your 'misuse' of the ORIGINAL_EPUB for purposes other than that for which it was designed. If this is now creating you problems, then welcome to the world of 'How recalcitrance can lead to unintended consequences'. Political history is littered with examples - Charles I and Louis XVI are just two that spring to mind, I won't mention those of more recent times. ORIGINAL_FMT files are never going to be what you want them to be, any more than the earth will become flat. So why don't you bite the bullet and implement your own scheme for securing the format as originally downloaded, as many others have done on realising they've misunderstood the purpose of ORIGINAL_FMT files. Me, I create the book with say blah-blah.epub, I then rename blah-blah.epub to blah-blah.epub_orig and add that to the newly created book, there's not much can be done in calibre with a XXXX_ORIG format - but at least I know where it is should I ever want it. And I tweaked ORIGINAL_FMT files off, preferring to rely on my backup regime as I do for all other data. BR Last edited by BetterRed; 03-29-2015 at 05:16 AM. Reason: significant typo |
|
Advert | |
|
03-28-2015, 05:09 PM | #48 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Actually.I haven't been able to misuse the darn things and have no wish to. They just sit there doing nothing, as designed.,except for when they jump in and ruin a conversion from epub. Please explain the misuse felony in more detail
The misuse I wish to apply but can't, is to have them go awol while I convert from epub is all. |
03-28-2015, 05:13 PM | #49 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Ps in all respects but one, they are exactly what I want them to be, an archived copy of the book as added. That IS the current design, so long as tweak epub is set to not overwrite.
|
03-28-2015, 05:36 PM | #50 | ||
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
As I read your issue - you want to the ORIGINAL_FMT file to be the format file with which you created the book. When I started using calibre I too assumed that was the purpose of the ORIGINAL_FMT files. But when I found out it wasn't that - and that they were copies that calibre creates in case something goes awry with conversion, modify, polish etc - which was something I didn't need, I shrugged and moved on as previously described. As I already said IMO, the confusion is with the name - would better if it had been LASTGOOD_xxxx. The non word LASTGOOD better expresses the purpose and unlike ORIGINAL it does not have a common usage meaning that's been established over the last several millennia. Quote:
BR Last edited by BetterRed; 03-28-2015 at 05:54 PM. Reason: CLARITY |
||
Advert | |
|
03-29-2015, 12:33 AM | #51 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
@BetterRed: Agree with you but I was just trying to show cybmole how trivial it was to do what he asked
|
03-29-2015, 01:14 AM | #52 | ||
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)
|
Quote:
Quote:
"Using" them as a storage mechanism for the first canonical version of the books is exactly the use I was referring to -- whether those files ever get utilized (by some bespoke per-device conversion regimen?) is orthogonal to the issue. |
||
03-29-2015, 02:14 AM | #53 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
If "allowing them to exist" constitutes "misuse" then guilty as charged.
I did not design the upgrade which caused them to be created at 1st conversion and to then stick around afterwards. I just derive comfort from knowing that they are there as a fallback. I want the original_FMT file to be what it is, no more no less, created as per the current rules, no more no less. no misuse, no harm no foul so far, yes? So original_FMT can be defined as a file that is optionally created at first conversion or at first tweak, depending which happens first and depending what prefs you set. I think we are all on the same page with that. I don't want to redefine it or mess with the ( complex) rules of when/ how/ if it gets created. My issue/bug/feature whatever is wanting to STOP them being force- used when converting to a DIFFERENT format, without having to hide or destroy them in order to achieve that. More of a non-use than a mis-use crime ? PS tweak never overwrites an original_FMT file. it optionally creates one if none exists., so a name change to "last good" would be inaccurate, unless called "last good before last tweak" which is a bit of a mouth full. my only gripe, as I am sure you are all sick of reading is that when I convert FROM epub TO another DIFFERENT format, I cannot use what is truly my "most recent good" epub , I am forced to use original_epub. all I want is a choice ,- there, and only there; I am not wanting versioning. If calibre editor insisted on opening original_FMT each time and ignoring your previous edits, a lot more of you would be up in arms. I simply want the conversion process to follow the same logic as the edit process. the thread has shown that it's only trivial to work-around this if you have a mastery of MS DOS & even then there are some unresolved questions as to how that affects library integrity checks. I can manually get around it no problem, as I only want the occasional convert. : open path, move original_epub to desktop, convert epub to azw, move it back into calibre folder. When I did the bug report/feature request. I argued that selecting source format "epub" on drop down list on the conversion screen should mean exactly that,and not mean well OK but behind the scenes we're gonna use original_epub, like it or not), but have been shot down repeatedly for illogic. I will leave y'all with that while I go figure if I'm now being orthogonal Last edited by cybmole; 03-29-2015 at 02:17 AM. |
03-29-2015, 02:50 AM | #54 |
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)
|
No mastery of MS-DOS is needed, I can do the same thing via bash instead.
On a more serious note -- you needn't work around it at all -- simply don't use it. P.S. The editor doesn't save backups; since it is a manual process by definition, all edits have been cleared by you, and there is no need to back them up. Last edited by eschwartz; 03-29-2015 at 02:11 PM. Reason: typo |
03-29-2015, 05:36 AM | #55 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
When you drive down a one-way cul-de-sac, then there only two ways out a) dig a hole to sleep in, pop your head up every few months in the hope that the city planners will see the madness of one-way cul-de-sacs or b) sprout wings (write a script), or call for an airlift (commission someone to write a script), to get you out of there
You seem to have chosen option a). It's too late for you to do what I did, after nudging into that same o-w c-d-s, I slammed the motor into reverse saying 'Cor, that's not the way to Dublin', and backed myself out of there, toot-toot (sweet) :lol: My method, workaround if you insist, involves zero scripting - all done with a file manager and calibre library manager. At no stage are the library folders & files out of whack with the database - i.e. no library integrity comprises. And calibre doesn't do a darn thing with my .FMT_ORIG files, except move them when needs must. The term Whingeing Pom comes to mind. Brit down under here. Looks like we're for some Aussie's Bragging Boorishly, might need to dig a hole to hide in for a week or two Ψ² BR |
03-29-2015, 05:47 AM | #56 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
yep , option A is me.
i'm trying to stop keeping the thread alive, but others insist . I am fine with muddling along using what I & others have come up with, and keeping the whingeing down to no more than twice a year |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting EPUB's for Kindle Paperwhite - AZW3 or MOBI? | HardwareLust | Conversion | 81 | 11-07-2016 02:41 AM |
Converting AZW3 to Epub | Lyn2012 | Conversion | 17 | 10-06-2014 08:47 AM |
Error converting .azw3 to mobi: Zugriff verweigert | godlich | Kindle Formats | 0 | 11-26-2013 01:24 PM |
Error Converting AZW3 to Mobi | Samiya98 | Conversion | 1 | 08-14-2013 11:24 PM |
Converting azw3 to epub failure | Rbneader | Conversion | 1 | 06-22-2013 02:44 PM |