Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI installed Python 2.6 first, then pycrypto-2.1.0. Is the key file for Barnes and Noble called bnepubkey.64? I click on Ignoble Key, it gives me the Error: Could not locate B&N Reader installation, but I have it installed and have the Ignoble Key in the directory. I then try and use Ignoble Key gen, and put the epub book that I have from Barnes and noble, then the saved name I want for the output book I want, and it spits out a bnepubkey.64, to which I put in the inept key, and I keep getting the error decoding ASN.1. Can someone please tell me what I have doing wrong?
TIA |
AES key must be either 16,24, or 32 bytesNow I am getting this error:AES key must be either 16,24, or 32 bytes long? I am using the bnepubkey.b64 that it spit out?
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
BN_APPDATA_DIR = r'Barnes & Noble\DesktopReader' Code:
BN_APPDATA_DIR = r'Barnes & Noble\BNDesktopReader' |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationOkay, I did that and now it's saying, Error: Problem locating B&N Reader DB. my Barnes and Noble is in Program Files\Barnes & Noble\BNDestopReader
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db')) Find the db name and change the code. If you use Windows 7 or Vista, see whether you have the following file Code:
C:\Users\USERNAME\AppData\Roaming\Barnes & Noble\BNDesktopReader\ClientAPI.db Code:
C:\Documents and Settings\USER\Application Data\Barnes & Noble\BNDesktopReader\ClientAPI.db Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db')) Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI*.db')) |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI ckd it in the registry and I did have that,so I copied pasted what you told me to change in ignoblekey using the pythonwin editor and now, the black dos box comes up and then disappears. No words or anything, just the dos box.
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI'm confused because my Barnes and Noble ebooks are in my documents, but my Barnes and noble reader is in my Programs files\ Barnes and Noble\BNDesktopReader. I have windows xp, and here is what is part of what is in my code in ignoblekey-
def find_bnclientdb_path(): appdata = os.environ['APPDATA'] bndir = os.path.join(appdata, BN_APPDATA_DIR) if not os.path.isdir(bndir): raise IgnobleError('Could not locate B&N Reader installation') dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db')) if len(dbpath) == 0: raise IgnobleError('Problem locating B&N Reader DB') return sorted(dbpath)[-1] |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationThis is what he was having me change. I copied, pasted this from my ignoblekey-
BN_KEY_KEY = 'uhk00000000' BN_APPDATA_DIR = r'Barnes & Noble\BNDesktopReader' |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI do not have BNDesktopReaderClientAPI.db anywhere on my c drive.
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
C:\Users\USERNAME\AppData\Roaming\ |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI have Windows XP and I have it set to show all files and that file is no where to be found on my HD.
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
C:\Documents and Settings\USER\Application Data |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationOkay, found it! When I was doing a search, I was searching under user, and I must I've only installed it under my Documents and Settings. It's found in C:\Documents and Settings\USER\Application Data\Barnes & Noble\BNDesktopReader\ClientAPI
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db')) Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI*.db')) |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationNow it's showing this error- "B&N User Key not found. Unexpected DB format?" error.
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationOkay, I had read that you have to get rid of your client api key, and then open up Barnes and Noble reader and re enter your info:
Quote:
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI did it! I redid my name and credit card, and it worked! Thank you, now I can use what ever reader I want!
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Just for fun, I found the Barnes and Noble Desktop Reader 2.1.0.2 as well, no go. So I ran the key generator script, full name as on the card and number. Key was generated, but I get a "Error: Key cannot be the null string" -- If I open the bnepubkey.b64 file, it's a line of stuff, so I don't think it's null. I did make the appropriate script edits to find the database for the two desktop reader key extraction attempts. Any ideas? |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
You may also try to use the output file without any extension and rename it afterwards to .epub. |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation??
What is my username? I've heard it's not my email address. Where do I find it? How do I use it in ignobleepub? That only asks for the key file, input file, and output file. I tried the key generator without my middle initial. No go, same error, Key cannot be null. |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
Code:
python -s ignoblekeygen.pyw "FirstName LastName" 1234567890123456 "bnepubkey.b64" 1. "FirstName LastName" is your name from your credit card without your middle initial (don't forget to put it in quotes). 2. 1234567890123456 is your credit card number. 3. "bnepubkey.b64" is output keyfile name (assumes local folder). |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation1 Attachment(s)
Right, I have a key:
N---T1B*********O....y4= (I changed it some so no one can use it to recover my credentials) When I use it, I get Error: key cannot be the null string (see attached) |
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationI have mentioned above that you may try to remove the EPUB extension of your output file when using Ignoble Epub Decrypter. And after removing DRM, just add the epub file extension.
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationQuote:
|
Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installationThank you for this thread it helped me to decrypt a epub book so that
Digital Editions recognizes it. Also did you just change the name of the keyfile or the data in it? If you changed that the data in the file it will probably be no good as you just changed who you are and the book will not recognized the key as being you. |
All times are GMT -6. The time now is 03:04 PM. |