Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-14-2010, 07:48 AM
veroniek veroniek is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
veroniek is on a distinguished road
Default

Ineptepub.pyw not working: Error: expected an intended block


First I downloaded/installed python/pycrypto.

Then I got ineptkey.pyw, ineptepub.pyw(for epub files) ineptpdf.pyw v2 (for pdf files) put all them into my digital editions directory.

Ran ineptkey.pyw. It found the key and saved as "ADEPTKEY.DER " in the same directory where ineptkey.pyw is.

Ran Ineptepub.pyw, an error occured:

There's an error in your program: expected an intended block
Highlighted:
try:
from Crypto.Cipher import AES


What went wrong?
Reply With Quote
  #2  
Old 01-14-2010, 01:12 PM
Stream Recorder
 
Posts: n/a
Default

Re: Ineptepub.pyw not working: Error: expected an intended block


I don't really know the cause of your problem.

You may need to replace Tab spaces to Spaces in the pyw files.

Do you have the Adobe Digital Editions installed and registered to you?

Have you really installed PyCrypto? Try to re-install it. And make sure your Python and Pycrypto are compatible.

What OS do you use? If you use Windows Vista or Windows 7, you may need to add python.exe and pythonw.exe to the DEP exceptions.

Did you try to remove DRM from epub files? Where did you buy the epub files you have problem with?
Reply With Quote
  #3  
Old 04-22-2010, 11:17 AM
constantreader constantreader is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
constantreader is on a distinguished road
Unhappy

Re: Ineptepub.pyw not working: Error: expected an intended block


I think the error is: expected an indented block
and the word from is highlighted below the label TRY:
since this is the result I received. I have Python/Pycrypto from a zip file, they match each other and was able to run ineptkey and got adeptkey.der Just this peculiar message running adeptkey Windows 7 64 bit version.
constant reader
Reply With Quote
  #4  
Old 04-22-2010, 12:41 PM
Stream Recorder
 
Posts: n/a
Default

Re: Ineptepub.pyw not working: Error: expected an intended block


What version of Python and PyCrypto do you use? Make sure it is an x32 version, although you have an x64 version of Windows 7.
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:10 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons