Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2020, 05:38 PM   #1501
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Just confirming that Modify ePub v. 1.5.9 works great on my Win 10 64-bit setup running Calibre 4.23. The previous (beta) versions all exited with errors.
icallaci is offline   Reply With Quote
Old 09-29-2020, 06:02 PM   #1502
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by hobnail View Post
My recollection was that Macs used CRLF (and Windows used LFCR as chaley points out). I remember opening Mac files on my Unix system and having CRs at the end of each line (and Windows files had a CR at the beginning of each line). If it was only CR then it would be one long line with no line breaks.
Iirc, Windows is CRLF. Mac is either LFCR or just CR.
ilovejedd is offline   Reply With Quote
Advert
Old 09-29-2020, 06:04 PM   #1503
binaryhermit
Grand Sorcerer
binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.binaryhermit ought to be getting tired of karma fortunes by now.
 
binaryhermit's Avatar
 
Posts: 5,732
Karma: 20469902
Join Date: Oct 2014
Location: Lockport, IL
Device: Kindle PW4, Kindle Paperwhite Signature Edition
Rant, it'd be nice if software spoke all 3, I still run into issues where Linux doesn't understand non-native encodings, often involving md5 checksum files, and I need to invoke dos2unix.
binaryhermit is offline   Reply With Quote
Old 09-29-2020, 06:05 PM   #1504
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Rev. Bob View Post
As to the rest: It’s a very minor thing, one which as far as I can tell is completely cosmetic, so I have no problem leaving it as is. I simply found it and thought, “he might want to know about that.”
Quote:
Originally Posted by JSWolf View Post
I just tested 1.5.9 with 5.0.1 and no errors and no funny characters in the editor. Everything seems good with both 5.0.1 and 4.23 with version 1.5.9. Unless anyone else finds something wrong, I think we are good to go.
Quote:
Originally Posted by icallaci View Post
Just confirming that Modify ePub v. 1.5.9 works great on my Win 10 64-bit setup running Calibre 4.23. The previous (beta) versions all exited with errors.
Good news. Proposal: if there aren't any (significant) problems overnight (my time, it is nearly midnight here) then I will release it in my AM. At that point excrement may hit rotating blades. I hope not. If you object, speak now or forever hold your peace.
chaley is offline   Reply With Quote
Old 09-29-2020, 06:07 PM   #1505
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by binaryhermit View Post
Rant, it'd be nice if software spoke all 3, I still run into issues where Linux doesn't understand non-native encodings, often involving md5 checksum files, and I need to invoke dos2unix.
I agree. Unfortunately this is very hard, often involving "magic". I just spent nearly 3 days working on this plugin trying to deal with this "magic", in the end failing.
chaley is offline   Reply With Quote
Advert
Old 09-29-2020, 06:35 PM   #1506
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: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by binaryhermit View Post
Rant, it'd be nice if software spoke all 3, I still run into issues where Linux doesn't understand non-native encodings, often involving md5 checksum files, and I need to invoke dos2unix.
Be even better if all OSs used the same one, can't remember what RT11 used but seeing as everything since has borrowed from it, they should have stuck to what it used - cue Univac, Burroughs, GE, Marconi… etc aficionados

BR
BetterRed is offline   Reply With Quote
Old 09-29-2020, 06:46 PM   #1507
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by chaley View Post
Good news. Proposal: if there aren't any (significant) problems overnight (my time, it is nearly midnight here) then I will release it in my AM. At that point excrement may hit rotating blades. I hope not. If you object, speak now or forever hold your peace.
Just a bit of text to keep MobileRead happy that I am actually replying.
Attached Thumbnails
Click image for larger version

Name:	begin_production.jpg
Views:	203
Size:	66.8 KB
ID:	182337  
DNSB is offline   Reply With Quote
Old 09-29-2020, 07:05 PM   #1508
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Just a bit of text to keep MobileRead happy that I am actually replying.
It's not the engineers you shoot. It's the managers.
JSWolf is offline   Reply With Quote
Old 09-29-2020, 11:13 PM   #1509
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
It's not the engineers you shoot. It's the managers.
Not quite right. You shoot the managers to keep them from shipping gamma code just to get it out the door. You shoot the engineers when they don't want to ship the code until every line has been polished to perfection.

"Perfection is the enemy of success." Mark Cuban
DNSB is offline   Reply With Quote
Old 09-30-2020, 02:17 AM   #1510
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,628
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I totally, totally agree with David. In some cases, we engineers don't take into account that the best is the enemy of the good.
Terisa de morgan is online now   Reply With Quote
Old 09-30-2020, 05:02 AM   #1511
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The managers who want the engineers to do some really outrageous things should be shot first.

Last edited by JSWolf; 09-30-2020 at 05:08 AM.
JSWolf is offline   Reply With Quote
Old 09-30-2020, 05:41 AM   #1512
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The behavior difference that @Rev. Bob pointed out is almost certainly benign. but it does bother me a bit. And it turns out not to be necessary. I decided to use the python version to condition the magic of how EOL is treated. The attached version preserves EOLs.

It should be noted that the plugin explicitly changes CRLF to LF in a ton of places depending on options. Because of this, one cannot depend on preserving CRLF. They are preserved if only "Update Metadata" is checked, so basic file IO works.

The change has no impact on the plugin running on 4.23.

I am tempted to release this version but that would be tempting fate. I will do so later today (around 9 AM GMT) unless 'bad things happen'.

Last edited by chaley; 09-30-2020 at 06:54 PM. Reason: Obsolete zip version deleted
chaley is offline   Reply With Quote
Old 09-30-2020, 05:44 AM   #1513
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
Just a bit of text to keep MobileRead happy that I am actually replying.
Were you "speaking now" or "holding your peace"?

Thanks to all who took time to test, over and over. We never would have arrived here without you.
chaley is offline   Reply With Quote
Old 09-30-2020, 06:06 AM   #1514
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by chaley View Post
The behavior difference that @Rev. Bob pointed out is almost certainly benign. but it does bother me a bit. And it turns out not to be necessary. I decided to use the python version to condition the magic of how EOL is treated. The attached version preserves EOLs.

It should be noted that the plugin explicitly changes CRLF to LF in a ton of places depending on options. Because of this, one cannot depend on preserving CRLF. They are preserved if only "Update Metadata" is checked, so basic file IO works.

The change has no impact on the plugin running on 4.23.

I am tempted to release this version but that would be tempting fate. I will do so later today (around 9 AM GMT) unless 'bad things happen'.
Don't you mean 9pm GMT as you've already posted this past 9am GMT.
JSWolf is offline   Reply With Quote
Old 09-30-2020, 06:21 AM   #1515
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
Don't you mean 9pm GMT as you've already posted this past 9am GMT.
Yes
chaley is offline   Reply With Quote
Reply

Tags
modify epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1251 07-07-2025 09:13 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Manage Series kiwidude Plugins 167 07-28-2024 03:07 PM
Modify ePub plugin dev thread kiwidude Development 346 09-02-2013 05:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 01:12 PM.


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