![]() |
#61 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2009
Device: sony reader
|
Help I have been at this hours!
![]() This is a bit long sorry! So people i have read everyones messages and followed the advise and still i am getting no where so i'm hoping if i tell you all what i'm using and typing someone can tell me where i am going wrong. thanks in advance. So i installed Pythonwin as advised on darkreverser's blog and have downloaded the text file Python Script for eReader2html.py 080312 also on the blog, i entered the script into the python editer and saved it as a script file which i than ran using the pythonwin which gave me the following message: PythonWin 2.6.2 (r262:71600, Apr 21 2009, 15:05:37) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> C:\Users\Lindsay\Books\Angels pain\ereader2html.py.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import struct, binascii, zlib, os, sha, sys, os.path eReader2Html v0.03. Copyright (c) 2008 The Dark Reverser Converts eReader books to HTML Usage: ereader2html infile.pdb outdir "your name" credit_card_number Note: It's enough to enter the last 8 digits of the credit card number Then i entered the info as it says and i received the following message: PythonWin 2.6.2 (r262:71600, Apr 21 2009, 15:05:37) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> C:\Users\Lindsay\Books\Angels pain\ereader2html.py.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import struct, binascii, zlib, os, sha, sys, os.path eReader2Html v0.03. Copyright (c) 2008 The Dark Reverser Converts eReader books to HTML Usage: ereader2html infile.pdb outdir "your name" credit_card_number Note: It's enough to enter the last 8 digits of the credit card number >>> ereader2html.py AngelsPain_74111.pdb C:\Users\Lindsay\Books\Angels pain "miss l pitchford" xxxxxxxx Traceback ( File "<interactive input>", line 1 ereader2html.py AngelsPain_74111.pdb C:\Users\Lindsay\Books\Angels pain "miss l pitchford" xxxxxxxx ^ SyntaxError: invalid syntax >>> So if someone could tell me what i'm doing wrong before i kill my laptop i would really appreciate it, oh i'm using vista if that makes a difference. Many Thanks Lindsay |
![]() |
![]() |
![]() |
#62 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
Code:
ereader2html.py "AngelsPain_74111.pdb" "C:\Users\Lindsay\Books\Angels pain" "miss l pitchford" xxxxxxxx So in your command, the space following "Angels" and preceding "pain" was telling ereader2html that the directory you wanted to make was called "C:\Users\Lindsay\Books\Angels" and your name was "pain". That's why it has a little pointer ^ under "miss | pitchford" -- it's trying to use that as your credit card number, but it's not a number, which it recognizes. It never even gets to your number. Hope that helps. And I hope I'm perfectly correct here in my interpretation of ereader2html's output. But I'm absolutely sure that it's the space that's borking you. Can't expect you to notice a space! It's nothing, really. m a r Last edited by rogue_ronin; 05-31-2009 at 08:32 PM. Reason: formatted for clarity |
|
![]() |
![]() |
![]() |
#63 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1000021
Join Date: Feb 2008
Location: Hook, UK
Device: Cybook Bookeen
|
Quote:
![]() Rene |
|
![]() |
![]() |
![]() |
#64 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I think this means that the eReader file is DRM-free (i.e. you did not need a credit card number to buy or open the ebook). The 0.6.0 version of Calibre (due as a beta very soon) can import DRM-free eReader files, so you may want to wait until it is available.
|
![]() |
![]() |
![]() |
#65 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1000021
Join Date: Feb 2008
Location: Hook, UK
Device: Cybook Bookeen
|
Hmmm. The books are freebies from Fictionwise and it claims that they are secure ereader or whatever, but they may be just saying that. I don't think I have a way to read ereader books so I have no way of checking. To be honest, these were test books to see if I could get them converted before I spent money on a few books that I can only find in ereader format. I may just have to gamble that I will be able to convert the books I want to buy....it seems that each ebook has its own quirks and just 'cause I can't manage to convert the freebies yet the other may be a snap.
|
![]() |
![]() |
![]() |
#66 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#67 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1000021
Join Date: Feb 2008
Location: Hook, UK
Device: Cybook Bookeen
|
Yes, they are in the Fictionwise free ebook section; I tried 'His Lady Mistress' and 'Stranded With a Spy'. Both give the same error messages from ereader2html and pdbshred(see the earlier posts). I have a few secure ereader books I'd like to buy, but I don't have a way to read ereader books and wanted to try converting some free ones. I should ask...I think if I'm getting the error messages regarding incorrect versions, I've got the syntax etc.
right. Right? |
![]() |
![]() |
![]() |
#68 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Did you update your ereader2html code using the suggestion from rogue_ronin? The "invalid syntax" message looks to be because of the space between "angels" and "pain", not because of using only 8 digits in the CC number.
|
![]() |
![]() |
![]() |
#69 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#70 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1000021
Join Date: Feb 2008
Location: Hook, UK
Device: Cybook Bookeen
|
Sigh. Yeah, I thought so. So...is there any way to convert non-drm ereader to...well...anything? I've looked around a bit and found conflicting info. I understand, though, that Calibre will soon do that, so hope is not lost; I'm in no real hurry anyway.
Thanks a bunch, wallcraft! |
![]() |
![]() |
![]() |
#71 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#72 |
Semi-retired semi-hero
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 768
Join Date: Aug 2007
Device: Palm Zire71, EEE PC901, Sony PRS-505
|
Holy cow, Peake, you made this so easy that even I, total n00b at this stuff, was able to start converting my book.
I bow in your general direction. Many, MANY thanks. |
![]() |
![]() |
![]() |
#73 |
Member
![]() Posts: 22
Karma: 32
Join Date: May 2009
Device: none
|
Thank you, Archergal
![]() I am still a n00b also, and have found this forum to be a great resource when I've gotten stuck. I'm glad that I was able to contribute for a change! |
![]() |
![]() |
![]() |
#74 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2009
Device: Kindle 2
|
First off, many thanks for this great tool to the author and for the community helping out! I have recently purchased the recently released Tolkien books in eReader format and as I am about to get a Kindle 2 it would be great if there was a way to get to read them on on it.
I have converted many other books with the 0.3 script, but these ones just give me a wrong version error which I guess is because of the recent changes to the eReader format. Is there anyone here who has successfully converted these books? Your help is appreciated! |
![]() |
![]() |
![]() |
#75 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with python (ereader2html) stuff? | diana.stout | Reading and Management | 4 | 05-30-2010 08:48 AM |
ereader2html error. | GatorDeb | Workshop | 13 | 10-10-2009 08:15 AM |
Error in eReader2Html - Help? | rleguillow | Other formats | 2 | 07-05-2009 04:11 PM |
How to change ereader2html.txt to ereader2html.py? | jodier | Workshop | 8 | 01-26-2009 11:09 AM |
Need help with ereader2html. | GatorDeb | Workshop | 6 | 09-27-2008 11:40 AM |