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

[nookLibrary] 0.1.4 doesn't finish refreshing #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select "My Library (nookdevs)" icon
2. Select "Refresh" in the menu
3. "Refresh" menu says "In Progress..."

What is the expected output? What do you see instead?
Once all books are listed, the "Refresh" menu is supposed to stop saying "In 
Progress..."
But with my 1100 books, it keeps "In Progress..." for at least 1/2 hour 
(haven't run it any longer.)
With version 0.1.3, it was done within a few minutes.

What version of the product are you using? On what operating system?
1st gen nook wifi+3g, softroot 2.5.1

Original issue reported on code.google.com by jfe...@gmail.com on 31 Dec 2010 at 4:22

GoogleCodeExporter commented 8 years ago
Can you get the logcat output and attach it here?

Steps to get logcat output:
Kill library app using task manager ( or you can just reboot).
Connect via adb
Run "adb logcat > logcat.txt" in command prompt/shell.
Start library app
Leave it running for 30 mins.
Copy logcat.txt & attach if here.

Thanks.

Original comment by hari.swa...@gmail.com on 31 Dec 2010 at 10:16

GoogleCodeExporter commented 8 years ago
I think I figured it out.
The logcat shows exceptions regarding one epub file, and upon closer inspection 
it was indeed an invalid file with zero length.
Apparently, the exception is not caught.
I removed the broken epub file, and the refresh finished.
The part of the logcat that shows the exception is attached.

Original comment by jfe...@gmail.com on 1 Jan 2011 at 12:15

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. I'll add code to handle the exception in the next build.

Original comment by hari.swa...@gmail.com on 1 Jan 2011 at 12:38

GoogleCodeExporter commented 8 years ago

Original comment by hari.swa...@gmail.com on 4 Jan 2011 at 1:43