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 cache, force stopped 
the app, ano rebooted. No change. I have lots of data in another app within 
Pilbox, so I can't just reinstall. Any suggestions? I can provide further 
details of other things I had done before, but I don't know whether it would be 
relevant. Android 13.



–Shaughan

openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c

If I replace all the old parts in my PC with new ones, will it turn into a 
Greek ship?

https://www.reddit.com/r/shittyaskscience/comments/4wni7d/if_i_replace_all_the_old_parts_in_my_pc_with_new/?ref=search_posts


…if you're just gonna end up in Arizona, then being dead isn't that much of a 
downgrade.

"Darlene, Mr. Robot, eps2.1k3rnel-pan1c.ksd, season 2, episode 3.


"I do not pretend here to develop a theory which is _universally_ valid, but it 
may at least have some galactic relevance."

Paul Krugman, "The theory of interstellar trade," 1978, p. 2. 
http://fermatslibrary.com/s/the-theory-of-interstellar-trade


If war was arithmetic, mathematicians would rule the world.

Littlefinger, _Game of Thrones, Season 2, Episode 4


Not everybody benefits from a misspent youth.

Thomas Pynchon, _Bleeding Edge: A Novel_ (Penguin, New York, 2013) Chapter 28.


Sent from ProtonMail, encrypted email based in Switzerland.

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


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 
> > middle,
> and does nothing. I cleared the cache, force stopped the app, ano rebooted. No
> change. I have lots of data in another app within Pilbox, so I can't just
> reinstall. Any suggestions? I can provide further details of other things I 
> had
> done before, but I don't know whether it would be relevant. Android 13.

What might be wrong with the ZIP?

Does it contain just one single file named "App.l"? If so, nothing else in
PilBox should be overwritten, and the problem can be only in the first line of
that file, because nothing else is read at PilBox startup.

Can you post the output of "unzip -l test.zip" and the content of "App.l"?
Attaching the whole ZIP to a mail here is probably not a good idea due to spam
filtering.

The easiest fix is connecting via 'bin/pty' to a REPL and doing "rm -r test/".

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


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 built-in REPL
of PilBox now, you can upload the necessary ".pty" file also via zip.

E.g. on Termux:

   $ cd
   $ vi .pty
   $ zip -r x.zip .pty
   $ termux-share x.zip
   $ pil21/bin/pty

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


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
--
"Test"

(menu "Test"
( "center fh" "Test!") )
--
I can't use bin/pty, since pilbox isn't starting properly. I tried, but it just 
times out. I'm going to see what I can do with adb in the morning.

Best,
Shaughan

openpgp4fpr:c04203ea8983566aed3848a33e06c22a1841ba3c If I replace all the old 
parts in my PC with new ones, will it turn into a Greek ship? 
https://www.reddit.com/r/shittyaskscience/comments/4wni7d/if_i_replace_all_the_old_parts_in_my_pc_with_new/?ref=search_posts
 …if you're just gonna end up in Arizona, then being dead isn't that much of a 
downgrade. "Darlene, Mr. Robot, eps2.1k3rnel-pan1c.ksd, season 2, episode 3. "I 
do not pretend here to develop a theory which is _universally_ valid, but it 
may at least have some galactic relevance." Paul Krugman, "The theory of 
interstellar trade," 1978, p. 2. 
http://fermatslibrary.com/s/the-theory-of-interstellar-trade If war was 
arithmetic, mathematicians would rule the world. Littlefinger, _Game of 
Thrones, Season 2, Episode 4 Not everybody benefits from a misspent youth. 
Thomas Pynchon, _Bleeding Edge: A Novel_ (Penguin, New York, 2013) Chapter 28. 
Sent from ProtonMail, encrypted email based in Switzerland.

Sent from Proton Mail mobile

 Original Message 
On Nov 6, 2023, 10:28 PM, Alexander Burger wrote:

> 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 middle, 
> > and does nothing. I cleared the cache, force stopped the app, ano rebooted. 
> No > change. I have lots of data in another app within Pilbox, so I can't 
> just > reinstall. Any suggestions? I can provide further details of other 
> things I had > done before, but I don't know whether it would be relevant. 
> Android 13. What might be wrong with the ZIP? Does it contain just one single 
> file named "App.l"? If so, nothing else in PilBox should be overwritten, and 
> the problem can be only in the first line of that file, because nothing else 
> is read at PilBox startup. Can you post the output of "unzip -l test.zip" and 
> the content of "App.l"? Attaching the whole ZIP to a mail here is probably 
> not a good idea due to spam filtering. The easiest fix is connecting via 
> 'bin/pty' to a REPL and doing "rm -r test/". ☺/ A!ex -- UNSUBSCRIBE: 
> mailto:picolisp@software-lab.de?subject=Unsubscribe

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 replace all 
the old parts in my PC with new ones, will it turn into a Greek ship? 
https://www.reddit.com/r/shittyaskscience/comments/4wni7d/if_i_replace_all_the_old_parts_in_my_pc_with_new/?ref=search_posts
 …if you're just gonna end up in Arizona, then being dead isn't that much of a 
downgrade. "Darlene, Mr. Robot, eps2.1k3rnel-pan1c.ksd, season 2, episode 3. "I 
do not pretend here to develop a theory which is _universally_ valid, but it 
may at least have some galactic relevance." Paul Krugman, "The theory of 
interstellar trade," 1978, p. 2. 
http://fermatslibrary.com/s/the-theory-of-interstellar-trade If war was 
arithmetic, mathematicians would rule the world. Littlefinger, _Game of 
Thrones, Season 2, Episode 4 Not everybody benefits from a misspent youth. 
Thomas Pynchon, _Bleeding Edge: A Novel_ (Penguin, New York, 2013) Chapter 28. 
Sent from ProtonMail, encrypted email based in Switzerland.

Sent from Proton Mail mobile

 Original Message 
On Nov 6, 2023, 10:51 PM, Alexander Burger wrote:

> 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 built-in 
> REPL of PilBox now, you can upload the necessary ".pty" file also via zip. 
> E.g. on Termux: $ cd $ vi .pty $ zip -r x.zip .pty $ termux-share x.zip $ 
> pil21/bin/pty ☺/ A!ex -- UNSUBSCRIBE: 
> mailto:picolisp@software-lab.de?subject=Unsubscribe

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
> ...
> --
> "Test"
> 
> (menu "Test"
> ( "center fh" "Test!") )
> --

This looks all perfectly correct.


> I can't use bin/pty, since pilbox isn't starting properly. I tried, but it 
> just times out.

Then perhaps somehow the file "App.l" in the PilBox home directory (i.e. the
PilBox app itself) got overwritten?

You could try to restore "App.l", by extracting it from the sources.

You probably know, but for the records:

   $ curl -O https://software-lab.de/PilBox.tgz
   $ tar xfz PilBox.tgz PilBox/assets/run/App.l
   $ cd PilBox/assets/run/
   $ zip -r a.zip App.l
   $ termux-share a.zip

Let's hope ;)

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe