06-10-2014, 08:25 PM | #691 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-10-2014, 08:31 PM | #692 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
I can only count it as a half-victory; I was hoping to get it to remove empty CLASS attributes (class="") from navPoint nodes as well. Unfortunately, it seems that I do not know enough Python - or enough about this environment - to be able to make that happen. The code looked good to me, but it didn't do anything, so I just completely backed it out.
At any rate - with that bugfix added, I'm ready to lock my changes down and hand the plugin over to the original author for sanctification. EDIT: Have PM'd kiwidude with the lockdown message. Thanks to everyone who's helped in the development, and as far as I'm concerned, he's once again the Sole Keeper Of The Code. (Unless, y'know, he has questions for me or something.) Last edited by Rev. Bob; 06-10-2014 at 08:50 PM. |
Advert | |
|
06-10-2014, 08:49 PM | #693 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-10-2014, 08:52 PM | #694 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
|
06-11-2014, 02:19 AM | #695 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Jan 2009
Device: PRS-700
|
Hey guys, thanks for the work on this plugin but I have a slight problem.
I am attempting to remove kobo drm from a file that i recently bought from their store however I think the script is hiccuping on the fact the book is in Japanese. Can anyone help me with this? Thanks Quote:
|
|
Advert | |
|
06-11-2014, 02:40 AM | #696 | ||
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Quote:
|
||
06-11-2014, 02:48 AM | #697 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
06-11-2014, 03:27 AM | #698 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Thus, we're not discussing DRM removal, but post-removal cleanup...which should be fine, right? ETA: Although, if he's trying to use the plugin on a still-DRMed file, that would probably explain several things - but I've seen the error before and just needed a reminder to track it down, so even then he's helping me fix cleanup rather than removal. I don't have anything to do with removal, nor does this plugin. Last edited by Rev. Bob; 06-11-2014 at 03:30 AM. |
|
06-11-2014, 03:33 AM | #699 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
This I know. |
||
06-11-2014, 06:49 PM | #700 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
The changes here affect both new routines, explicitly making the string comparisons in Unicode mode. At least, that's the theory. ETA: The code seems to work okay on my end, but I don't have a proper test subject to make sure the Unicode comparison is working as intended. Silent, or anyone else with a suitable test book, please give me some feedback on this... Last edited by Rev. Bob; 06-12-2014 at 04:16 PM. Reason: Need feedback! |
|
06-19-2014, 06:34 PM | #701 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Do we have a Python 2.7 Unicode guru in the house? The latest attempt is attached. |
|
07-09-2014, 08:24 AM | #702 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
When is the current version going to be converted so we have Modify ePub for when Calibre 2.0 comes out?
|
07-09-2014, 01:43 PM | #703 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
It's in the works...
|
07-09-2014, 05:28 PM | #704 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-10-2014, 09:31 AM | #705 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.
Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins. This version needs to be tested with the existing calibre. Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5. Note: This version is based on the released version of the plugin, not the modified version recently posted in the thread. |
Tags |
modify epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 166 | 02-13-2024 11:31 AM |
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 |