Re: Frozen Pilbox

2023-11-09 Thread Alexander Burger
On Thu, Nov 09, 2023 at 08:08:22AM +0100, Alexander Burger wrote: > Now I understand the problem! > > "App.l" has three garbage bytes in the beginning; I tried on another device. It is all not such a big problem :) Though PilBox cannot initialize with that faulty file, you can just fix it, and

Re: Frozen PilBox

2023-11-08 Thread Alexander Burger
On Thu, Nov 09, 2023 at 02:37:12AM +, Shaughan Lavine wrote: > The cache needs to cleared for a new style to take effect. Is that a bug? No. PilBox (and PicoLisp in general) caches CSS files for 24 hours. See line 34 in @lib/http.l (`(chop "css") "text/css" 86400) ☺/ A!ex --

Re: Frozen Pilbox

2023-11-08 Thread Alexander Burger
Hi Shaughan, > Yeah, I'm pretty curious too. The zip opens fine in at least one other App. > I've attached it. Maybe you will see something. Now I understand the problem! "App.l" has three garbage bytes in the beginning; ~/tmp ~/pil21/pil + : (hd "test/App.l") EF BB BF 22 54 65 73

Frozen PilBox

2023-11-08 Thread Shaughan Lavine
The cache needs to cleared for a new style to take effect. Is that a bug? –Shaughan openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If I replace all the old parts in my PC with new ones, will it turn into a Greek ship?

Frozen PilBox

2023-11-08 Thread Shaughan Lavine
Oops! I meant to say that it only appears in (global) lib.css. –Shaughan openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If I replace all the old parts in my PC with new ones, will it turn into a Greek ship?

Frozen PilBox

2023-11-08 Thread Shaughan Lavine
A!ex– Some other weirdness: I change test/App.l to -- "Test" (menu "Test!" ( "h1Style" "Test!") ) -- and add App.l -- h1Style { color: green; } and, guess what? Green, as expected. But I edit lib.css to -- h1Style { color: red; } -- the

Re: Frozen Pilbox

2023-11-08 Thread Shaughan Lavine
Yeah, I'm pretty curious too. The zip opens fine in at least one other App. I've attached it. Maybe you will see something. I used termux-share to load hello.zip and then edited that into the test app. The result works fine. –Shaughan openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If

Re: Frozen Pilbox

2023-11-08 Thread Alexander Burger
On Wed, Nov 08, 2023 at 07:06:59PM +, Shaughan Lavine wrote: > "termux-share test.zip" once again froze everything. "termux-share hello.zip" > worked fine. I'm stumped by that, but I'm going back to what I was doing > before—with better backups. I'd really like to know the reason. Is the ZIP

Re: Frozen Pilbox

2023-11-08 Thread Alexander Burger
Hi Shaughan, > The update did nothing, so I uninstalled then reinstalled, and, lo and behold, > my main app was still there, with only two days worth of data missing. Great! I remember the opposite case. We could not get rid of old data, even over a re-install, unless we went to "Memory and

Limited Email Access Re: Frozen Pilbox

2023-11-08 Thread Howard Porter
I have very limited email access.  If you need to reach me, please call.Thanks.H.

Re: Frozen Pilbox

2023-11-08 Thread Shaughan Lavine
A!ex– "termux-share test.zip" once again froze everything. "termux-share hello.zip" worked fine. I'm stumped by that, but I'm going back to what I was doing before—with better backups. –Shaughan openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If I replace all the old parts in my PC with

Re: Frozen Pilbox

2023-11-08 Thread Shaughan Lavine
The update did nothing, so I uninstalled then reinstalled, and, lo and behold, my main app was still there, with only two days worth of data missing. The hello app, which was installed, and the test app I was installing are nowhere to be seen. I don't understand how this is possible—I thought

Re: Frozen Pilbox

2023-11-07 Thread Alexander Burger
On Tue, Nov 07, 2023 at 10:07:12PM +, Shaughan Lavine wrote: > I'll most certainly wait till tomorrow and see if updating does the job. Now I released PilBox 23.11.8 to PlayStore. It may take some time to propagate, but you can also download it as ever from

Re: Frozen Pilbox

2023-11-07 Thread Alexander Burger
Hi Shaughan, > A!ex– > I'll most certainly wait till tomorrow and see if updating does the job. I > would have tried that earlier, but I don't know how to force a reinstall. When PilBox starts up, it checks the file "Version". If this file does not exist or has a different value, all Lisp files

Re: Frozen Pilbox

2023-11-07 Thread Shaughan Lavine
A!ex– I'll most certainly wait till tomorrow and see if updating does the job. I would have tried that earlier, but I don't know how to force a reinstall. I frequently copy everything into the PilBox /storage/emulated/0/… directory. I can see files in there with Total Commander, and I have full

Re: Frozen Pilbox

2023-11-07 Thread Alexander Burger
Hi Shaughan, > Ah well, unless you have any further suggestions, lesson learned. I'll only > lose 12 days of data, and I'll fix permissions so it won't happen again. > For want of a permission, the data was lost, and all for the wane of a chmod > 660 I don't quite understand. What permissions

Re: Frozen Pilbox

2023-11-07 Thread Shaughan Lavine
No joy: pty never connects, termux-share times out with a "PilBox is not responding" toast, and adb doesn't give access to system files. Your detailed instructions for replacing App.l, for all that it didn't work, were very helpful. I would have had to find the url, then unpacked everything to

Re: Frozen Pilbox

2023-11-07 Thread Alexander Burger
On Tue, Nov 07, 2023 at 07:33:29AM +, Shaughan Lavine wrote: > Would it have been ok to just create the test directory (!mkdir test), copy > App.l into it, and add PIL-test? I would find that simpler than the zip then > share dance. Yes. You don't even need PIL-test. The PIL-* files are only

Re: Frozen Pilbox

2023-11-06 Thread Alexander Burger
On Tue, Nov 07, 2023 at 07:15:07AM +, Shaughan Lavine wrote: > ~ $ unzip -l storage/shared/Download/test.zip > Archive: storage/shared/Download/test.zip > Length Date Time Name > - -- - > 0 2023-11-06 16:27 test/ > 56 2023-11-06 16:28 test/App.l > ... > -- >

Re: Frozen Pilbox

2023-11-06 Thread Shaughan Lavine
Thanks! I'll try that in the morning. A related question: Would it have been ok to just create the test directory (!mkdir test), copy App.l into it, and add PIL-test? I would find that simpler than the zip then share dance. –Shaughan openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If I

Re: Frozen Pilbox

2023-11-06 Thread Shaughan Lavine
A!ex– Thanks, as always, for your rapid reply. ~ $ unzip -l storage/shared/Download/test.zip Archive: storage/shared/Download/test.zip Length Date Time Name - -- - 0 2023-11-06 16:27 test/ 56 2023-11-06 16:28 test/App.l - --- 56 2 files -- App.l

Re: Frozen Pilbox

2023-11-06 Thread Alexander Burger
On Tue, Nov 07, 2023 at 07:28:27AM +0100, Alexander Burger wrote: > The easiest fix is connecting via 'bin/pty' to a REPL and doing "rm -r test/". This was not completely correct. Of course it is : (call "rm" "-r" "test/") Just in case you have not enabled PTY yet: As you cannot use the

Re: Frozen Pilbox

2023-11-06 Thread Alexander Burger
Hi Shaughan, > I created a copy of the Hello World example, changed "Hello World" to "Test" > everywhere placed in a folder named "test", zipped it, then used Termux to > share > it with Pilbox. This sounds all correct. > > Pilbox now displays as a completely black screen with the logo in the

Frozen Pilbox

2023-11-06 Thread Shaughan Lavine
Help! I created a copy of the Hello World example, changed "Hello World" to "Test" everywhere placed in a folder named "test", zipped it, then used Termux to share it with Pilbox. Pilbox now displays as a completely black screen with the logo in the middle, and does nothing. I cleared the