View Single Post
Old 06-02-2022, 01:50 PM   #6
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,796
Karma: 146391129
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 Rellwood View Post
Not getting MOBI, they are just coming AZW. Is this the same?

Mercy Thompson: Homecoming #1
Patricia Briggs & David Lawrence
mobi-asin:B00NWZOQMS
Imported - April 12, 2022

Fable of Happiness: Book Two (Purchased Amazon)
Pepper Winters
mobi-asin:B095NPLZTK
isbn:1230004823391
Imported: May 10, 2022

Heroic Hearts (purchased Amazon)
Jim Butcher & Kerrie L. Hughes
mobi-asin:B09BTT339T
Imported: May 10, 2022

Crowbones (World of the Others) (Library Book through Amazon)
Anne Bishop
mobi-asin:B096WYLSW2

Ok, so I figured it out. DeDRM from before it was changed to update newest version of Amazon stopped working. I got a syntax error when I tried to re-install it.

calibre, version 5.12.0
ERROR: Unhandled exception: <b>SyntaxError</b>:invalid syntax (calibre_plugins.dedrm.__init__, line 168)

calibre 5.12 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Amazon.com Multiple Countries (1, 0, 0) && Barnes & Noble (1, 2, 16) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && Fantastic Fiction (1, 4, 0) && Fantastic Fiction Adults (1, 2, 0) && Find Duplicates (1, 8, 5) && GetFileName (0, 1, 1) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Goodreads Sync (1, 12, 1) && Goodreads_Rating (3, 1, 0) && Job Spy (1, 0, 186) && Kindle hi-res covers (0, 5, 0) && Quality Check (1, 11, 2) && Search The Internet (1, 8, 1) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
File "calibre\gui2\preferences\plugins.py", line 316, in add_plugin
File "calibre\customize\ui.py", line 472, in add_plugin
File "calibre\customize\ui.py", line 61, in load_plugin
File "calibre\customize\zipplugin.py", line 293, in load
File "importlib\__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "calibre\customize\zipplugin.py", line 185, in exec_module
File "calibre\customize\zipplugin.py", line 181, in get_code
File "calibre_plugins.dedrm.__init__", line 168
print u"{0} v{1}: Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION)
^
SyntaxError: invalid syntax

I haven't messed with the plugin or the Calibre it's been in (I always use the portable version for importing).

The books that aren't being converted but still open must not have DRM to begin with.
When you download eBooks from Amazon using KindleforPC, they all come with a .azw extention regardless if they are Mobi or KF8. When you load them into Calibre, the file extension is changed to .mobi for Mobi format and changed to .azw3 for KF8 format. As for the eBooks you listed, I know for sure that Heroic Hearts is available in KF8 and if you could remove the DRM, you would see that it is.

As to your error, it could be that the version of DeDRM you have could be too old for the version of Calibre you have. I suggest you update your version of Calibre to the latest version from https://calibre-ebook.com. Also update DeDRM from https://github.com/noDRM/DeDRM_tools/releases. You want 10.0.2. Then try again and see what haoppens. But update both Calibre and DeDRM from the sites I posted.
JSWolf is offline   Reply With Quote