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

Nook Library - Cant Search with Archive ON #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on Show Archive to make it say Show Archive on
2. Try searching for a book using Author or Show
3.

What is the expected output? What do you see instead?
I expect to still be able to search.  I accidentally Archived a book and can't 
use search feature to find them.  What I see instead is no change when I search 
by Author or tags.

What version of the product are you using? On what operating system?
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 10 Sep 2010 at 9:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
In fact Show Archive doesn't do anything but change the title My Documents to 
Archived Books.  The list does not update and the number of books does not 
change

Original comment by rajbha...@gmail.com on 12 Sep 2010 at 3:02

GoogleCodeExporter commented 8 years ago
I can't reproduce this issue.

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

GoogleCodeExporter commented 8 years ago
well thats unfortunate for me...lol.  well just some more info if it helps.  I 
ended up re-softrooting (completely wiped out my Nook and started over) right 
from 1.0.  And I still see the same results.  Only thing that changes is the 
title.

Original comment by rajbha...@gmail.com on 13 Sep 2010 at 9:43

GoogleCodeExporter commented 8 years ago
you are using the apk file and not building from source right? The latest code 
in trunk has many partial changes and may not work.

Original comment by hari.swa...@gmail.com on 16 Sep 2010 at 2:49

GoogleCodeExporter commented 8 years ago
yeah I'm using the apk file from the NookDevs > Application > Nook Library

Original comment by rajbha...@gmail.com on 16 Sep 2010 at 2:54

GoogleCodeExporter commented 8 years ago
Try with the latest version

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
No change..just the title changes to Archived Books.

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

GoogleCodeExporter commented 8 years ago
ok. I have no idea what the problem is. You will have to use the source code, 
debug and figure it out :)
Send me the files if you fix anything and I'll check in the changes. 

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

GoogleCodeExporter commented 8 years ago
ok so I got all excited thinking I've been missing NookSync but of course that 
didn't help cuz its part of your new version which by the way is freaking cool 
with the folder searching! 
So just to add more info if you're still interested.  If I select Archive ON, 
the Title only changes as I've been saying and when I page through or try to 
select anything it kicks me out of the program.  So obviously its not liking 
it.  

Original comment by rajbha...@gmail.com on 17 Sep 2010 at 9:54

GoogleCodeExporter commented 8 years ago
can you copy the databases ( *.db files) under 
/data/data/com.nookdevs.library/databases folder and attach to the incident?
I'm sure it's something to do with one of the files.  

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

GoogleCodeExporter commented 8 years ago
Absolutely!

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

Attachments:

GoogleCodeExporter commented 8 years ago
/data/data/com.bravo.home/theDB.db also. Forgot that one. Thanks.

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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks. I'll debug this issue tomorrow.

Original comment by hari.swa...@gmail.com on 18 Sep 2010 at 1:51

GoogleCodeExporter commented 8 years ago
one more thing. 
If you select show archived menu and the title changes to Archived files,
there should be an exception logged. You can view this by running 
adb logcat

can you copy that to this incident?
It should start with "Sorting failed..."

Thanks.

Original comment by hari.swa...@gmail.com on 18 Sep 2010 at 2:13

GoogleCodeExporter commented 8 years ago
ok here is the screenshot of the logcat starting at "Sorting failed..."  sorry, 
I'm still trying to figure out how to log it to a file.  Does this help?

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

Attachments:

GoogleCodeExporter commented 8 years ago
can you try with the attached apk?
I think this should work. But this is not the final fix. I'm also printing some 
additional data in logs. 
Log should start with "Book with invalid metadata:"
Copy that & attach this the incident. 

Thanks.

Original comment by hari.swa...@gmail.com on 19 Sep 2010 at 11:55

Attachments:

GoogleCodeExporter commented 8 years ago
WOOHOO...you did it again!  works!  The first 2 books are showing up with no 
title and No Author Info and I dont know why and dont care!  When I click on 
them I get kicked out.  But it works!

Original comment by rajbha...@gmail.com on 20 Sep 2010 at 12:53

GoogleCodeExporter commented 8 years ago
I printed the details for those books in the log. If you copy & send attach it 
here, I can debug further.

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

GoogleCodeExporter commented 8 years ago
This section here?  I dont see details for any of the books in archive in the 
log.

Original comment by rajbha...@gmail.com on 20 Sep 2010 at 1:09

Attachments:

GoogleCodeExporter commented 8 years ago
ok. You have the dictionary file set to archived. Code is not handling that 
correct. There are 2 copies of the dictionary, one archived and one normal. 
I'll try to see if I can add some logic to handle this later.

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

GoogleCodeExporter commented 8 years ago
I figured it was dictionaries.  No, this has been great.  You've been a great 
help!

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