04-09-2013, 12:26 AM | #691 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
okay. I found a weird bug...
When I click the thing 1st named thing in my kterm folder "KTERM RUNNER" it runs the wrong thing go.sh (the second action in the lists action) EDIT: (and now the third thing so I don't think its an index problem...) and when I click the "WAKE UP" it runs nothing... Investigating. All I can notice is they both have a priority of 1 (which is stupid I know) will dig. Code:
{ "items": [ {"name": "FOO RUNNER", "priority": 1, "action": "/mnt/us/extensions/kterm/bin/runit.sh"}, {"name": "KTERM RUNNER", "priority": 1, "action": "/mnt/us/extensions/kterm/bin/runit.sh"}, {"name": "WAKE UP", "priority": 2, "action": "/mnt/us/extensions/kterm/bin/go.sh"} ] } But adding FOO RUNNER still did not fix it... so can't be an index? weird. EDIT: Actually hunting around I may be seeing this in other extensions too... Trying to pin down what is happening. Last edited by twobob; 04-09-2013 at 12:45 AM. |
04-09-2013, 12:47 AM | #692 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Have to give in. Too tired to think. Will resume testing in the AM
|
Advert | |
|
04-09-2013, 02:46 AM | #693 |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
|
04-09-2013, 06:07 AM | #694 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay mate.
I'll do that now. You know what would be nice? I was thinking... In that Test menu thingy.. Attach it to a script that "Logs" (using the new log?) which selection NAME was selected and which selection ACTION was run. Or something. Or have an option to log that. "Last Actions" Hey 5 hours sleep. I'm not with it yet. Maybe we already do! Gonna do both of those things, And I already did take a picture inside a submenu on the lower devices now I think of it. But it was back when the world was round :P Spoiler:
But I'll do it again. With bells on. Since the latest build is much sexier Gets more coffee, off to organise that other thing you asked for |
04-09-2013, 06:28 AM | #695 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay. I found it.
Code:
{ "items": [ { "name": "Testy", "priority": 1, "items": [ {"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"}, {"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"}, {"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"} ] } ] } Code:
{ "items": [ {"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"}, {"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"}, {"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"} ] } It's related to the formatting of the menu.json... Reproducible in all instances. Last edited by twobob; 04-09-2013 at 12:06 PM. Reason: REMOVED TYPO!!!!!!!!!!!!!!!!!!!!!!!!11111111etc etc |
Advert | |
|
04-09-2013, 07:03 AM | #696 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Let me run those tests now...
Hmm.. Looks like there may be an issue where non - absolute things don't run as expected also. Sent you the first test results to show this in action. Looking for more examples. EDIT: Okay. It seems like that one "gtk mines" thing is the only one that exhibits that behaviour so far... I'll just repack the damn thing - and it is unique (AFAIK) in the way it called from A) Not inside a folder B) as a non full path, haven't found anything else like that yet... Last edited by twobob; 04-09-2013 at 07:44 AM. |
04-09-2013, 09:30 AM | #697 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
04-09-2013, 11:00 AM | #698 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Oops Typo.
Thanks Mate. No. I just "Made that one up" to show to two types and screwed up the edit. DOH. Silly me. But I will just double check now that that wasn't the issue EDIT: ah no it wasn't as evidenced in https://www.mobileread.com/forums/sho...&postcount=691 (that's from the machine as opposed to me "mocking it up") GOOD CATCH THOUGH! evidently is was "Too early in the morning" to "proof-read" my own posts. Smacks Hands! Last edited by twobob; 04-09-2013 at 11:31 AM. |
04-09-2013, 12:03 PM | #699 | |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Quote:
Code:
{ "items": [ {"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"}, {"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"}, {"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"}} ] } .../menu.json: expected <, or ]> but got <}> at input token 46 KUAL( 1 ) ▶ .Syntax .../menu.json <<< [more info in KUAL log] Save and reset KUAL log Sort Menu 123 × Quit Last edited by stepk; 04-09-2013 at 12:07 PM. |
|
04-09-2013, 12:03 PM | #700 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
The vast majority of the extensions appear to be in the LONGER NESTED format.
For the record. Have to check the changelogs to see that the next version will support both formats. I kind of recall that it didn't, Might be an awful lot of retro-fitting to be done if that is the case.. They are both supported : ) Also only the NESTED format style is the only type that creates the collapsible menus. The other type does not create the ▶ EDIT: which makes perfect sense all outline below... Duh TBC Last edited by twobob; 04-09-2013 at 08:12 PM. |
04-09-2013, 12:05 PM | #701 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
GAH!!! Like I said above that was a TYPO from this morning... ROFL! I was just making an example of the long and short formats for visual comparison... Right that's it I'm going back to edit it. EDIT: DONE!!!!!!!!!!!!!!!111111111 lol The PROPER file is at the top of this page Note To Self: FIX TYPOS WHEN SOMEONE MENTIONS THEM!!!!!!!!!!111111111 etc whether you are busy testing or not! lol Last edited by twobob; 04-09-2013 at 12:11 PM. |
|
04-09-2013, 12:31 PM | #702 | |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Quote:
Calling them "long" vs. "short" formats is confusing. They really are different formats. The first format means to create a sub-menu. The second format means to add three top-level items. That's why it doesn't add the ▶ The spoiler includes my explanation of the "proper" menu structure, you might have read it before in README-dev.txt (I don't think I have pushed it to bitbucket yet, but it's reproduced in the KUAL test build thread on knetconnect). Spoiler:
EDIT: good catch BTW! |
|
04-09-2013, 12:38 PM | #703 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yay me!
Thanks man. Yeah, Perhaps "FLAT" and "NESTED" then for the naming would be more apt. I will refrain from "making" "example" files in the future without ample coffee and lots of proofreading, hell I might even test them Oh and thanks to KNC1 for catching my crappy example too |
04-09-2013, 10:01 PM | #704 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Doing some due diligence on the 0.5 branch I figured I would post here as pictures may help.
Here are the screenies of the KUAL config string errors reports thing. # Stop following links when looking for json files KUAL_nofollow="true" KUAL_nofollow="false" ^-- Wasn't 100% sure how to test this. I am assuming recursive folders could/not contain config files. Will revisit. # Hide the status line and re-routes status messages to the trail line #KUAL_no_show_status="true" Really liked this option and it appears to operate as expected : ) KUAL_show_KUAL_buttons="1 2" KUAL_show_KUAL_buttons="2 1" ^-- Working to hide kual buttons. Nice. Order of incidence does not matter. Nor affects button order. Hides Nicely (picture 1) However, as shown in picture 1 any value whatsoever (other than commented out no-value default) causes the new logging button to not appear. Unsure if that is by design. "No value" shows all function options. (picture 2) Further testing revealed that the Sort Menu 123 was not actually causing the sorting to change. Rather than replacing the #KUAL_options="-s=ABC" with #KUAL_options="-s=123" the values were in fact concatenating at the end thusly #KUAL_options="-s=ABC -s=123 -s=123 -s=123" # Entries per page - default 10 (KT/PW), 5 (other kindles) #KUAL_page_size="10" KUAL_page_size="8" KUAL_page_size="15" This appeared to work nicely initially: The counts were indicated in the relevant readout area and buttons counts matched requests. (pictures 3, 4, 5) 10, 15 and 8 button counts respectively. However... And I am still not 100% on why. The KUAL buttons "Replace Store Button" and "Sort Menu Button" now both error with the errors shown (pictures 6, 7, 8) as you can see I attempted to remove the custom button count and it no longer appears linked to the custom button value but this could be what caused it (I did this directly before noting the now borked buttons) Note that I was testing SORT MENU above without the "string" error. (The concat error was exhibiting at that time in it's stead) I also tried several variation of: #KUAL_options="-s=ABC" KUAL_options="-s=ABC" KUAL_options="-s=123" which had no effect on the error. I then totally deleted the KUAL.cfg file and tried the SORT 123 option again. which worked properly and produced Quote:
(picture 9) Thus I conclude the error lies somewhere in the cfg parser itself. This also fixed the STORE TOGGLE button. the report was a little "Low" on the readout (picture 10) Hope this helps. I did have a dig around in.. https://bitbucket.org/ixtab/kindlela...e.sh?at=master To see if I could spot anything obvious. After 3 hours of staring at it I realised I would need another 50 or so hours of staring at it and started this post EDIT: I attached the "not worky show errors" KUAL.cfg but damned if I can see what is wrong with it. Last edited by twobob; 04-10-2013 at 09:18 AM. |
|
04-09-2013, 10:45 PM | #705 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Original versus dead.
[root@kindle extensions]# diff KUAL.cfg KUAL.cfg.dead Quote:
EDIT: I mangled around for a while trying to break it by hand... I am guessing something invisible must be being shoved in there...? Unsure. Last edited by twobob; 04-09-2013 at 11:40 PM. |
|
Tags |
kindle touch, kindle touch hacks, kindlet, kual, launcher, launcher add-ons, paperwhite, sqlite, unified |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Launcher icon for KUAL? | Aeris | Kindle Developer's Corner | 32 | 04-01-2021 07:57 PM |
kite: kindle 3 application launcher | fbdev | Kindle Developer's Corner | 86 | 10-18-2017 10:19 AM |
[KUAL]Kindle reflective screen loader | icantbebothered | Kindle Developer's Corner | 26 | 10-27-2013 09:08 AM |
Kual shortcut for hidden image viewer (Kindle Touch & PW) | Aeris | Kindle Developer's Corner | 0 | 10-12-2013 05:09 AM |
application launcher for kindle 3 (kite) | fbdev | Kindle Developer's Corner | 21 | 05-04-2012 06:02 PM |