News:

SMF - Just Installed!

Main Menu

Recent posts

#21
eLibrary Manager / Re: VERSION 4.5.2 (2023-02-05)...
Last post by ogm - February 13, 2023, 02:33:31 PM
Here is what I see:
Amazon System WebView
version 100.amazon-webview-v100-4896-tablet.4896.127.37



#22
eLibrary Manager / Re: VERSION 4.5.2 (2023-02-05)...
Last post by kweckwor - February 12, 2023, 06:59:38 PM
I don't have a Kindle Fire to test on, but I see that Fire OS 5.x is based on Android 5.1. I don't see this error on an emulator running Android 5.1.

This error happens when the WebView component fails to load (i.e it throws an error when the reader tries to start up). Can you let me know what version of WebView is loaded? On a vanilla Android device you would be able to see that through Settings/Apps/Android System WebView. I assume the same should be available on your Kindle Fire.

If I know what WebView version your device is using, I can try and see if I can load the same on my device and see if the same issue happens.
#23
eLibrary Manager / VERSION 4.5.2 (2023-02-05) - p...
Last post by ogm - February 12, 2023, 05:07:31 PM
On my "Amazon Kindle running FIRE OS 5.7.0.0" the new version of your software "VERSION 4.5.2 (2023-02-05)" fails to open my ePUB books.

It opens up and when I click on a book, it give me a error message:  "Your version of webview is obsolete and is no longer supported.  Uodate webview to the latest version".

Could you please fix this issue ?
#24
ePub Reader / Re: Books not found with scan
Last post by kweckwor - February 22, 2022, 12:43:05 AM
For the original poster and anyone else following this thread...

I can see two reasons for the behaviour reported:

  • The scan gets into a loop, possibly due to recursion because of symbolic links.
  • The scan "stalls" because it is blocked waiting for access to a file that is blocked through some OS level lock on a file.

For the first issue I've added a limit to the allowed recursion to prevent the scan from running indefinitely. For the second issue I've added logic to terminate a scan if any step waits for more than a minute (implying that there is something preventing the scan from continuing, possibly indefinitely). In both cases the final notification identifies the situation, also identifying the book file that was being loaded when the timeout occurred for the second case.

Hopefully that should cover the issue.

I'll release the updates soon after I've had a chance to test them more fully (as well as the other updates I've been working on recently).

Karl
#25
ePub Reader / Re: Books not found with scan
Last post by kweckwor - February 18, 2022, 04:13:18 PM
It seems that the scan might be freezing when it tries to process a specific book. I'm not quite sure why that would happen. If you can pinpoint the book you can try and reload that book to your device from calibre. I think I may have run into something like that in the past as well and recopying the book fixed it. To stop the scan, try renaming the author folder temporarily and force stop the app. With the folder name changed, even if the scan starts again automatically it should end because the folder doesn't exist any more.

So what I would try is
1) Rename author folder (add a ".0" prefix or something).
2) Force stop the app.
3) Start the app again and wait for the scan to be auto-started (it should finish immediately since the folder doesn't exist any more).
4) Reload the books from calibre for that author onto your Kindle.
5) Rename the author folder back to it's original name.
6) Try scanning the folder again.

Hopefully the reloaded book files will work better.

Again, I'm not sure why a corrupted book would make the scan freeze like that. If I could get a sample of a book file that causes that behaviour for me as well, I should be able to figure out what is happening.
#26
ePub Reader / Re: Books not found with scan
Last post by mac1299 - February 18, 2022, 03:19:14 PM
Ok I just began scanning each individual author and it froze during one of the scans.  They were all EPUB's under this author.  I'm really not sure what to do now.  So there is no way to stop the scan once its started? 
#27
ePub Reader / Re: Books not found with scan
Last post by mac1299 - February 18, 2022, 02:26:17 PM
I keep all my downloads in a "Books" folder.  They are all organized by author within this folder.  My Fire is OS 5.6.8.0.  I think what I will try next is to scan each subfolder(author) and not the entire book folder.  Only way to stop the scan is to uninstall elibrary and reinstall. 
#28
ePub Reader / Re: Books not found with scan
Last post by kweckwor - February 18, 2022, 12:42:43 PM
It sounds like your scan may have gotten into an endless loop. I try to detect recursion to prevent that, but I ran into a scenario recently where I still get into an endless loop while testing a new feature I'm currently working on. I'm guessing there might be some symbolic links that may end up getting the scan into a repeating pattern that gets around the checks I have in place (or something like that - I haven't quite worked out the details of how I was able to get to that point yet).

In any case, I've added a cap on how many folders a scan will consider before stopping, suggesting that you narrow down the scan. That may get your scan to end. Unfortunately, I'm not quite ready to release that version just yet (I think I'll probably get it out in a couple of weeks). If you're comfortable with side-loading apks and you'd like to try this new version early, I can send you the apk with that limit implemented (the version is working generally but I need to test it some more and there are some final touches I'm making to it - so it's not quite finished just yet, but it should be good enough for use). Let me know if you're interested and I can send you a link where you can download it.

Unfortunately. with the version you've got now, I don't think there is a good way to stop the scan if it has indeed gotten into an endless loop. You can try force stopping the app, but since the scan uses Android's work manager, it will probably start again. Maybe if you're able to get a different scan started (a more targeted scan) prior to the previous scan being restarted, that might prevent the bad scan from starting again.

What is the root folder you're using for the scan? In the case where I ran into my issues, it was on an older version of Android where I'm able to scan from the root folder. That was the situation where I get into a seemingly endless loop. I'm not sure what version of Android the Kindle OS for the 8HD is based on. Do you need to add root folders for your device, or do you have the option to select root as the starting point (that appears as "Device" in the scan dialog)?
#29
ePub Reader / Re: Books not found with scan
Last post by mac1299 - February 18, 2022, 01:46:44 AM
I would say 95% of the books are Epub's.  A few MOBI's may be in there though.  I convert them all on Calibre first before I install them.  It seems that when I start a scan it never stops scanning.  Every time I try again it says that a scan is already in progress.  This could be 10 hours later.  Is there any way to stop a scan once its under way?  I have a Kindle Fire 8HD.  I have all my books on a 128GB SD disc.  Thank You for responding. 
#30
ePub Reader / Re: Books not found with scan
Last post by kweckwor - February 10, 2022, 10:33:32 PM
Some basic things to keep in mind (I suspect your situation is probably not one of these, but I'll suggest them just in case):

  • The tool will only recognize ePub books by default.
  • You need to grant access to folders where books you are trying to load reside on your device. You do that by adding "root folders" in the permission tab of the eLibrary Settings. That's assuming your device has an Android version no older than 7.0.

I assume the books you're trying to access are epub books (with .epub file extension). If you are trying to load other types of books, then you will need to enable that through the eLibrary settings (and getting access to metadata will also take some additional setup). I'll assume you're trying to load epub though unless you tell me otherwise.

If you have granted access to the locations where the books reside but the tool still can't see them, it's possible it's having issues with the book file content. If that's the case, you can send me a sample book that is not being found and I can try it out to see if I have any luck. If loading the books fails for me as well then I should be able to figure out what the issue is.

Karl