Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Removing DRM protection from eBooks (http://stream-recorder.com/forum/forumdisplay.php?f=63)
-   -  

The simplest option for removing DRM: Calibre Plugins

(http://stream-recorder.com/forum/showthread.php?t=8349)

Apprentice Alf 01-13-2011 02:51 AM

The simplest option for removing DRM: Calibre Plugins


 
  1. You must already be able read your ebooks, either on your computer or on your ebook reader. (Kindle, Nook, etc.) If you cannot read your ebooks on your computer or on your ebook reader, you won’t be able to remove the DRM. Contact your ebook retailer and sort out any problems reading your ebooks before trying to remove the DRM.
  2. Download and install calibre for your Operating System.
  3. Download the latest DRM tools package, and unpack it.
  4. Run Calibre. Click Preferences. Click Plug-ins.
  5. Click on the large “Add a new plugin” button
  6. Navigate to the tools folder unzipped in step 2
  7. Open the Calibre_Plugins folder
  8. Select one of the zip files in that folder
  9. Click on Add
  10. Click on the “Yes” button in the warning dialog that appears. A Confirmation dialog appears that the plug-in has been installed.
  11. Repeat steps 4 to 9 for every zip file in the Calibre_Plugins folder (five at present).
  12. You must now configure the plugins. Which plugins need configuring, and the information you need to enter depends on what kind of ebooks you have. If your ebooks don’t match the description at the start of any of the following items, ignore it and move on to the next.

    To configure a plugin, you must find it in the list of plugins. All the DRM removal plugins are in the File type plugins section of the Plugins section of the calibre prefereces. Click on the plugin in the list to select it, and then click on the Customize plugin button. In the dialog that then pops up, enter the required information, detailed below.
    1. If you have Mobipocket ebooks, where you either entered a PID on the retailer’s web site, or you must read them in Mobipocket Reader, you must enter the PID you entered on the retailer’s web site, or the PID of your installation of Mobipocket Reader into the customisation field of the K4MobiDeDRM plugin. The PID will be ten numbers and letters, with * or $ as the eighth character. If you have more than one PID, enter them separated by commas,
    2. If you have Amazon Kindle ebooks that were downloaded to your Kindle, you must enter your Kindle’s serial number into the customisation field of the K4MobiDeDRM plugin. If you have already entered a PID there, add the Kindle serial number as well, separating it from the PID with a comma.
    3. If you have Amazon Kindle ebooks that were downloaded to the copy of Kindle for Mac or Kindle for PC that was installed on this computer, you do not need to add anything extra into the customisation fields.
    4. If you have ePub ebooks that can be read in Adobe Digital Editions, you do not need to add anything extra into the customisation fields.
    5. If you have PDF ebooks that can be read in Adobe Digital Editions, you do not need to add anything extra into the customisation fields.
    6. If you have ePub ebooks from Barnes & Noble (e.g. for Nook), you must enter your name and full credit card number into the customisation field of the Ignoble Epub DeDRM plugin. The name and credit card number should be the ones set as part of the Credit Card unlock code on your Nook Library page. Separate the name from the number with a comma and do not put any spaces in the card number or around the comma.
    7. If you have eReader ebooks from Barnes & Noble, or from, say, Fictionwise, your must enter your name and the last 8 digits of your credit card number into the customisation field of the eReader PDB 2 PML plugin. Again, the name and credit card number must be the ones entered at your ebook retailer’s website as the DRM key/Unlock code.
    8. If you have ebooks bought at the Apple iBooks store, it is not currently possible to remove the DRM.
    9. If you have Microsoft LIT ebooks, there is no Calibre plugin that can remove the DRM.
  13. Now click on the Apply button, and then close the preferences.

You’re now ready to remove the DRM from your ebooks. Just import them into calibre, and the DRM will be removed. The plugins ONLY remove the DRM when the ebooks are imported. If you have already imported your ebooks into calibre, your will need to remove them and import them again.

Converting to other formats
Calibre will convert your ebooks for you, once they have had the DRM removed.

davids8477 03-09-2011 10:46 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Thanks for the info.

Unfortunately this only seem to work for some of my books.

For others I get a message telling me the book is protected by DRM etc.

Any ideas would be appreciated.

Stream Recorder 03-09-2011 11:53 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by davids8477 (Post 25952)
Thanks for the info.

Unfortunately this only seem to work for some of my books.

For others I get a message telling me the book is protected by DRM etc.

Any ideas would be appreciated.

Download DRM Tools Archive:
ebook DRM removal tools archive

If you have problems with DRM tools from it, report the exact errors that you get.

davids8477 03-09-2011 12:13 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by Stream Recorder (Post 25966)
Download DRM Tools Archive:
ebook DRM removal tools archive

If you have problems with DRM tools from it, report the exact errors that you get.

Actually I think I solved the issue.

I tried using the Python scripts that are available on the web to see if they would work. I got an error message saying that the version on Kindle for Mac I was using was not recognized. So i deleted everything related to Kindle from my Mac and found an older version (from Time machine) and restored that.

Now the Calibre plug-in is working find again.

Not saying it was the new version on Kindle that was the issue - maybe some corrupt setting or something. But its fixed now.

mgh 03-21-2011 06:33 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
I do not own a Kindle, but have bought books to read on Kindle for iPhone reader.

I do not know where to find these books on my hard drive so that I can import them into Calibre. The iphone does not show any copies of them either.

Can anyone help?

Thanks

Stream Recorder 03-22-2011 02:18 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by mgh (Post 26356)
I do not know where to find these books on my hard drive so that I can import them into Calibre. The iphone does not show any copies of them either.

If you buy your ebooks with Kindle for PC, you should be able to find them in My Documents/My Kindle Content.

Also if you use the same login/password for your Kindle for PC as well as Kindle for iPhone, ebooks purchased with Kindle for PC should appear in Kindle for iPhone automatically.

mgh 03-22-2011 11:42 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Thanks!

dunno why I was having trouble finding them.

mgh 03-23-2011 07:01 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Worked beautifully.
Thanks!

wadetarave 03-31-2011 09:42 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
I've installed the plug-ins twice for but it will only remove the DRM for three of the five books I need. This is what the error says on the two books when I try to convert them...

Cannot Convert

This book is locked by DRM. To learn more about DRM and why you cannot read or convert this book in Calibre click here.

What can I do to fix that?

Stream Recorder 04-01-2011 12:12 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by wadetarave (Post 26777)
I've installed the plug-ins twice for but it will only remove the DRM for three of the five books I need. This is what the error says on the two books when I try to convert them...

Cannot Convert

This book is locked by DRM. To learn more about DRM and why you cannot read or convert this book in Calibre click here.

What can I do to fix that?

Use standalone DRM removal programs and see the detailed error that you get.

p.s. Read the sticky threads

lombo34 04-12-2011 06:19 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
I got all of the plugins installed correctly (I think), but I don't think the program removed the DRM. I'm working with files from Univ of Phoenix, and they're encrypted by Vitrium Systems, so I'm not sure if that's making a difference. I followed the instructions and CAN open the PDF on my computer (after I enter the UN/PW to unlock it, only the first time one each machine). But when I pull it into Calibre and convert to ePub, it's still not unlocking them. Any ideas??

Stream Recorder 05-18-2011 10:25 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by lombo34 (Post 27482)
I'm working with files from Univ of Phoenix, and they're encrypted by Vitrium Systems, so I'm not sure if that's making a difference. I followed the instructions and CAN open the PDF on my computer (after I enter the UN/PW to unlock it, only the first time one each machine). But when I pull it into Calibre and convert to ePub, it's still not unlocking them.

It does make a difference. Calibre can remove DRM protection from PDF files protected with Adobe Digital Editions.

See also:
Remove DRM from PDF files protected by Vitrium (protectedpdf.com)?

arcoth 05-26-2011 02:52 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
The plugin doesn't seem to work. Installed fine, imported a B&N book, with NO ERRORS, tried opening it and it says it is DRM protected.

I then removed the DRM by hand with the scripts and had no problem.

Used the same configuration (name and CC#) in both Calibre plug in and the by hand script.

Since there was no error message, not much to show as to why this is not working.

Stream Recorder 05-26-2011 11:57 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by arcoth (Post 29440)
The plugin doesn't seem to work. Installed fine, imported a B&N book, with NO ERRORS, tried opening it and it says it is DRM protected.

I then removed the DRM by hand with the scripts and had no problem.

Used the same configuration (name and CC#) in both Calibre plug in and the by hand script.

Since there was no error message, not much to show as to why this is not working.

What version of the plug-in do you use?

alixky 05-27-2011 05:12 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
I got this error when trying to import by hand:

calibredb add B000FC1KBG_EBOK.azw

MOBI header version = 4, length = 228
The kindle.info files has not been found.
Crypto Type is: 2

I'm using version 3.8a

It worked before when I import the drm ebook from my Kindle. But after install Kindle for PC, all the books from both my PC and Kindle can't import.

alixky 05-27-2011 05:25 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
found the problem. It is the new version 1.5 Kindle. But after install Kindle for PC (K4PC) that breaking the code. Installed the old version 1.4.1 and problem solved.

I got the old version directly from amazon:
http://kindleforpc.amazon.com/31629/...-installer.exe

any ANONYMOUS forum user 06-06-2011 07:54 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hi New install here.
Got the latest 3.4 package from this site and installed the ignobleepub_v01.5_plugin.zip plugin into calibre v0.8.2. Name and CC matches my B&N account, and set that up in the plugin. Using NOOK For PC software on Windows 7.

The books import but DRM is still there. The cmdline output is below.

Can anyone advise on how to get this working?

Thanks!


c:\Users\XX\Documents\My Barnes & Noble eBooks\XXX@gmail.com>calibredb add foobar.epub
IgnobleEpub: Using PyCrypto.
IgnobleEpub: Calibre configuration directory = C:\Users\XX\AppData\Roaming\calibre
IgnobleEpub: No keyfiles found. Checking plugin customization string.
IgnobleEpub: 1 userkey(s) generated from customization data.
IgnobleEpub: Encryption key invalid... trying others.
Running file type plugin Ignoble Epub DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 148, in _run_filetype_plugins
File "calibre_plugins.dummy1.__init__", line 379, in run
IGNOBLEError: IgnobleEpub - Ultimately failed to decrypt.
Backing up metadata
Notifying calibre of the change

any ANONYMOUS forum user 06-06-2011 11:09 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 29789)
Hi New install here.
Got the latest 3.4 package from this site and installed the ignobleepub_v01.5_plugin.zip plugin into calibre v0.8.2. Name and CC matches my B&N account, and set that up in the plugin. Using NOOK For PC software on Windows 7.

The books import but DRM is still there. The cmdline output is below.

Can anyone advise on how to get this working?

Thanks!


c:\Users\XX\Documents\My Barnes & Noble eBooks\XXX@gmail.com>calibredb add foobar.epub
IgnobleEpub: Using PyCrypto.
IgnobleEpub: Calibre configuration directory = C:\Users\XX\AppData\Roaming\calibre
IgnobleEpub: No keyfiles found. Checking plugin customization string.
IgnobleEpub: 1 userkey(s) generated from customization data.
IgnobleEpub: Encryption key invalid... trying others.
Running file type plugin Ignoble Epub DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 148, in _run_filetype_plugins
File "calibre_plugins.dummy1.__init__", line 379, in run
IGNOBLEError: IgnobleEpub - Ultimately failed to decrypt.
Backing up metadata
Notifying calibre of the change

Oh Nevermind... I had recieved a new CC number since I registered with B&N. With the correct CC this works like a charm! Thanks!

blue69rose 06-09-2011 03:15 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hi there

Followed your instructions and whenever i upload an ebook on calibre the error message "error decoding (name of the file)...." appears. What am I doing wrong? I'm reading my books on my kindle.

There are other users here saying that one can remove the DRM by hand. How does that work?

Thanks for your help. It's truely appreciated.

blue69rose

bhoyt 07-04-2011 03:05 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
I deDRMed a Kindle book in Calibre. Loaded the book and got no errors. Using the viewer I could only see the cover, nothing else. Then when I tried to convert the book to HTMLZ I get the following error:

Code:

calibre, version 0.8.8
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Holy Bible, English Standard Version)

Convert book 1 of 1 (The Holy Bible, English Standard Version)
Resolved conversion options
calibre version: 0.8.8
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 12.0,
 'book_producer': None,
 'change_justification': u'original',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'c:\\docume~1\\bruce\\locals~1\\temp\\calibre_0.8.8_tmp_qhzsb2\\calibre_0.8.8_fq04fu.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'enable_heuristics': False,
 'extra_css': u'body {text-align:left; }\nh1 { text-align:left; margin-bottom:0em; }\nh2 { text-align:left; margin-bottom:0em; }\nh3 { text-align:left; margin-bottom:0em; }\nh4 { text-align:left; margin-bottom:0em; }\nol { text-align:left; margin-top:0em; margin-bottom:0em; }',
 'fix_indents': True,
 'font_size_mapping': u'8, 9, 10, 11, 12, 14, 16,18',
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'htmlz_class_style': u'external',
 'htmlz_css_type': u'class',
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x03FDC6B0>,
 'insert_blank_line': False,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': u'//h:h2',
 'level2_toc': u'//h:h3',
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 0.0,
 'margin_left': 1.0,
 'margin_right': 1.0,
 'margin_top': 0.0,
 'markup_chapter_headings': True,
 'max_toc_links': 999,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_inline_navbars': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x03FDC9D0>,
 'page_breaks_before': u"//*[name()='h1' or name()='h2']",
 'prefer_metadata_cover': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'c:\\docume~1\\bruce\\locals~1\\temp\\calibre_0.8.8_tmp_qhzsb2\\calibre_0.8.8_hmpamd.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': u'',
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: MOBI Input running
on c:\docume~1\bruce\locals~1\temp\calibre_0.8.8_tmp_qhzsb2\calibre_0.8.8_yt_k59.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
MOBI markup appears to contain random bytes. Stripping.
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
MOBI markup appears to contain random bytes. Stripping.
Python function terminated unexpectedly
  All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 181, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 922, in run
  File "site-packages\calibre\customize\conversion.py", line 204, in __call__
  File "site-packages\calibre\ebooks\mobi\input.py", line 27, in convert
  File "site-packages\calibre\ebooks\mobi\reader.py", line 349, in extract_content
  File "site-packages\lxml\html\soupparser.py", line 23, in fromstring
  File "site-packages\lxml\html\soupparser.py", line 67, in _parse
  File "site-packages\lxml\html\soupparser.py", line 77, in _convert_tree
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 87, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 89, in _convert_children
  File "site-packages\lxml\html\soupparser.py", line 103, in _append_text
  File "lxml.etree.pyx", line 933, in lxml.etree._Element.tail.__set__ (src/lxml/lxml.etree.c:36229)
  File "apihelpers.pxi", line 743, in lxml.etree._setTailText (src/lxml/lxml.etree.c:17329)
  File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22211)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters


neufra 08-07-2011 07:46 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hello,

I just wanted to install the plugin DeDRM_WinApp_2.5.zip on calibre, version 0.8.13 but got the following error:


ERROR: Nicht abgefangener Fehler: <b>InvalidPlugin</b>:The plugin in u'D:/22_epub-ebooks/Gratisb\xfccher/tools_v4.5/tools_v4.5/DeDRM_for_Mac_and_Win/DeDRM_WinApp_2.5.zip' is invalid. It does not contain a top-level __init__.py file

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 289, in add_plugin
File "site-packages\calibre\customize\ui.py", line 339, in add_plugin
File "site-packages\calibre\customize\ui.py", line 54, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 160, in load
File "site-packages\calibre\customize\zipplugin.py", line 255, in _locate_code

InvalidPlugin: The plugin in u'D:/22_epub-ebooks/Gratisb\xfccher/tools_v4.5/tools_v4.5/DeDRM_for_Mac_and_Win/DeDRM_WinApp_2.5.zip' is invalid. It does not contain a top-level __init__.py file

Can someone assist in finding out what's wrong?

ianrob99 08-12-2011 06:57 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Something must have changed - now cannot convert azw file into calibre using plugins - worked 4 weeks ago? Using Tools 4.6 and Calibre 8.5 under macos 10 .6

any ANONYMOUS forum user 08-12-2011 12:53 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by ianrob99 (Post 31636)
Something must have changed - now cannot convert azw file into calibre using plugins - worked 4 weeks ago? Using Tools 4.6 and Calibre 8.5 under macos 10.6

Have you updated your Kindle for Mac just before the DRM removal plugin stopped working? What version do you have now?

any ANONYMOUS forum user 08-12-2011 12:54 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by neufra (Post 31474)
Hello,

I just wanted to install the plugin DeDRM_WinApp_2.5.zip on calibre, version 0.8.13 but got the following error:

try to use DRM tools 4.6

neufra 08-13-2011 05:35 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hello,

tried to use DRM tools 4.6 on Calibre 0.8.13 but got the following:



Any idea?

AAfan 08-18-2011 12:50 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hi,

Yes, you are incorrectly trying to add things that are not plugins to Calibre. The tools are a collection of many different tools not just the plugins. Simply unzip the tools_v4.6.zip and then open the Calibre_Plugins folder that you find inside of that unzipped tools folder. You will see the calibre plugins (.zip) inside of the Calibre_Plugins. This is explained by the ReadMe.txt file found in the tools zip archive as well as on the original apprenticealf.wordpress.com in the blog in great detail.

Ella 09-22-2011 08:37 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
I've read all the readmes ... I swear!

I get this when trying to install the plugin:

calibre, version 0.7.49
ERROR: Unhandled exception: <b>InvalidPlugin</b>:No valid plugin found in C:/Documents and Settings/xxxxx/My Documents/Downloads/tools_v4.7/Calibre_Plugins/K4MobiDeDRM_v03.7_plugin.zip

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 281, in add_plugin
File "site-packages\calibre\customize\ui.py", line 379, in add_plugin
File "site-packages\calibre\customize\ui.py", line 94, in load_plugin
InvalidPlugin: No valid plugin found in C:/Documents and Settings/scoleman/My Documents/Downloads/tools_v4.7/Calibre_Plugins/K4MobiDeDRM_v03.7_plugin.zip

What am I missing? Thanks!

any ANONYMOUS forum user 09-22-2011 11:18 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by Ella (Post 32722)
I've read all the readmes ... I swear!

I get this when trying to install the plugin:

calibre, version 0.7.49
ERROR: Unhandled exception: <b>InvalidPlugin</b>:No valid plugin found in C:/Documents and Settings/xxxxx/My Documents/Downloads/tools_v4.7/Calibre_Plugins/K4MobiDeDRM_v03.7_plugin.zip

Unpack the plug-in from the archive and try again. If your name uses characters other than roman, try to unpack to some folder with a simple name like C:\undrm\

cpewy 10-29-2011 10:06 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hi there,

Thanks for the information. Everytime I tried to import the plug-in, this error msg always pop out. I am using windows 7.

calibre, version 0.8.24
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in u'F:/DeDRM 1.2.zip' is invalid. It does not contain a top-level __init__.py file

Can you please help me with that? Thanks a lot.

pdurrant 02-10-2012 01:02 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by Ella (Post 32722)
I've read all the readmes ... I swear!

I get this when trying to install the plugin:

calibre, version 0.7.49
ERROR: Unhandled exception: <b>InvalidPlugin</b>:No valid plugin found in C:/Documents and Settings/xxxxx/My Documents/Downloads/tools_v4.7/Calibre_Plugins/K4MobiDeDRM_v03.7_plugin.zip

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 281, in add_plugin
File "site-packages\calibre\customize\ui.py", line 379, in add_plugin
File "site-packages\calibre\customize\ui.py", line 94, in load_plugin
InvalidPlugin: No valid plugin found in C:/Documents and Settings/scoleman/My Documents/Downloads/tools_v4.7/Calibre_Plugins/K4MobiDeDRM_v03.7_plugin.zip

What am I missing? Thanks!


The plug-in format used by calibre changed. Update calibre to the latest version and all should be well.

pdurrant 02-10-2012 01:03 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Quote:

Originally Posted by cpewy (Post 33981)
Hi there,

Thanks for the information. Everytime I tried to import the plug-in, this error msg always pop out. I am using windows 7.

calibre, version 0.8.24
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in u'F:/DeDRM 1.2.zip' is invalid. It does not contain a top-level __init__.py file

Can you please help me with that? Thanks a lot.

Try adding a plugin from the plugins folder, not a zip of the stand-alone DeDRM tool.

AbdRahim 03-05-2012 11:08 AM

Re: The simplest option for removing DRM: Calibre Plugins


 
Run Calibre. Click Preferences. Click Plug-ins.
Click on the large “Add a new plugin” button
Navigate to the tools folder unzipped in step 2
Open the Calibre_Plugins folder
Select one of the zip files in that folder


Lod plug in from file
Calibre 0.8.8 cannot see zips in folder.

NowThatsJustDucky 06-28-2012 03:47 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
As usual, just posting about the problem essentially fixed it (within minutes of my posting, literally). :p

Turns out that I needed an older version of Kindle4PC. Amazon's latest version was the source of the problem. Installing 1.4.1 and redownloading the eBook through the older version of Kindle4PC gave me a version that Calibre was able to work with.

EricP 07-13-2012 03:35 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Thanks a bunch for this info. All my, originally Kindle, books are now readable from my iBooks App on my iPad. Love it.

marshappynation 02-15-2014 12:14 PM

Re: The simplest option for removing DRM: Calibre Plugins


 
Hi,
I am trying to remove the DRM from a pdf that does open in Adobe Digital Editions. It is a library book. I installed the tools, here are the error messages I get:

C:\Documents and Settings\BR549>calibre-debug -g
Starting up...
Started up in 9.65599989891
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information Job:callback returned
1 Get device information Job:finished
2 No details available.Get list of books on device
started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
None
DEBUG: 0.0 USBMS: dirs are: D:\ documents
DEBUG: 0.6 USBMS: scan from root False D:\documents
Job: 1 Get device information finished
No details available.
DEBUG: 1.2 USBMS: count found in cache: 47, count of files in metadata: 47, n
eed_sync: False
DEBUG: 1.2 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 1.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
carda
DEBUG: 1.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
cardb
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
Worker Launch took: 1.23399996758
Job: 3 Read metadata (0 of 1) finished
Read metadata (0 of 1)
DeDRM v6.0.8: Trying to decrypt Capitalism_and_Freedom.pdf
DeDRM v6.0.8: Capitalism_and_Freedom.pdf is a PDF ebook
DeDRM v6.0.8: Trying Encryption key calibre-adeptkey
Error serializing pdf Capitalism_and_Freedom.pdf. Probably wrong key.
DeDRM v6.0.8: Looking for new default Adobe Digital Editions Keys after
3.4 seconds
Found 1 keys
DeDRM v6.0.8: Ultimately failed to decrypt after 3.7 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 148, in _run_filety
pe_plugins
File "calibre_plugins.dedrm.__init__", line 478, in run
File "calibre_plugins.dedrm.__init__", line 360, in PDFDecrypt
DeDRMError: DeDRM v6.0.8: Ultimately failed to decrypt “Capitalism_and_F
reedom.pdf” after 3.7 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
IneptPDF: Calibre configuration directory = C:\Documents and Settings\BR
549\Application Data\calibre
IneptPDF: Keyfile calibre-adeptkey.der found in config folder.
Ready to start decrypting.
Error serializing pdf. Probably wrong key.
IneptPDF: Encryption key invalid... trying others.
Running file type plugin Inept PDF DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 148, in _run_filety
pe_plugins
File "calibre_plugins.ineptpdf.__init__", line 2223, in run
ADEPTError: IneptPDF - Ultimately failed to decrypt
Error: Couldn't find the 'EBX_HANDLER' security handler
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 312, in get_file_ty
pe_metadata
File "site-packages\calibre\customize\builtins.py", line 306, in get_m
etadata
File "site-packages\calibre\ebooks\metadata\pdf.py", line 25, in get_m
etadata
RuntimeError: `)is password protected.

Admittedly this is all a little over my head. Any help would be appreciated.

Thanks!
---------------------------------
OK, nevermind, I guess it is because it's a library book. I thought I used to be able to fix these on my old computer, but maybe I am just mis-remembering.


All times are GMT -6. The time now is 02:44 AM.