Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Can not open files FB2,PDF,DJVU and etc with version 0.6.6 #33

Open
dmyger opened this issue Oct 22, 2017 · 21 comments
Open

Can not open files FB2,PDF,DJVU and etc with version 0.6.6 #33

dmyger opened this issue Oct 22, 2017 · 21 comments

Comments

@dmyger
Copy link

dmyger commented Oct 22, 2017

Now it has bin folder with script and ini file.
But, it still does not work: tap on file show error that can't run selected application.

Kindle Whitepaper 3 (5.6.5) with koreader-kindle-arm-linux-gnueabi-v2015.11-1287-g5a2c8e4.zip

@dmyger
Copy link
Author

dmyger commented Nov 2, 2017

Is the way manually install this extension? To find out where it brokes, and why 0.6.4 works, but any new one does not.

@cytown
Copy link
Contributor

cytown commented Nov 14, 2017

Hi @dmyger , could you please post the log file here?

@dmyger
Copy link
Author

dmyger commented Nov 16, 2017

Yes I can, if you tell me where to take it from?

@mzelyony
Copy link

Same here. This is all I got in the Installer's log:


[2017-11-19 @ 13:09:27 -0500] - Beginning the processing of package 'update_kpvbooklet_0.6.6_install.bin' (kpvbooklet 0.6.6 I) . . .

--
Running 'install.ffs' for 'kpvbooklet 0.6.6 I' (update_kpvbooklet_0.6.6_install.bin) @ Sun, 19 Nov 2017 13:09:28 -0500

eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
system: I mntroot:def:Making root filesystem writeable
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)
system: I mntroot:def:Making root filesystem read-only
eips: pixel_in_range> (768, 288) pixel not in range (0..758, 0..1024)

Success! :)

@cytown
Copy link
Contributor

cytown commented Nov 20, 2017

Please check and provide the last 50 lines of file /tmp/kpvbooklet.log.

@dmyger
Copy link
Author

dmyger commented Nov 20, 2017

After installing 0.6.6 there is no any /tmp/kpvbooklet.log file. This file existed while the old version was installed, but I had deleted it to make clear installation.
But there are following messages in the KUAL.log file:

Extracting update package 'update_kpvbooklet_0.6.6_install.bin' to '/mnt/us/mrpackages/staging'.
Bundle         SP01 (Signing Envelope)
Cert number    0
Cert file      pubdevkey01.pem (Developer)
Bundle         FD04 (Versionless [vls])
Bundle Type    OTA V2
Minimum OTA    0
Target OTA     18446744073709551615
Devices        40
Device         Kindle 5 Touch WiFi (0x11)
Device         Kindle 5 Touch WiFi+3G (0x0F)
Device         Kindle 5 Touch WiFi+3G Europe (0x10)
Device         Kindle PaperWhite WiFi (0x24)
Device         Kindle PaperWhite WiFi+3G (0x1B)
Device         Kindle PaperWhite WiFi+3G Canada (0x1C)
Device         Kindle PaperWhite WiFi+3G Europe (0x1D)
Device         Kindle PaperWhite WiFi+3G Japan (0x1F)
Device         Kindle PaperWhite WiFi+3G Brazil (0x20)
Device         Kindle PaperWhite 2 (2013) WiFi (0xD4)
Device         Kindle PaperWhite 2 (2013) WiFi Japan (0x5A)
Device         Kindle PaperWhite 2 (2013) WiFi+3G (0xD5)
Device         Kindle PaperWhite 2 (2013) WiFi+3G Canada (0xD6)
Device         Kindle PaperWhite 2 (2013) WiFi+3G Europe (0xD7)
Device         Kindle PaperWhite 2 (2013) WiFi+3G Russia (0xD8)
Device         Kindle PaperWhite 2 (2013) WiFi+3G Japan (0xF2)
Device         Kindle PaperWhite 2 (2013) WiFi (4GB) International (0x17)
Device         Kindle PaperWhite 2 (2013) WiFi+3G (4GB) Europe (0x60)
Device         Kindle PaperWhite 2 (2013) WiFi+3G (4GB) (0x62)
Device         Kindle PaperWhite 2 (2013) WiFi+3G (4GB) Canada (0x5F)
Device         Kindle PaperWhite 2 (2013) WiFi+3G (4GB) Brazil (0x61)
Device         Kindle Basic (2014) (0xC6)
Device         Kindle Basic (2014) Australia (0xDD)
Device         Kindle Voyage WiFi (0x13)
Device         Kindle Voyage WiFi+3G (0x54)
Device         Kindle Voyage WiFi+3G Europe (0x53)
Device         Kindle Voyage WiFi+3G Japan (0x2A)
Device         Kindle PaperWhite 3 (2015) WiFi (0G1 -> 0x201)
Device         Kindle PaperWhite 3 (2015) WiFi+3G Japan (0G7 -> 0x207)
Device         Kindle PaperWhite 3 (2015) WiFi+3G Canada (0G6 -> 0x206)
Device         Kindle PaperWhite 3 (2015) WiFi+3G (0G2 -> 0x202)
Device         Kindle PaperWhite 3 (2015) WiFi+3G Europe (0G5 -> 0x205)
Device         Kindle PaperWhite 3 (2015) WiFi+3G Mexico (0G4 -> 0x204)
Device         White Kindle PaperWhite 3 (2016) WiFi (0KB -> 0x26B)
Device         White Kindle PaperWhite 3 (Unknown Variant 0KC) (0KC -> 0x26C)
Device         Kindle Oasis WiFi (0GC -> 0x20C)
Device         Kindle Oasis WiFi+3G (0GD -> 0x20D)
Device         Kindle Oasis WiFi+3G Europe (0GU -> 0x21C)
Device         Kindle Basic 2 (2016) (Unknown Variant 0K9) (0K9 -> 0x269)
Device         Kindle Basic 2 (2016) (Unknown Variant 0KA) (0KA -> 0x26A)
Critical       0
Padding Byte   0 (0x00)
MD5 Hash       f31f1a7428b59b8903ef3a4c7ab15c99
Metadata       0
x mimes.install.sql
x whispertouch.install.sql
x KPVBooklet.jar
x extensions/
x install.ffs
x extensions/kpvbooklet/
x extensions/kpvbooklet/bin/
x extensions/kpvbooklet/config.xml
x extensions/kpvbooklet/menu.json
x extensions/kpvbooklet/bin/booklet.sh
x mimes.install.sql.sig
x whispertouch.install.sql.sig
x KPVBooklet.jar.sig
x install.ffs.sig
x extensions/kpvbooklet/config.xml.sig
x extensions/kpvbooklet/menu.json.sig
x extensions/kpvbooklet/bin/booklet.sh.sig
x update-filelist.dat.sig
x update-filelist.dat

