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

ereader2html error: IOError [Errno 13] Permission denied

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

nanster 05-27-2010 01:09 PM

ereader2html error: IOError [Errno 13] Permission denied


 
Hi-

I am a newbie to this forum and was wondering if someone out there could possibly help me. When I try to run ereader2html.py to take the DRM off a .pdb book, this is what happens:

Code:

C:\Python26>python ereader2html.py outlander.pdb Outlander "My name" 12345678
eReader2Html v0.09. Copyright (c) 2008 The Dark Reverser
Processing...
Traceback (most recent call last):
  File "C:\Python26\ereader2html.py", line 884, in <module>
    sys.exit(main())
  File "C:\Python26\ereader2html.py", line 870, in main
    convertEreaderToHtml(infile, name, cc, outdir)
  File "C:\Python26\ereader2html.py", line 822, in convertEreaderToHtml
    file(os.path.join(imagedirpath, name), 'wb').write(contents)
IOError: [Errno 13] Permission denied: 'Outlander\\images/'

It looks to me that for some reason I am not being allowed access to the "Outlander" directory that I created for my files. Does anyone know why this has happened and what i can do to fix it? Thanks in advance for your suggestions! :confused:

any ANONYMOUS forum user 05-27-2010 01:29 PM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Similar problem was solved by the following

Quote:

you did not properly select the file to be converted (the *.pdb file) the first time and so it tried to read from the eReader_Tools directory itself and failed with an I/O error.

The hint was here in the log …

PDB Path = “C:\Users\Me\Documents\Downloads\eReader_Tool s”

This should be pointing at the *.pdb book to be converted not at the eReader_Tools directory.

Which in turn caused this error:

IOError: [Errno 13] Permission denied: ‘C:\\Users\\Marcy\\Documents\\Downloads\\eReader_T ools’

nanster 05-27-2010 04:08 PM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Sorry...but I don't understand how to correct my error by what you told me to do. I am a little "challenged" working with scripts. :(

any ANONYMOUS forum user 05-28-2010 01:24 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Quote:

Originally Posted by nanster (Post 19211)
Sorry...but I don't understand how to correct my error by what you told me to do. I am a little "challenged" working with scripts. :(

Create a new folder like C:\ebooks

Place ereader2html.py and outlander.pdb into the directory.

The open command prompt

Type
Code:

C:
and hit Enter

Type
Code:

cd \ebooks
Then run
Code:

ereader2html.py outlander.pdb Outlander "My name" 12345678

nanster 05-28-2010 07:33 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
I did exactly what you said to do, and I got the same error message. :( I tried it on two different computers with the same result, as well. Any other ideas???

any ANONYMOUS forum user 05-28-2010 07:59 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Quote:

Originally Posted by nanster (Post 19219)
I did exactly what you said to do, and I got the same error message. :( I tried it on two different computers with the same result, as well. Any other ideas???

Try to change the outdir:
Code:

ereader2html.py outlander.pdb temp "My name" 12345678
or
Code:

ereader2html.py outlander.pdb c:\ereader\temp\ "My name" 12345678
Also have you tried to use erdr2pml.py and xpml2xhml.py instead of ereader2html.py?

nanster 05-29-2010 06:12 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Very frustrating! :mad: I have tried all of your suggestions - even erdr2pml.py, and the outcome is the same every time. Is it inpossible to take the DRM protection off of some books???? I can't imagine what the problem is. Any other suggestions? Thanks again fro trying to help!

any ANONYMOUS forum user 05-29-2010 12:20 PM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Quote:

Originally Posted by nanster (Post 19233)
Very frustrating! :mad: I have tried all of your suggestions - even erdr2pml.py, and the outcome is the same every time. Is it inpossible to take the DRM protection off of some books???? I can't imagine what the problem is. Any other suggestions? Thanks again fro trying to help!

Could you please post a log (just replace your Name, Credit card number and your username)?

Do you use 8 digits of the credit card number? Do you use the name that is on your credit card? Have you tried eReaderPDB2PMLZ.pyw?

nanster 05-30-2010 06:35 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Here is the latest log:

Code:

C:\ebooks>erdr2pml.py outlander.pdb temp "Jane Doe" 87654321
eRdr2Pml v0.11. Copyright (c) 2009 The Dark Reverser
Processing...
  Decoding File
  Extracting images
Traceback (most recent call last):
  File "C:\ebooks\erdr2pml.py.py", line 621, in <module>
    sys.exit(main())
  File "C:\ebooks\erdr2pml.py.py", line 607, in main
    convertEreaderToPml(infile, name, cc, outdir)
  File "C:\ebooks\erdr2pml.py.py", line 568, in convertEreaderToPml
    file(os.path.join(imagedirpath, name), 'wb').write(contents)
IOError: [Errno 13] Permission denied: 'temp\\outlander_img/'

I have tried putting in bogus names and credit cards numbers to see if that was the problem, and the scripts stops right away and tells me that there is an incorrect name/cc #, so that isn't it. I guess I have that part right, anyway!

I looked for erdrPDB2pml.pyw online and can't find it... :confused:

any ANONYMOUS forum user 05-30-2010 09:34 AM

Re: ereader2html error: IOError [Errno 13] Permission denied


 
Quote:

Originally Posted by nanster (Post 19266)
eRdr2Pml v0.11

eRdr2PML v0.15, v0.14,... are available.

eRdr2PML v0.15:
Code:

http://www.mediafire.com/?omt2inzuyhm
Quote:

Originally Posted by nanster (Post 19266)
File "C:\ebooks\erdr2pml.py.py"

I wonder whether the file is named erdr2pml.py.py or erdr2pml.py


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