Open MarcVCE opened 2 years ago
Looks like you're trying to load the wrong file. Unzip DeDRM_tools_10.0.2.zip. And load DeDRM_plugin.zip.
Looks like you're trying to load the wrong file. Unzip DeDRM_tools_10.0.2.zip. And load DeDRM_plugin.zip.
I just downloaded the DeDRM_tools-master.zip, should I go to the latest release and download the DeDRM_10.0.2.zip instead? Just saying because the version was released the Nov 29, 2021, and you modified the DeDRM_plugin 6 days ago. Do the changes made in the main page are also applied to the DeDRM_10.0.2 released the Nov 29, 2021?
If you want to have the latest changes, you'll need to run makerelease.py.
If you want to have the latest changes, you'll need to run makerelease.py.
I see, but DeDRM_10.0.2.zip doesn't have a makerelease.py, file , do I copy the makerelease.py file from the main page, and paste it inside the DeDRM_10.0.2.zip , then run it? If, so where do I paste it? The DeDRM_10.0.2.zip, the DeDRM_plugin.zip inside the DeDRM_10.0.2.zip? Or where exactly?
Btw, I also tried to unDRM a book, and this error appeared:
ERROR: Failed to load the book: Couldn't open the book in 'directory of the book' - unknown.epub. Press «Show details» for more information.
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 468, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: 'directory of the book' - unknown.epub with error:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 428, in get_file_type_metadata
File "site-packages\calibre\customize\builtins.py", line 194, in get_metadata
File "site-packages\calibre\ebooks\metadata\epub.py", line 238, in get_quick_metadata
File "site-packages\calibre\ebooks\metadata\epub.py", line 217, in get_metadata
File "site-packages\calibre\ebooks\metadata\epub.py", line 164, in get_zip_reader
File "site-packages\calibre\utils\localunzip.py", line 264, in init
File "site-packages\calibre\utils\localunzip.py", line 240, in _extractall
ValueError: Not a ZIP file
DeDRM v10.0.2: Trying to decrypt book - unknown.epub
DeDRM v10.0.2: Verifying zip archive integrity
DeDRM v10.0.2: Error 'File is not a zip file' when checking zip archive
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 172, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 899, in run
File "calibre_plugins.dedrm.init", line 278, in ePubDecrypt
File "calibre_plugins.dedrm.zipfix", line 53, in init
File "calibre_plugins.dedrm.zipfilerugged", line 685, in init
File "calibre_plugins.dedrm.zipfilerugged", line 711, in _GetContents
File "calibre_plugins.dedrm.zipfilerugged", line 723, in _RealGetContents
BadZipfile: File is not a zip file
InputFormatPlugin: EPUB Input running
on 'directory of the book' - unknown.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
Not a ZIP file (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "
Could you help me find out what is wrong? Thanks a lot
DeDRM 10.0.2 is ready to go -- no need to run makerelease.py. That is only if you want to create a zip file including the latest code here to load into calibre. But as you said, 10.0.2 is from last November.
As far as the book you're trying to decrypt, is it an Adobe epub? It doesn't seem to be recognized as a valid epub.
Yep, I think so, I'm quite sure it is, how do you know if an epub is an Adobe epub? What can I do if an Adobe epub has DRM, is there any way to bypass it, can Calibre and this plugin be of any help if it's an Adobe epub?
Yes, this tool is for Adobe epubs (among other types of DRM). How did you download it? Usually you would download it by opening an acsm file with Adobe Digital Editions.
I bought the book, and the only way to download it was from their webpage, also, the only way to view that book is with their app, it wasn't nothing to special or complicated, just a normal download from their webpage once I bought the book. The book must have been stored somewhere in my hard disk, so it wasn't difficult to find it, real difficulty is how to read it without using their damn app.
Probably a proprietory DRM then.
Probably a proprietory DRM then.
Any possibility of bypassing proprietary DRM?
Not with this tool currently.
Not with this tool currently.
Do you know any tools that could help? Or any forum, place, info that could help? Thank you very much for the info, I hope this project develops to the point of being able to bypass one day, proprietary DRM
Where is the book from?
Ridibooks
I'm not aware of anything that could help.
No problem, thanks
Didn't know that site, will look into it, thanks
Didn't know that site, will look into it, thanks
tldr there is at least one drm removal tool for the current windows application of ridibooks. (developer for this gone silent since October, but Ridi hasn't bothered to update their app since July or August, probably will if it gets a lot of exposure) possibly a few others through telegram or other locked korean forum sites (being sold prbly)
Didn't know that site, will look into it, thanks
tldr there is at least one drm removal tool for the current windows application of ridibooks. (developer for this gone silent since October, but Ridi hasn't bothered to update their app since July or August, probably will if it gets a lot of exposure) possibly a few others through telegram or other locked korean forum sites (being sold prbly)
Has anyone found a way for other OS? I'm quite curious as I'm also a Linux user
Didn't know that site, will look into it, thanks
tldr there is at least one drm removal tool for the current windows application of ridibooks. (developer for this gone silent since October, but Ridi hasn't bothered to update their app since July or August, probably will if it gets a lot of exposure) possibly a few others through telegram or other locked korean forum sites (being sold prbly)
Has anyone found a way for other OS? I'm quite curious as I'm also a Linux user
there was a drm removal tool for previous versions of macos apps, and the developer updated it once ( blogs' gone now so here's some web archive links) http://web.archive.org/web/20210413021552/https://www.bpak.org/blog/2018/04/%EB%A6%AC%EB%94%94%EB%B6%81%EC%8A%A4-%EC%9E%90%EC%8B%A0%EC%9D%B4-%EC%86%8C%EC%9C%A0%ED%95%9C-%EC%B1%85-drm-%ED%95%B4%EC%A0%9C%ED%95%98%EA%B8%B0-feat-%EC%9C%84%ED%97%98%ED%95%9C-%EB%B9%84%EB%B0%80/
as for linux, I doubt anyone specifically made one for it, since ridi only has mac, windows and mobile apps
Didn't know that site, will look into it, thanks
tldr there is at least one drm removal tool for the current windows application of ridibooks. (developer for this gone silent since October, but Ridi hasn't bothered to update their app since July or August, probably will if it gets a lot of exposure) possibly a few others through telegram or other locked korean forum sites (being sold prbly)
Has anyone found a way for other OS? I'm quite curious as I'm also a Linux user
there was a drm removal tool for previous versions of macos apps, and the developer updated it once ( blogs' gone now so here's some web archive links) http://web.archive.org/web/20210413021552/https://www.bpak.org/blog/2018/04/%EB%A6%AC%EB%94%94%EB%B6%81%EC%8A%A4-%EC%9E%90%EC%8B%A0%EC%9D%B4-%EC%86%8C%EC%9C%A0%ED%95%9C-%EC%B1%85-drm-%ED%95%B4%EC%A0%9C%ED%95%98%EA%B8%B0-feat-%EC%9C%84%ED%97%98%ED%95%9C-%EB%B9%84%EB%B0%80/
as for linux, I doubt anyone specifically made one for it, since ridi only has mac, windows and mobile apps
This fuckers tied things up well, what a hellish protection.
Question / bug report
OS: Windows 10 LTSC Python: Python 3.8.10
I tried everything,still couldn't fix the error
Which version of Calibre are you running?
5.41
Which version of the DeDRM plugin are you running?
10.0.2
If applicable, which version of the Kindle software are you running?
Not running Kindle software
Log output
calibre 4.23 [64bit] embedded-python: True is64bit: True Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.17763') Python 3.8.5 Windows: ('10', '10.0.17763', 'SP0', u'Multiprocessor Free') Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 41, 0) && DeDRM (6, 5, 2) && Package KFX (from KFX Input) (1, 41, 0) && KFX metadata reader (from KFX Input) (1, 41, 0) && KFX Input (1, 41, 0) Traceback (most recent call last): File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin File "site-packages\calibre\customize\ui.py", line 472, in add_plugin File "site-packages\calibre\customize\ui.py", line 61, in load_plugin File "site-packages\calibre\customize\zipplugin.py", line 194, in load File "site-packages\calibre\customize\zipplugin.py", line 292, in _locate_code InvalidPlugin: The plugin in 'mydirectory' is invalid.It does not contain a top-level init.py file