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 05-28-2010, 07:42 PM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Angry

Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


I 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
Reply With Quote
  #2  
Old 05-28-2010, 07:57 PM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Question

AES key must be either 16,24, or 32 bytes


Now 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?
Reply With Quote
  #3  
Old 05-29-2010, 12:10 AM
Stream Recorder
 
Posts: n/a
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


Quote:
Originally Posted by mtngr1 View Post
I 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.
Create a copy of "ignoblekey.py". Then open "ignoblekey.py" with any text editor like Windows Notepad and change the BN_APPDATA_DIR variable from
Code:
BN_APPDATA_DIR = r'Barnes & Noble\DesktopReader'
to
Code:
BN_APPDATA_DIR = r'Barnes & Noble\BNDesktopReader'
or to whatever directory that is used for your B&N Reader installation.
Reply With Quote
  #4  
Old 05-29-2010, 04:36 AM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Question

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


Okay, 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
Reply With Quote
  #5  
Old 05-29-2010, 12:58 PM
Stream Recorder
 
Posts: n/a
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


Quote:
Originally Posted by mtngr1 View Post
Okay, 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
B&N has probably changed the DB name. So when the script tries to find it using
Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db'))
you get the error.

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
and in Windows XP see whether you have
Code:
C:\Documents and Settings\USER\Application Data\Barnes & Noble\BNDesktopReader\ClientAPI.db
If you do, then replace
Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db'))
with
Code:
dbpath = glob.glob(os.path.join(bndir, 'ClientAPI*.db'))
Let me know whether if you will get the "B&N User Key not found. Unexpected DB format?" error.
Reply With Quote
  #6  
Old 05-29-2010, 03:18 PM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Question

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


I 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.
Reply With Quote
  #7  
Old 05-30-2010, 03:01 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


Quote:
Originally Posted by mtngr1 View Post
I 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.
open the folder and see whether you have that file. then post its path and show me the code that you use in python.
Reply With Quote
  #8  
Old 05-30-2010, 11:57 AM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


I'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]
Reply With Quote
  #9  
Old 05-30-2010, 12:01 PM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


This 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'
Reply With Quote
  #10  
Old 05-30-2010, 12:03 PM
mtngr1 mtngr1 is offline
Junior Member
 
Join Date: May 2010
Posts: 26
mtngr1 is on a distinguished road
Default

Re: Barnes and Noble: ignoblekey.py error: Could not locate B&N Reader installation


I do not have BNDesktopReaderClientAPI.db anywhere on my c drive.
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 03:53 PM.


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