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)

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



All times are GMT -6. The time now is 09:41 PM.