DBDigital / nookdevs

Automatically exported from code.google.com/p/nookdevs Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Cant Remove Old TAgs in Library #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Copy ebooks to Nook with tags
2. Delete those ebooks
3. Copy new ebooks to Nook

What is the expected output? What do you see instead?
The old tags should go away

What version of the product are you using? On what operating system?
Library 0.1.2 Softroot 2.4.1

Please provide any additional information below.

Original issue reported on code.google.com by rajbha...@gmail.com on 3 Sep 2010 at 5:33

GoogleCodeExporter commented 8 years ago
I'll try to fix it in the next build. In the meantime, have you tried killing 
it in task manager or rooting nook?

Original comment by hari.swa...@gmail.com on 4 Sep 2010 at 2:06

GoogleCodeExporter commented 8 years ago
I've tried to kill the task, that did not work.  My rooting, do you mean to 
re-root?  If so, I have not tried that.

Original comment by rajbha...@gmail.com on 9 Sep 2010 at 10:35

GoogleCodeExporter commented 8 years ago
I meant to type rebooting there :)

Original comment by hari.swa...@gmail.com on 9 Sep 2010 at 10:38

GoogleCodeExporter commented 8 years ago
oh yes for sure tried that.  I even uninstalled and reinstalled so it must keep 
the data somewhere.

Original comment by rajbha...@gmail.com on 9 Sep 2010 at 10:44

GoogleCodeExporter commented 8 years ago
I'm not sure what's going on. the tags are stored in db. But once you 
uninstall, db will be deleted. Also, if you archive a file, corresponding tags 
will be deleted as well. 

Anyway, I have added some fixes and will be updating the package this weekend. 
Give a try with that one and let me know.

Original comment by hari.swa...@gmail.com on 9 Sep 2010 at 10:48

GoogleCodeExporter commented 8 years ago
where exactly is the db stored...maybe I can delete it myself for now.  Yeah 
it'll keep adding tags but not delete.  If I select old tags, no books show up. 
 It'll say "No Items Found"

Original comment by rajbha...@gmail.com on 9 Sep 2010 at 11:03

GoogleCodeExporter commented 8 years ago
it's under /data/data/com.nookdevs.library/databases/ folder.
name is myBooks.db
You can only access it via adb shell.

Original comment by hari.swa...@gmail.com on 9 Sep 2010 at 11:10

GoogleCodeExporter commented 8 years ago
well it does delete the file when uninstalled.  deleted it myself too.  still 
all the old tags show up.

Original comment by rajbha...@gmail.com on 9 Sep 2010 at 11:31

GoogleCodeExporter commented 8 years ago
do you have a mybooks.xml file in internal or external sd folder root? That's 
loaded by default. If you have one, delete it and try

Original comment by hari.swa...@gmail.com on 9 Sep 2010 at 11:54

GoogleCodeExporter commented 8 years ago
I can't find mybooks.xml anywhere.  I looked on the internal and external.  I 
even ADB'd in and pulled everything to my local machine and did a search, still 
nothing.  I must not have it.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 4:10

GoogleCodeExporter commented 8 years ago
then I have no idea what's going on here. sorry

Original comment by hari.swa...@gmail.com on 10 Sep 2010 at 6:39

GoogleCodeExporter commented 8 years ago
ok i think I finally got the old ones out by uninstalling through Android 
Commander that asks to delete data with it.  NOW I still see many tags I dont 
use.  Are there some default tags in there within the program itself?  If so, 
can they be turned off?

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 9:01

GoogleCodeExporter commented 8 years ago
yeah it must not be default tags cuz I actually see OLD authors from books I 
had on my Nook before as well.  so same thing if I try to Show by these old 
Authors it can't find the books.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 9:34

GoogleCodeExporter commented 8 years ago
ooooooooook...just gathering more info for you.  If I do a search in windows 
for files that have content with X Author I get theDB.db under 
data/data/com.bravo.home/ so this file must still be holding data that Library 
is reading in some way.  Do you know if this is a file that can be deleted?  
how do you read the db files?

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 10:05

GoogleCodeExporter commented 8 years ago
don't delete that file. That file used by all B&N apps. 
If you have deleted or archived the books in B&N website, do a refresh -B&N 
Books and it will get removed from this. You can also do "check for new 
contents" using B&N library.

to view db files, use sqlite3 command from adb shell. google for the list of 
sqlite3 commands to run once you enter the db.

Original comment by hari.swa...@gmail.com on 10 Sep 2010 at 10:26

GoogleCodeExporter commented 8 years ago
ok thanks...im not quire sure what "If you have deleted or archived the books 
in B&N website, do a refresh -B&N Books and it will get removed from this. You 
can also do "check for new contents" using B&N library." has to do with this 
issue.  I know how to delete, archive, refresh and check for new contents in 
B&N.  I'm asking about the NookDevs Library and how to remove old tags and old 
authors.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 10:36

GoogleCodeExporter commented 8 years ago
im sorry...maybe I never specified that all my books are sideloaded.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 10:38

GoogleCodeExporter commented 8 years ago
That's what I assumed earler. But you also said the author name was in theDB.db 
file. That only has B&N books & that's where the tags come from for B&N books. 
May be you registered the nook once and downloaded some samples. 

Original comment by hari.swa...@gmail.com on 10 Sep 2010 at 10:47

GoogleCodeExporter commented 8 years ago
oh gotcha!  yeah that HAS happened.  but they've been deleted long ago.  They 
dont show up in my B&N Library or online anymore.  so when I select one of 
those old Authors in NookDevs Library it can't find them.  Yeah I dont know, 
somehow its remembering the old tags and authors.  

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 10:58

GoogleCodeExporter commented 8 years ago
i probably have to add code to see if the nook is registered first. If it is 
registered and books are deleted online, data in theDB.db also will go away. 
But if you unregister, probably the old data is still there. 

Try registering the nook and doing refresh. If that doesn't work, you will have 
to run sqlite3 and delete records from this database.

Original comment by hari.swa...@gmail.com on 10 Sep 2010 at 11:09

GoogleCodeExporter commented 8 years ago
alrighty!  this must be all the archived B&N stuff.  I see it now...so it seems 
like the Tags and Authors remain in NookDevs Library that are archived in B&N.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 11:19

GoogleCodeExporter commented 8 years ago
yeah you got a good plan there...deleted online and archived would be nice to 
have those tags and authors removed.

Original comment by rajbha...@gmail.com on 10 Sep 2010 at 11:20

GoogleCodeExporter commented 8 years ago

Original comment by hari.swa...@gmail.com on 16 Sep 2010 at 9:11

GoogleCodeExporter commented 8 years ago
No change here either.  Old tags still in there.  Refreshed a bunch, rebooted, 
installed the new version.

Original comment by rajbha...@gmail.com on 16 Sep 2010 at 9:58

GoogleCodeExporter commented 8 years ago
Try with this one. uninstall and install this apk. no need to reboot.
This is for only Issue 129. I have no idea why the archive option is not 
working for you.

Original comment by hari.swa...@gmail.com on 16 Sep 2010 at 10:26

Attachments:

GoogleCodeExporter commented 8 years ago
woohoo!  that worked for the tags!

Original comment by rajbha...@gmail.com on 16 Sep 2010 at 11:51

GoogleCodeExporter commented 8 years ago
great! I'm glad at least one of the issue is fixed.

Original comment by hari.swa...@gmail.com on 17 Sep 2010 at 12:17