View Single Post
Old 09-28-2020, 02:12 PM   #1468
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: 47,386
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by fvdham View Post
I have tested a few books with version 1.5.6 (calibre 5.01) . As far as I can see the plugin works ok.
One small observation: the help file gives an error message on line 159:

File "calibre_plugins.modify_epub.dialogs", line 159, in _help_link_activated
File "calibre_plugins.modify_epub.action", line 138, in show_help
File "calibre_plugins.modify_epub.action", line 136, in get_help_file_resource
TypeError: write() argument must be str, not bytes

Thanks for the conversion of the plugin. I use it a lot
I spent some time testing all the functions and I never bothered to look at the help. Good to see someone is more thorough than I am.

Spoiler:
Code:
calibre, version 5.0.1
ERROR: Unhandled exception: <b>TypeError</b>:write() argument must be str, not bytes

calibre 5.0.1 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 0, 0) && Annotations (1, 12, 0) && Baen (1, 2, 0) && Calibre Power Search Plugin (1, 6, 0) && Count Pages (1, 10, 0) && Diaps Editing Toolbag (0, 3, 6) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && FanFicFare (3, 23, 0) && Fantastic Fiction (1, 4, 0) && Find Duplicates (1, 7, 5) && Goodreads (1, 5, 1) && Hyphenate This! (0, 1, 0) && Job Spy (1, 0, 184) && KePub Input (3, 2, 10) && KePub Metadata Reader (3, 2, 9) && KePub Metadata Writer (3, 2, 12) && KePub Output (3, 2, 15) && Kindle hi-res covers (0, 4, 1) && KindleUnpack - The Plugin (0, 82, 3) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 5) && KoboTouchExtended (3, 2, 15) && Modify ePub (1, 5, 6) && Obok DeDRM (6, 7, 0) && Open With (1, 5, 12) && Quality Check (1, 10, 1) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && SmartEject (2, 3, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
  File "calibre_plugins.modify_epub.dialogs", line 159, in _help_link_activated
  File "calibre_plugins.modify_epub.action", line 138, in show_help
  File "calibre_plugins.modify_epub.action", line 136, in get_help_file_resource
TypeError: write() argument must be str, not bytes
DNSB is offline   Reply With Quote