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 04-19-2010, 07:45 AM
Someone_Else Someone_Else is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
Someone_Else is on a distinguished road
Default

ereader2html.py error: print "Flags: 0x%X" % self.flags". SyntaxError: invalid syntax


Hi all... I have been having problems with the ereader2html.py script.

I got thru line 10 of the instructions...

I input at the command prompt:
Code:
ereader2html.py infile.pdb outdir "My Name" 1234567890123456
The file that needs to be fixed was renamed infile.pdb, so that the command would work as typed. "My Name" is my name of course and I put my credit card number in. The 'outdir' part I don't understand but I put it in anyway.

This is the error that I am getting
Code:
print "Flags: 0x%X" % self.flags"
SyntaxError: invalid syntax
Any ideas on what I am doing wrong???

Thanks
Reply With Quote
  #2  
Old 04-20-2010, 02:52 AM
Stream Recorder
 
Posts: n/a
Default

Re: ereader2html.py error: print "Flags: 0x%X" % self.flags". SyntaxError: invalid sy


Quote:
Originally Posted by Someone_Else View Post
I have been having problems with the ereader2html.py script.

I got thru line 10 of the instructions...

I input at the command prompt:
Code:
ereader2html.py infile.pdb outdir "My Name" 1234567890123456
The file that needs to be fixed was renamed infile.pdb, so that the command would work as typed. "My Name" is my name of course and I put my credit card number in. The 'outdir' part I don't understand but I put it in anyway.

This is the error that I am getting
Code:
print "Flags: 0x%X" % self.flags"
SyntaxError: invalid syntax
Any ideas on what I am doing wrong???
Python is white space sensitive. Make sure you download the file from pastebin, not copy-paste it.

If you use Python 3.x, you can also try to use Python 2.6.x instead.
Reply With Quote
  #3  
Old 04-22-2010, 03:35 PM
Someone_Else Someone_Else is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
Someone_Else is on a distinguished road
Default

Re: ereader2html.py error: print "Flags: 0x%X" % self.flags". SyntaxError: invalid sy


Thanks....

Python 2.6 did the trick.
Reply With Quote
  #4  
Old 07-02-2010, 09:29 AM
jab4701 jab4701 is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
jab4701 is on a distinguished road
Default

Re: ereader2html.py error: print "Flags: 0x%X" % self.flags". SyntaxError: invalid sy


I am having the same error.

Code:
File "C:\Python31\ereader2html.py", line 420
print "Flags: 0x%X" % self.flags
I have tried python31 and python26.
I have tried eRdr2Pml and still no luck.
I have tried full cc# and last 8 and still no luck.

Any suggestions.

Thanks.
Reply With Quote
  #5  
Old 07-03-2010, 05:32 AM
Stream Recorder
 
Posts: n/a
Default

Re: ereader2html.py error: print "Flags: 0x%X" % self.flags". SyntaxError: invalid sy


Quote:
Originally Posted by jab4701 View Post
I am having the same error.

Code:
File "C:\Python31\ereader2html.py", line 420
print "Flags: 0x%X" % self.flags
I have tried python31 and python26.
I have tried eRdr2Pml and still no luck.
I have tried full cc# and last 8 and still no luck.

Any suggestions.
Use Python 2.6 x32 even if you have Windows x64. And make sure to download ereader2html.py, not to copy-paste it.
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 10:32 AM.


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