Closed GoogleCodeExporter closed 8 years ago
Longpress on the fictionwise menu & it will be removed.
Original comment by hari.swa...@gmail.com
on 1 Aug 2010 at 11:01
Thanks a lot. After purging the DB. That two ebooks (A study in scarlet, ghost
rider) still fail to d/l.
Original comment by yuanc...@gmail.com
on 2 Aug 2010 at 3:19
There should be some errors logged in logcat. Do you see any?
fictionwise bookshelf is accessed using url -
http://www.fictionwise.com/servlet/mw?a=mv&t=m_bookshelf&si=0
You can open it up and see where it's failing to parse. parsing logic is in
FictionwiseBooks.java - parseBookShelf method. If it parses the book name &
author and only fails during download, may the download URL in here is not
parsed correct.
I'm printing the download URL in the log. See if you can load that from a
browser.
Original comment by hari.swa...@gmail.com
on 2 Aug 2010 at 3:30
Sorry that I can only find the following messages:
W/SingleClientConnManager( 4502): Invalid use of SingleClientConnManager:
connection still allocated.
W/SingleClientConnManager( 4502): Make sure to release the connection before
allocating another one.
E/FictionwiseBooks( 4502): exception while downloading book
E/FictionwiseBooks( 4502): java.io.FileNotFoundException:
/system/media/sdcard/fictionwise/Ghost Rider: Stories by Jonathan Lowe.epub
E/FictionwiseBooks( 4502): at
org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:231)
E/FictionwiseBooks( 4502): at
java.io.FileOutputStream.<init>(FileOutputStream.java:96)
E/FictionwiseBooks( 4502): at
java.io.FileOutputStream.<init>(FileOutputStream.java:69)
E/FictionwiseBooks( 4502): at
com.nookdevs.library.FictionwiseBooks.downloadBook(FictionwiseBooks.java:568)
E/FictionwiseBooks( 4502): at
com.nookdevs.library.NookLibrary$13.run(NookLibrary.java:984)
E/FictionwiseBooks( 4502): at java.lang.Thread.run(Thread.java:1058)
I/RadioWakeLock( 1819): Releasing Radio Wake Lock:
'RADIO_ON_WAKE_LOCK[nookLibrary.FictionwiseBooks1130742928]{4502/10009}{4365d3b8
}'
I/RadioWakeLock( 1819): -------------------------
I/RadioWakeLock( 1819): Radio Wake Locks Held: 'On': 0 'Sleep': 0
I/RadioWakeLock( 1819): None
I/RadioWakeLock( 1819): -------------------------
I/NotificationService( 1819): enqueueToast pkg=com.nookdevs.library
callback=android.app.ITransientNotification$Stub$Proxy@4372bc18 duration=1
I/ConnectivityService( 1819): Radio 'On' Lock damping period expired.
I/ConnectivityService( 1819): -> teardown[MOBILE]
I/ConnectivityService( 1819): Radio 'On' Lock damping period expired.
I/ConnectivityService( 1819): -> teardown[MOBILE]
I/RadioWakeLock( 1819): Acquiring Radio Wake Lock:
'RADIO_ON_WAKE_LOCK[nookLibrary.FictionwiseBooks1130742928]{4502/10009}{4365d3b8
}'
I/RadioWakeLock( 1819): -------------------------
I/RadioWakeLock( 1819): Radio Wake Locks Held: 'On': 1 'Sleep': 0
I/RadioWakeLock( 1819): # lock type[app tag]{app pid/uid}{unique lock object
hash}
I/RadioWakeLock( 1819): 1:
RADIO_ON_WAKE_LOCK[nookLibrary.FictionwiseBooks1130742928]{4502/10009}{4365d3b8}
I/RadioWakeLock( 1819): -------------------------
I/RadioPM ( 1932): Updating Radios power state:
I/RadioPM ( 1932): + -------sys state----------
I/RadioPM ( 1932): Airplane Mode : false
I/RadioPM ( 1932): Sys Pwr State : 1
I/RadioPM ( 1932): Battery Voltage (mV) : 4178 Level (%) : 100
I/RadioPM ( 1932): Plugged-in : 2 USB
I/RadioPM ( 1932): Connectivity : Wifi
I/RadioPM ( 1932): Wifi Disabled : No
I/RadioPM ( 1932): No Users : false
I/RadioPM ( 1932): - -------sys state----------
I/ConnectivityService( 1819): -> teardown[MOBILE]
I/NotificationService( 1819): enqueueToast pkg=com.nookdevs.library
callback=android.app.ITransientNotification$Stub$Proxy@4376b2c0 duration=0
W/SingleClientConnManager( 4502): Invalid use of SingleClientConnManager:
connection still allocated.
W/SingleClientConnManager( 4502): Make sure to release the connection before
allocating another one.
E/FictionwiseBooks( 4502): exception while downloading book
E/FictionwiseBooks( 4502): java.io.FileNotFoundException:
/system/media/sdcard/fictionwise/Ghost Rider: Stories by Jonathan Lowe.epub
E/FictionwiseBooks( 4502): at
org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:231)
E/FictionwiseBooks( 4502): at
java.io.FileOutputStream.<init>(FileOutputStream.java:96)
E/FictionwiseBooks( 4502): at
java.io.FileOutputStream.<init>(FileOutputStream.java:69)
E/FictionwiseBooks( 4502): at
com.nookdevs.library.FictionwiseBooks.downloadBook(FictionwiseBooks.java:568)
E/FictionwiseBooks( 4502): at
com.nookdevs.library.NookLibrary$13.run(NookLibrary.java:984)
E/FictionwiseBooks( 4502): at java.lang.Thread.run(Thread.java:1058)
I/RadioWakeLock( 1819): Releasing Radio Wake Lock:
'RADIO_ON_WAKE_LOCK[nookLibrary.FictionwiseBooks1130742928]{4502/10009}{4365d3b8
}'
I/RadioWakeLock( 1819): -------------------------
I/RadioWakeLock( 1819): Radio Wake Locks Held: 'On': 0 'Sleep': 0
I/RadioWakeLock( 1819): None
I/RadioWakeLock( 1819): -------------------------
I/NotificationService( 1819): enqueueToast pkg=com.nookdevs.library
callback=android.app.ITransientNotification$Stub$Proxy@43727df0 duration=1
I/ConnectivityService( 1819): Radio 'On' Lock damping period expired.
I/ConnectivityService( 1819): -> teardown[MOBILE]
Original comment by yuanc...@gmail.com
on 2 Aug 2010 at 11:51
ok. I think I understand the problem. File name has a : in it and that probably
causes the file create call to fail. I should remove these special chars or
escape them.
Original comment by hari.swa...@gmail.com
on 3 Aug 2010 at 12:28
should be fixed in the new release. check & let me know.
Original comment by hari.swa...@gmail.com
on 5 Aug 2010 at 10:38
Thanks a lot for the fix. Just tried that now I can successfully d/l "ghost
rider". However, when I try to remove 'fictionwise' from refreshing 'add lib'
and add again, 'smashwords' was added. If I selection 'fictionwise' again from
'add lib', I can then include fictionwise. Now my nook is not at hands. I'll
check again and get back to you.
Original comment by yuanc...@gmail.com
on 9 Aug 2010 at 3:12
Sorry that it looks like it's not fully solved:
I/RadioWakeLock( 1819): -------------------------
I/NotificationService( 1819): enqueueToast pkg=com.nookdevs.library
callback=android.app.ITransientNotification$Stub$Proxy@437c4108 duration=0
I/System.out( 2154): Path =/system/media/sdcard/fictionwise/A Study In Scarlet
_Complete Sherlock Holmes Collection #1_.epub ext =epub
mimetype=application/epub
V/Reader ( 1959): Saving intent in thread:
file:///system/media/sdcard/fictionwise/A Study In Scarlet _Complete Sherlock
Holmes Collection #1_.epub
D/SurfaceFlinger( 1819): Returning pmem allocator!
W/System.err( 1959): java.io.FileNotFoundException:
/system/media/sdcard/fictionwise/A Study In Scarlet _Complete Sherlock Holmes
Collection
W/System.err( 1959): at
org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:231)
W/System.err( 1959): at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:147)
W/System.err( 1959): at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:186)
W/System.err( 1959): at java.util.zip.ZipFile.<init>(ZipFile.java:107)
W/System.err( 1959): at java.util.zip.ZipFile.<init>(ZipFile.java:135)
W/System.err( 1959): at
com.bravo.ereader.model.ContentMetaData.isProtected(ContentMetaData.java:184)
W/System.err( 1959): at
com.bravo.ereader.model.ContentReader.isLocked(ContentReader.java:120)
W/System.err( 1959): at
com.bravo.ereader.controllers.ContentController.getContent(ContentController.jav
a:140)
W/System.err( 1959): at
com.bravo.ereader.activities.tasks.LoadBookTask.doInBackground(LoadBookTask.java
:56)
W/System.err( 1959): at
com.bravo.ereader.activities.tasks.LoadBookTask.doInBackground(LoadBookTask.java
:27)
W/System.err( 1959): at android.os.AsyncTask$2.call(AsyncTask.java:185)
W/System.err( 1959): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:256)
W/System.err( 1959): at
java.util.concurrent.FutureTask.run(FutureTask.java:122)
W/System.err( 1959): at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
48)
W/System.err( 1959): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:673)
W/System.err( 1959): at java.lang.Thread.run(Thread.java:1058)
W/System.err( 1959): com.bravo.ereader.util.exceptions.BookNotFoundException:
/system/media/sdcard/fictionwise//A Study In Scarlet _Complete Sherlock Holmes
Collection #1_.epub
W/System.err( 1959): at
com.bravo.ereader.api.binding.adobe.AdobeContentAdapter.retryOpenFile(AdobeConte
ntAdapter.java:77)
W/System.err( 1959): at
com.bravo.ereader.api.binding.adobe.AdobeContentAdapter.open(AdobeContentAdapter
.java:42)
W/System.err( 1959): at
com.bravo.ereader.model.ContentReader.openContent(ContentReader.java:79)
W/System.err( 1959): at
com.bravo.ereader.controllers.ContentController.getContent(ContentController.jav
a:145)
W/System.err( 1959): at
com.bravo.ereader.activities.tasks.LoadBookTask.doInBackground(LoadBookTask.java
:56)
W/System.err( 1959): at
com.bravo.ereader.activities.tasks.LoadBookTask.doInBackground(LoadBookTask.java
:27)
W/System.err( 1959): at android.os.AsyncTask$2.call(AsyncTask.java:185)
W/System.err( 1959): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:256)
W/System.err( 1959): at
java.util.concurrent.FutureTask.run(FutureTask.java:122)
W/System.err( 1959): at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
48)
W/System.err( 1959): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:673)
W/System.err( 1959): at java.lang.Thread.run(Thread.java:1058)
D/nookLibrary( 2154): m_Wallpaper = file:///system/media/sdcard/my
wallpapers/ch9.jpg
I/RadioPM ( 1931): <= Plugged-In state: '0' --> '2'
I/RadioPM ( 1931): Updating Radios power state: ^M
I/RadioPM ( 1931): + -------sys state----------^M
I/RadioPM ( 1931): Airplane Mode : false
I/RadioPM ( 1931): Sys Pwr State : 1
I/RadioPM ( 1931): Battery Voltage (mV) : 3874 Level (%) : 70
I/RadioPM ( 1931): Plugged-in : 2 USB
I/RadioPM ( 1931): Connectivity : Wifi
I/RadioPM ( 1931): Wifi Disabled : No
I/RadioPM ( 1931): No Users : false
I/RadioPM ( 1931): - -------sys state----------
Original comment by yuanc...@gmail.com
on 9 Aug 2010 at 5:30
ugh... reader app is having problems with reader file with # in the name.
se if the attached apk works.
Original comment by hari.swa...@gmail.com
on 9 Aug 2010 at 9:07
Attachments:
Thanks a lot. It fixed the d/l problem with #.
Original comment by yuanc...@gmail.com
on 9 Aug 2010 at 9:55
Original issue reported on code.google.com by
yuanc...@gmail.com
on 1 Aug 2010 at 9:09