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)
-   -  

How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.pyw

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

renork 06-10-2011 08:29 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Quote:

Originally Posted by Stream Recorder (Post 28201)
Use a Calibre plugin first.

OK not new to computers but new to doing this. I have an epub I bought from the sony store for my Sony Reader PRS500 that I want to be able to read on my iPhone and Kindle. I installed the latest version of Calibre (0.8.5) on a fresh computer. I downloaded the latest tool archive (tools_v3.8a.zip) and added the plugins to calibre. I added the book to my calibre library and attempted to convert it to PDF (just to check if the conversion worked and got the error:

Cannot Convert
This book is locked by DRM. To learn more......

When I look in the log details I find:

Quote:

Convert book 1 of 1 (Triple Jeopardy: A Nero Wolfe Threesome)
Resolved conversion options
calibre version: 0.8.5
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.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': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'enable_heuristics': False,
'extra_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05AEE4B0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x05AEE8F0>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'c:\\users\\erikkr~1\\appdata\\local\\temp\\calib re_0.8.5_tmp_4cndzn\\calibre_0.8.5_rjk7zl.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'',
'rescale_images': False,
'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,
'toc_title': None,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\XXXXXX\My Books\Calibre Library\Rex Stout\Triple Jeopardy_ A Nero Wolfe Threesome (3)\Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub
Python function terminated unexpectedly
Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub (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 920, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\epub\input.py", line 160, in convert
calibre.ebooks.DRMError: Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub
WTF am I doing wrong? Without any feedback I'd try installing Python and PyCrypto and doing that route but wondering if there's a simpler fix (especially since I tried that on a non-fresh PC before this route since I didn't know about the calibre plugins at the time). Do I need to do something other than convert the file in calibre in order for the plugin to work? Do I need to install something else first? Does the plugin not de-DRM sony store epubs (since they always talk about adobe digital editions in the comments about it and never sony store)?

Drisanna 06-11-2011 03:26 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Renork,

Check and make sure that you configured your plug-ins correctly. Several of them need additional information to properly unlock the book so it can be converted. I expect that your problem is along those lines, since you didn't mention in your post that you had configured the plugins after installing them.

Drisanna

P.S. You also need to make sure that the computer you're using to convert the files is authorized to read them in the first place. Many books can only be read on the computer that's been properly "registered" so that the DRM information matches correctly.

Stream Recorder 06-11-2011 07:57 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Quote:

Originally Posted by renork (Post 29981)
I have an epub I bought from the sony store for my Sony Reader PRS500 that I want to be able to read on my iPhone and Kindle. I installed the latest version of Calibre (0.8.5) on a fresh computer. I downloaded the latest tool archive (tools_v3.8a.zip) and added the plugins to calibre. I added the book to my calibre library and attempted to convert it to PDF (just to check if the conversion worked and got the error

@Drisanna
+1

@renork
PDF is not the best format for ebooks. Convert your epub to Mobi for Kindle. And use DRM-free epub on your iPhone.

renork 06-11-2011 01:26 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Quote:

Originally Posted by Drisanna (Post 29982)
Renork,

Check and make sure that you configured your plug-ins correctly. Several of them need additional information to properly unlock the book so it can be converted. I expect that your problem is along those lines, since you didn't mention in your post that you had configured the plugins after installing them.

Drisanna

P.S. You also need to make sure that the computer you're using to convert the files is authorized to read them in the first place. Many books can only be read on the computer that's been properly "registered" so that the DRM information matches correctly.

I'm fairly certain the epub dedrm module doesn't require or even allow any customization:

"calibre, version 0.8.5 Plugin not customizable: Plugin: Inept Epub DeDRM does not need customization"

The computer is definitely authorized for the sony reader store. I can download the epub to the computer and view it in the sony reader store software. I can also open the epub directly in adobe digital editions.



Quote:

Originally Posted by Stream Recorder (Post 29991)
@Drisanna
+1

@renork
PDF is not the best format for ebooks. Convert your epub to Mobi for Kindle. And use DRM-free epub on your iPhone.

I only chose PDF to test the de-drm part since I knew I could easily read it on my computer that way. I get the same error if I select Mobi or even epub->epub. I can't even view the file in the Calibre viewer without getting the DRM error. It's like the de-DRM plugin isn't doing anything for a sony store DRMed ePub.

Stream Recorder 06-12-2011 03:46 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Calibre DRM removal plug-ins don't show enough information when they fail. Try to use standalone programs and see their errors.

Also most problems with Calibre plug-ings usually occur when using the latest versions of Adobe Digital Editions, Kindle for PC,....

Drisanna 06-12-2011 05:56 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Renork,

Did you install Python? I THINK that is still a requirement, even though the Calibre plugins automate the rest of the process.

Drisanna

Stream Recorder 06-12-2011 02:28 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Quote:

Originally Posted by Drisanna (Post 30021)
Did you install Python? I THINK that is still a requirement, even though the Calibre plugins automate the rest of the process.

I don't have Python installed and the K4PC DeDRM plugin for Calibre works fine.

Drisanna 06-13-2011 05:54 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Well, that's cool then. As I said, I didn't know. I already had Python installed because I was doing all this stuff manually previously. I was just rather brain-storming in "out loud" as it were. :)

memento 08-21-2011 01:51 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Hi guys,
i downloaded ebook DRM removal tools archive 4.6 and installed python 2.6 and pycrypto-2.3.win32-py2.6.msi and ADE. But when I try to remove DRM with Adobe_ePub_Tools or DeDRM_for_Mac_and_Win I just got error!

Here is it's link: http://www.**************/file/17202...n_Machine-.rar
(the stars are: filesonic dot com)

Btw, the licence of this is file isn't for me. Is it feasible to strip drm out of it?

I appreciate any help.

any ANONYMOUS forum user 08-24-2011 01:22 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.py


 
Quote:

Originally Posted by memento (Post 31864)
Hi guys,
i downloaded ebook DRM removal tools archive 4.6 and installed python 2.6 and pycrypto-2.3.win32-py2.6.msi and ADE. But when I try to remove DRM with Adobe_ePub_Tools or DeDRM_for_Mac_and_Win I just got error!

Here is it's link: http://www.**************/file/17202...n_Machine-.rar
(the stars are: filesonic dot com)

Btw, the licence of this is file isn't for me. Is it feasible to strip drm out of it?

Before removing DRM protection, make sure to open your ePub file with ADE. If the file is not licensed to you, you won't be able to remove DRM from it.


All times are GMT -6. The time now is 08:12 PM.