KUAL: ***** started v2.7 (20160721,g) on Mon Nov 20 16:00:19 GMT+3:0100 2017
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=0$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=0$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^epub=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^epub=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^epub=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdb=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdb=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdb=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^fb2=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^fb2=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^fb2=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^rtf=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^rtf=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^rtf=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^chm=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^chm=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^chm=2$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^pdf=0$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=" -g! "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=1$" -g || || : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"
KUAL: "/mnt/us/extensions/kpvbooklet": JSON "if": "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" -f "/mnt/us/extensions/kpvbooklet/bin/booklet.ini" "^txt=0$" -g && : not found: "/mnt/us/extensions/kpvbooklet/bin/booklet.ini"

My file booklet.ini has one line:

#cat /mnt/us/extensions/kpvbooklet/bin/booklet.ini
pdf=0

@cytown
Copy link
Contributor

cytown commented Nov 20, 2017

You should operate kpvbooklet extensions for few times and try open some book, then it will be created.

@dmyger
Copy link
Author

dmyger commented Nov 20, 2017

@cytown Yes, I had tried, but the file was not created.
BTW, second part of messages in KUAL.log with "not found" words were appeared exactly after had try open some file. Following attempts just add more such messages in the log.
v0.6.4 create such file, do you need it?

@cytown
Copy link
Contributor

cytown commented Nov 21, 2017

@dmyger I think the KUAL.log was fine, the not found logs were occurred when ini file was not created, which sure will be in the first running script time.

@dmyger
Copy link
Author

dmyger commented Nov 21, 2017

@cytown Ok, one more clarification: after installing, I had opened kpvbooklet menu and toggle item for PDF files. (Just don't remember was it one or twice). As I had said earlier, that file exists with one line: pdf=0. I did it special to create such file. And only after it I'd tried open a book's file.
I'm going to repeat test tomorrow to ensure, that all correct in my post above.

@mzelyony
Copy link

it took a couple of flips in the kpvbooklet's config on/off to activate it for me on .pdf

@dmyger
Copy link
Author

dmyger commented Nov 22, 2017

@cytown Retested again.

  1. Just after installing KUAL.log ended on first part of messages (see above my comment with the log).
  2. Then I tried open PDF file, got error popup:

Application Error
The selected application could not be started.
Please try again.

No any changes in the logs.
3. Then I had opened kpvbooklet's settings and toggled PDF option.
In the KUAL.log was appeared block of messages with not found text.
And file /mnt/us/extensions/kpvbooklet/bin/booklet.ini got one line pdf=0.
4. Again tried open PDF file, with the same error. No changes in the log.
5. Tried open .fb2.zip file. In the KUAL.log was appeared the second block with not found.
6. Tried open others files (pdf, fb2) - no new messages in the log and no any kpvbooklet.log created.

@chrox
Copy link
Member

chrox commented Nov 23, 2017

@dmyger If you have a root shell access to your Kindle, could you get the native system log with tail -f /var/log/messages when opening file with kpvbooklet?

@dmyger
Copy link
Author

dmyger commented Nov 23, 2017

@chrox I see there several different java exceptions.

  1. First file had been got on reboot just after installing kpvbooklet and two attempt to open files.
  2. Second file with manual rebooting and following tries to open two books.

@cytown
Copy link
Contributor

cytown commented Nov 26, 2017

@chrox seems it's jdk version issue, maybe need try compile them in different jdk and give it try.

@aerickson
Copy link
Contributor

Please try https://github.com/aerickson/kpvbooklet/releases/tag/v0.6.7.pre3 and let me know if it works.

@0cean
Copy link

0cean commented Dec 24, 2018

Please try https://github.com/aerickson/kpvbooklet/releases/tag/v0.6.7.pre3 and let me know if it works.
@aerickson It work on my kindle oasis.

@arooni
Copy link

arooni commented Jan 30, 2019

somewhat unrelated; is this a tool that will help list all epub files on my device then open them from my kindle browser (jailbroken kindle paperwhite 4 user here)

@aerickson
Copy link
Contributor

@dmyger Please try the release I posted above. I had the same issue and it fixed it for me.

@dmyger
Copy link
Author

dmyger commented Feb 16, 2019

v0.6.7.pre3 it seems as working, at least on PDF files. Installed successful, lets me switch default application and then opens a file in the desired viewer.

@videni
Copy link

videni commented Apr 4, 2019

@aerickson I tried, the v0.6.7.pre3 does not work on pw4 5.10.3 firmware

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants