Re: Pilbox, view html

2023-11-05 Thread Shaughan Lavine
A!ex– Thanks! That's perfect. Convenience isn't really an issue, since I only want it for occasional debugging. –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/shitty

Re: Pilbox, view html

2023-11-05 Thread Alexander Burger
Hi Shaughan, > Is there a way to view the generated html within pilbox? Yes, though a bit tricky, as this is not built-in. Get a PTY (pseudo TTY) to the REPL in your PilBox, as described in: https://picolisp-explored.com/mobile-app-development-in-picolisp-v-getting-a-remote-shell-to-your-p

Re: PilBox & Java object lifecycle

2023-08-26 Thread Alexander Burger
On Sat, Aug 26, 2023 at 11:56:42AM -0400, Todd Coram wrote: > Of course, tracking every object instantiation that gets stuffed into the > HashArray isn't trivial, The opposite (i.e. which objects are still referenced from Lisp) is easy though: (filter '((Obj) (== 32769 (car (id Obj T

Re: PilBox & Java object lifecycle

2023-08-26 Thread Todd Coram
On Fri, Aug 25, 2023, at 3:52 AM, Alexander Burger wrote: > and did some test. Works fine, and gives - as expected - a null pointer > exception if the object is accessed from Lisp again. Great! I've got same results here. Of course, tracking every object instantiation that gets stuffed into the

Re: PilBox & Java object lifecycle

2023-08-25 Thread Alexander Burger
Hi Todd, > Perhaps something like: > (java NIL 'obj) for removing it from the hashtable? The "complex management" > of this could then be handled in pure Picolisp... Very good idea! This fits nicely into the 'java' syntax, and has no harmful effects if used wisely ;) > Would it be as simple as

Re: PilBox & Java object lifecycle

2023-08-24 Thread Todd Coram
Hi Alex, Fantastic language (Picolisp) and very, very useful port to Android. On Thu, Aug 24, 2023, at 2:15 PM, Alexander Burger wrote: > Is this is really the cause of the problem? Most java calls do not make a new > object each time, and stored in the hash map are not all involved objects, but

Re: PilBox & Java object lifecycle

2023-08-24 Thread Alexander Burger
Hi Todd, > I have a long running PilBox Android app that tends to just "crash" (with a > "Webpage not Available... net:ERR_CONNECTION_REFUSED") after running for a few > hours. At this point, the REPL is unresponsive at this point and nothing is in > the PilBox log file. I need PilBox open all da

Re: PilBox & Java object lifecycle

2023-08-24 Thread Todd Coram
I should be a little clearer: I "instantiate" dozens Java object every 5 seconds and wonder how Pilbox affects their life-cycle /todd On Thu, Aug 24, 2023, at 12:42 PM, Todd Coram wrote: > Hi, > I have a long running PilBox Android app that tends to just "crash" > (with a "Webpage not Avail

Re: PilBox copy-paste

2021-04-12 Thread Alexander Burger
Hi Shaughan, > I have finally realized that I can get data out of the PilBox app by cat-ing > to > the REPL, then using copy and paste. How can I write to the copy buffer > programmatically? (de setClip (Str) (java (java CONTEXT 'getSystemService "clipboard") # ClipboardManage

Re: pilbox file sharing

2021-01-21 Thread Shaughan Lavine
Nope. 👿 Thanks fo trying! Sent from ProtonMail mobile Original Message On Jan 21, 2021, 12:15 AM, Alexander Burger wrote: > On Wed, Jan 20, 2021 at 07:28:18AM +0100, Alexander Burger wrote: >> Strange. So for a first fix, I will set the requestLegacyExternalStorage >> flag in

Re: pilbox file sharing

2021-01-21 Thread Alexander Burger
On Wed, Jan 20, 2021 at 07:28:18AM +0100, Alexander Burger wrote: > Strange. So for a first fix, I will set the requestLegacyExternalStorage flag > in > AndroidManifest.xml, as suggested by Wilhelm, and releaes a new PilBox. Done. PilBox 20210121 is now in Play Store. Can you check if this solve

Re: pilbox file sharing

2021-01-19 Thread Alexander Burger
Hi Shaughan, > Yes, I set the storage permission. This is odd, since it works for you. Termux > still works for me, but not pilbox. I'm using a Samsung Galaxy Tab S5e. > Samsung > always locks everything down—maybe that's it. Strange. So for a first fix, I will set the requestLegacyExternalStora

Re: pilbox file sharing

2021-01-19 Thread Shaughan Lavine
Yes, I set the storage permission. This is odd, since it works for you. Termux still works for me, but not pilbox. I'm using a Samsung Galaxy Tab S5e. Samsung always locks everything down—maybe that's it. Sent from ProtonMail mobile Original Message On Jan 18, 2021, 11:21 PM,

Re: pilbox file sharing

2021-01-19 Thread Wilhelm Fitzpatrick
On 1/18/21 11:21 PM, Alexander Burger wrote: I have not looked at the Scoped Storage API yet. Is it really a problem? The PilBox core runtime does not depend on external storage, so the API should be accessible from Lisp (with perhaps a slight modification of AndroidManifest.xml), no? ☺/ A!ex

Re: pilbox file sharing

2021-01-18 Thread Alexander Burger
Hi Shaughan, Wilhelm, Hi On Tue, Jan 19, 2021 at 03:49:45AM +, Shaughan Lavine wrote: > Yes: Android 10 vs 9. So, how do I get files out of pilbox on Android 10? Hmm, I do have Android 10 here, and I can access files on external storage with PilBox Version 20201231 without problems. (Perhaps

Re: pilbox file sharing

2021-01-18 Thread Wilhelm Fitzpatrick
If you are building your own pilboxes, it seems like the easiest way for now would be to add the requestLegacyExternalStorage flag to the app manifest, or bump the target API version down to 28: https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage If you are usi

Re: pilbox file sharing

2021-01-18 Thread Shaughan Lavine
Wilhelm– Yes: Android 10 vs 9. So, how do I get files out of pilbox on Android 10? Thanks! Shaughan Sent from ProtonMail mobile Original Message On Jan 18, 2021, 7:32 PM, Wilhelm Fitzpatrick wrote: > Is the one having issues a newer version of Android perhaps (Android 10 > or 11

Re: pilbox file sharing

2021-01-18 Thread Wilhelm Fitzpatrick
Is the one having issues a newer version of Android perhaps (Android 10 or 11?) Android has been locking thing down to require use of the Storage Access Framework in the most recent version of the OS, I believe. -wilhelm On 1/18/21 12:47 PM, Shaughan Lavine wrote: I have two Android devices

Re: pilbox

2020-12-09 Thread Alexander Burger
Hi Shaughan, > Doh! Ths was it. I've had pneumonia, hence the long interval. I'm fine now. Oh! Good that you are well again! :) ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: pilbox

2020-12-09 Thread Shaughan Lavine
Alex– Doh! Ths was it. I've had pneumonia, hence the long interval. I'm fine now. Thanks, Shaughan Sent from ProtonMail mobile Original Message On Nov 23, 2020, 10:54 PM, Alexander Burger wrote: > Hi Shaughan, > >> When I install the latest version of Pilbox from the Play Store

Re: pilbox

2020-11-23 Thread Alexander Burger
Hi Shaughan, > When I install the latest version of Pilbox from the Play Store and run Demo > —> Life, I get > > (grid 32 32} > Undefined I think this is due to a mismatch between PilBox and the Demo App. PilBox is now running pil21, and Demo uses the 'simul' library from "@lib/simul.l". That

Re: PilBox problem

2020-10-26 Thread Alexander Burger
Hi Olaf, > (does db stuff already work?) Yes, should all work :) We spent the last week with the stress tests $ ./pil misc/stress.l -main -go -bye ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PilBox problem

2020-10-26 Thread O.Hamann
pilBox REPL: (version) -> 21.0.0 nice :-) (does db stuff already work?) I always forget how to run the picolisp testsuite ... On 24.10.20 18:06, Alexander Burger wrote: > On Fri, Oct 23, 2020 at 04:53:24PM +0200, Alexander Burger wrote: >> Seems I should release PilBox/21 asap ... > Done! :

Re: PilBox problem

2020-10-24 Thread Alexander Burger
On Fri, Oct 23, 2020 at 04:53:24PM +0200, Alexander Burger wrote: > Seems I should release PilBox/21 asap ... Done! :) PilBox is now at PlayStore, with pil21 as core engine. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PilBox problem

2020-10-23 Thread Shaughan Lavine
Same phenomenon—it just stopped running after working fine since August. There was a Java exception that it couldn't find some PilBox file. I didn't note the details, just reinstalled PilBox. On my device (Samsung S5E tablet), that fixed it—PilBox now runs fine. Unfortunately, the reinstall—or p

Re: PilBox problem

2020-10-23 Thread Alexander Burger
On Thu, Oct 22, 2020 at 09:09:31PM +, Shaughan Lavine wrote: > PilBox stopped running, so I reinstalled it. Fatal! I got reports from other users too that PilBox doesn't start any more. Here it works, but when I tried my wife's phone, it refused to start. This is strange, because it worked be

Re: PilBox problem

2020-10-22 Thread Alexander Burger
Hi Shaughan, > PilBox stopped running, so I reinstalled it. It works, but my apps are gone. > Shouldn't a reinstall leave user files alone? An update leaves all as it is. But if the app is de-installed, the local data (and thus also PilApps) are gone too. Android removes everything, including the

Re: PilBox files

2020-07-28 Thread Alexander Burger
Hi Shaughan, > That all works fine, _but_ first it is necessary to go to > Settings->Apps->PilBox->Permissions and grant the Storage permission. That's right. This is the list of instructioons which I give to my customers: Install "PilBox" from Google Play Store Don't start it yet!

Re: PilBox files

2020-07-28 Thread Shaughan Lavine
Alex– That all works fine, _but_ first it is necessary to go to Settings->Apps->PilBox->Permissions and grant the Storage permission. Shaughan Sent from ProtonMail mobile Original Message On Jul 27, 2020, 11:43 PM, Alexander Burger wrote: > Hi Shaughan, > >> 'Sorry—I should ha

Re: PilBox files

2020-07-27 Thread Alexander Burger
Hi Shaughan, > 'Sorry—I should have been more explicit: I meant in storage. That is, there > is no > /storage/emulated/0/Android/data/de.software_lab.pilbox/files > and no > /storage//Android/data/de.software_lab.pilbox/files. > Is there a way to store large files on an external sd card? I see.

Re: PilBox files

2020-07-27 Thread Shaughan Lavine
Alex– 'Sorry—I should have been more explicit: I meant in storage. That is, there is no /storage/emulated/0/Android/data/de.software_lab.pilbox/files and no /storage//Android/data/de.software_lab.pilbox/files. Is there a way to store large files on an external sd card? It is possible to access /

Re: pilbox help

2020-07-19 Thread Shaughan Lavine
Thanks! I hadn't realized that (menu …) was required. Sent from ProtonMail mobile Original Message On Jul 18, 2020, 11:27 PM, Alexander Burger wrote: > Hi Shaughan, > >> I'm stumped about how to get an app into PilBox: >> >> I make a directory myapp containing, among other thin

Re: pilbox help

2020-07-18 Thread Alexander Burger
Hi Shaughan, > I'm stumped about how to get an app into PilBox: > > I make a directory myapp containing, among other things, a file named App.l. I > zip the directory. This is good, but make sure that the file contains a name and a call to 'menu' at minimum, because otherwise nothing will be visi

Re: PilBox build without Gradle and Android Studio

2019-03-22 Thread Alexander Burger
On Fri, Mar 22, 2019 at 05:46:18PM +0100, Alexander Burger wrote: > FYI: With Sundar's help I could finally fix all issues with PilBox on Android > 9 > and Target SDK 28. There were still some troubles with foreground services, > but > now I believe that PilBox 19.3.22 is usable. Should show up i

Re: PilBox build without Gradle and Android Studio

2019-03-22 Thread Alexander Burger
> Hi Sundar, hi all, On Tue, Mar 19, 2019 at 02:20:40PM +0100, Alexander Burger wrote: > > Yes, I have Android 9 and it worked fine until today's update. > > I understand now. And I also understand why it worked before. > > The reason was not the new build procedure, but the increase of the Targ

Re: PilBox build without Gradle and Android Studio

2019-03-22 Thread O.Hamann
On 19.03.2019 14:27, Alexander Burger wrote: You mean the settings page in PilBox? This is indeed the easiest way, just type a name like "radio" or "browser" and hit the Download button. Really nice! -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 09:25:43AM -0700, C K Kashyap wrote: > On my Android phone I cant seem to share to PilBox ... It gives me all > kinds of apps such as WhatApp, email etc ...not PilBox. I observed that on some Samsung phones too. But always one of the methods (click or share) used to work.

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread C K Kashyap
Thanks Alex, On my Android phone I cant seem to share to PilBox ... It gives me all kinds of apps such as WhatApp, email etc ...not PilBox. Could you please confirm if https://play.google.com/store/apps/details?id=com.termux is the right termux? Regards, Kashyap On Tue, Mar 19, 2019 at 9:17 AM A

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
Hi Kashyap, On Tue, Mar 19, 2019 at 02:27:26PM +0100, Alexander Burger wrote: > > > Quick question about getting apps into Android - I see an option to > > download in the settings page. Can that download over http? That would be > > really convenient if it does. > > You mean the settings page

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 03:37:27PM +0100, Alexander Burger wrote: > You can do that. Just go to the REPL (by clicking on the top-left icon) and > enter into the bottom text field > >(setq *Repo "http://myserver";) Wait, it must be just "myserver", typically "myserver.com". ☺/ A!ex -- UNS

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 06:43:11AM -0700, C K Kashyap wrote: > > a name like "radio" or "browser" and hit the Download button. > > Yes, the settings page in PilBox - Cool, I was able to download the apps - > I tried the browser and calc. However, it looks like I may not be able to > use it to down

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread C K Kashyap
> > You mean the settings page in PilBox? This is indeed the easiest way, just > type > a name like "radio" or "browser" and hit the Download button. > Yes, the settings page in PilBox - Cool, I was able to download the apps - I tried the browser and calc. However, it looks like I may not be able

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
Hi Kashyap, > Quick question about getting apps into Android - I see an option to > download in the settings page. Can that download over http? That would be > really convenient if it does. You mean the settings page in PilBox? This is indeed the easiest way, just type a name like "radio" or "br

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
Hi Sundar, > Yes, I have Android 9 and it worked fine until today's update. I understand now. And I also understand why it worked before. The reason was not the new build procedure, but the increase of the Target SDK to 28. This will be mandatory later this year, so I did it already now. Howeve

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread C K Kashyap
Quick question about getting apps into Android - I see an option to download in the settings page. Can that download over http? That would be really convenient if it does. Combined with ngrok , I can easily expose a directory on my machine and get my application zip onto my And

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread sundar bp
> > No, it should have never worked! You have Android 9, right? > Yes, I have Android 9 and it worked fine until today's update. > > I found the reason. Android 9 gives this error if traffic is not going via > an > encrypted connection. This is a bit silly in case of PilBox, as it > communicates

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 12:46:28PM +0100, Alexander Burger wrote: > OK, that is the easiest and safest. And it worked before, and no longer works > now (even after you re-installed)? Very strange ... No, it should have never worked! You have Android 9, right? I found the reason. Android 9 gives t

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 05:05:33PM +0530, sundar bp wrote: > "did you install it from Google Play" > : Yes OK, that is the easiest and safest. And it worked before, and no longer works now (even after you re-installed)? Very strange ... ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?s

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread sundar bp
"did you install it from Google Play" : Yes

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
On Tue, Mar 19, 2019 at 04:04:14PM +0530, sundar bp wrote: > Tried reinstall too, but getting the same error. Screenshot attached. Ah, you are talking about the PilBox app itself, not about the SDK and the build procedure. Hmm, the app should work as before. Did you build that version yourself, o

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread Alexander Burger
Hi Sundar, > I get this error after the update, "ERR_CLEARTEXT_NOT_PERMITTED" > any work around? What kind of update did you do? The README describes a a separate installation, a possibly existing SDK is ignored. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PilBox build without Gradle and Android Studio

2019-03-19 Thread sundar bp
I get this error after the update, "ERR_CLEARTEXT_NOT_PERMITTED" any work around? On Tue, Mar 19, 2019 at 12:19 PM Alexander Burger wrote: > On Mon, Mar 18, 2019 at 08:16:33PM -0700, C K Kashyap wrote: > > Congratulations Alex!!! > > Not needing Android Studio can only mean good :) > > Indeed! I

Re: PilBox build without Gradle and Android Studio

2019-03-18 Thread Alexander Burger
On Mon, Mar 18, 2019 at 08:16:33PM -0700, C K Kashyap wrote: > Congratulations Alex!!! > Not needing Android Studio can only mean good :) Indeed! It is a Moloch which I can't understand, doing lots of things I can't control. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubs

Re: PilBox build without Gradle and Android Studio

2019-03-18 Thread C K Kashyap
Congratulations Alex!!! Not needing Android Studio can only mean good :) Regards, Kashyap On Mon, Mar 18, 2019 at 11:31 AM Alexander Burger wrote: > Hi all, > > finally I managed to build PilBox (and also PentiKeyboard for that matter) > without the bloated Android Studio, IDE and Gradle. O

Re: PilBox IOException "No such file"

2018-04-18 Thread David Bloom
Thanks for the reply Alex and I hope that the community solves this one. On Wed, Apr 18, 2018, 12:32 PM Alexander Burger wrote: > On Wed, Apr 18, 2018 at 03:54:56PM +, David Bloom wrote: > > I'm not certain that is relevant but I did run into issues with pil in > > termux that was corrected

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 03:54:56PM +, David Bloom wrote: > I'm not certain that is relevant but I did run into issues with pil in > termux that was corrected with the page below. There's a newer fix on the > page linked below but I've been using termux-fix-shebang successfully for > about a ye

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 05:31:42PM +0200, Arie van Wingerden wrote: > It might have to do with a change in Android 7: > > https://developer.android.com/about/versions/nougat/android-7.0-changes.html > read paragraph: >File system permission changes OK, but I have it running on 7 and 8 devices

Re: PilBox IOException "No such file"

2018-04-18 Thread David Bloom
I'm not certain that is relevant but I did run into issues with pil in termux that was corrected with the page below. There's a newer fix on the page linked below but I've been using termux-fix-shebang successfully for about a year now. I hope that this can help. https://wiki.termux.com/wiki/Ter

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
It might have to do with a change in Android 7: https://developer.android.com/about/versions/nougat/android-7.0-changes.html read paragraph: File system permission changes 2018-04-18 17:20 GMT+02:00 Alexander Burger : > On Wed, Apr 18, 2018 at 05:07:35PM +0200, Richard Z wrote: > > maybe the

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 05:11:43PM +0200, Arie van Wingerden wrote: > I really think the device should be debugged to find the problem. Yep, I will try to get one. > Last 2 things: > 1. could it have to do with moving the App to an SD Card? Thought so too, but the screenshot of the error shows

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 05:07:35PM +0200, Richard Z wrote: > maybe the binary has the name or link to the dynamic linker hardcoded and > it has a different name on this system? This could perhaps be. The glibc library. But from what I tested I think we would see a different error message. ♪♫ Ale

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
I really think the device should be debugged to find the problem. Last 2 things: 1. could it have to do with moving the App to an SD Card? 2. found this http://www.cnblogs.com/lidonghao/p/3700401.html which hints at a mix of 32 and 64 bit At the moment I have no further leads whatever. Would app

Re: PilBox IOException "No such file"

2018-04-18 Thread Richard Z
On Wed, Apr 18, 2018 at 04:04:43PM +0200, Alexander Burger wrote: > Yes. The Android way, by calling 'getFilesDir().getPath();'. This gives the > absolute path to the app's working directory, and then it is called with > a relative path "bin/picolisp" (plus the initial *.l files). maybe the binar

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 04:43:55PM +0200, Arie van Wingerden wrote: > I just checked that both CPU and GPU of that device are both 64 bit. > Is it possible they somehow use a 32 bit version op PILBOX? This is checked by PilBox at startup with System.getProperty("os.arch") > I searched in Google

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
Yes, indeed. Sigh :-( I just checked that both CPU and GPU of that device are both 64 bit. Is it possible they somehow use a 32 bit version op PILBOX? I searched in Google Play for an app which can show file permissions, but to no avail. If there is one, they could check if something is wrong the

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 04:19:16PM +0200, Arie van Wingerden wrote: > Maybe there is restricted access higher up in the path? But it is the app's home directory (in Android each app is its own user). And it works on all other devices. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subj

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
Maybe there is restricted access higher up in the path? 2018-04-18 16:09 GMT+02:00 Alexander Burger : > Hi Arie, > > > trying to help you out ... > > Good :) > > > > https://stackoverflow.com/questions/47726155/java-io- > ioexception-cannot-run-program-adb-exe-createprocess-error-5-access-is > >

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
Hi Arie, > trying to help you out ... Good :) > https://stackoverflow.com/questions/47726155/java-io-ioexception-cannot-run-program-adb-exe-createprocess-error-5-access-is > > Which concerns Windows, but similar error. > So, maybe might have to do with user rights on the PicoLisp executable th

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
Hi Richard, > > I have a customer with Samsung Xcover 4 devices, and they get an IOException > > 'Cannot run program "bin/picolisp" ... No such file'. > > did you try the absolute path? Yes. The Android way, by calling 'getFilesDir().getPath();'. This gives the absolute path to the app's workin

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
Hi Alex, trying to help you out ... Found this: https://stackoverflow.com/questions/47726155/java-io-ioexception-cannot-run-program-adb-exe-createprocess-error-5-access-is Which concerns Windows, but similar error. So, maybe might have to do with user rights on the PicoLisp executable then? /Ar

Re: PilBox IOException "No such file"

2018-04-18 Thread Richard Z
On Wed, Apr 18, 2018 at 02:30:35PM +0200, Alexander Burger wrote: > Hi all, > > Anyone here who tried PilBox: > > I have a customer with Samsung Xcover 4 devices, and they get an IOException > 'Cannot run program "bin/picolisp" ... No such file'. did you try the absolute path? Richard -- Nam

Re: PilBox IOException "No such file"

2018-04-18 Thread Alexander Burger
On Wed, Apr 18, 2018 at 02:48:21PM +0200, Arie van Wingerden wrote: > Is that device rooted maybe? In that case other rogue Apps might interfere I don't think so. They bought several Xcover devices for their use, and they are not power users. They got the error on all of them. ♪♫ Alex -- UNSUBS

Re: PilBox IOException "No such file"

2018-04-18 Thread Arie van Wingerden
Is that device rooted maybe? In that case other rogue Apps might interfere .. Checked device for viruses/malware? 2018-04-18 14:30 GMT+02:00 Alexander Burger : > Hi all, > > Anyone here who tried PilBox: > > I have a customer with Samsung Xcover 4 devices, and they get an > IOException > 'Cannot

Re: PilBox support for Arm32 CPUs

2017-11-19 Thread Alexander Burger
On Sat, Nov 18, 2017 at 12:28:02PM +0100, Richard Z wrote: > > Hmm, strange. The canvas is also driven by JavaScript ... > > update, after hitting the canvas button and waiting some minutes the demo > actually appears. CPU usage of bin/picolisp is one full CPU. It does not > seem to go back to nor

Re: PilBox support for Arm32 CPUs

2017-11-18 Thread Richard Z
On Wed, Nov 15, 2017 at 04:19:30PM +0100, Alexander Burger wrote: > On Sun, Nov 12, 2017 at 12:27:45PM +0100, Richard Z wrote: > > > I won't think so, as this animation is driven by JavaScript (the '(+Click > > > +Auto > > > +Button) in "demo/fields.l"), which stops as soon as the browser leaves

Re: PilBox support for Arm32 CPUs

2017-11-15 Thread Richard Z
On Wed, Nov 15, 2017 at 04:19:30PM +0100, Alexander Burger wrote: > On Sun, Nov 12, 2017 at 12:27:45PM +0100, Richard Z wrote: > > > I won't think so, as this animation is driven by JavaScript (the '(+Click > > > +Auto > > > +Button) in "demo/fields.l"), which stops as soon as the browser leaves

Re: PilBox support for Arm32 CPUs

2017-11-15 Thread Alexander Burger
On Wed, Nov 15, 2017 at 04:19:30PM +0100, Alexander Burger wrote: > BTW, I test this with a split screen, Termux in one and PilBox in the other > window. In Termux I run a "cpu" script. In case somebody wants to try: > > > #!/data/data/com.termux/files/usr/bin/pil > ... Forgot to mention that th

Re: PilBox support for Arm32 CPUs

2017-11-15 Thread Alexander Burger
On Sun, Nov 12, 2017 at 12:27:45PM +0100, Richard Z wrote: > > I won't think so, as this animation is driven by JavaScript (the '(+Click > > +Auto > > +Button) in "demo/fields.l"), which stops as soon as the browser leaves the > > page. Not sure what happens ... > > you are right, after playing w

Re: PilBox support for Arm32 CPUs

2017-11-12 Thread Richard Z
On Sat, Nov 11, 2017 at 03:49:45PM +0100, Alexander Burger wrote: > On Sat, Nov 11, 2017 at 01:10:33PM +0100, Richard Z wrote: > > it happened when I downloaded the zips with Firefox. I have no idea if I > > have > > closed PilBox properly before, will try again. The first download (calc) > > wen

Re: PilBox support for Arm32 CPUs

2017-11-11 Thread Alexander Burger
On Sat, Nov 11, 2017 at 01:10:33PM +0100, Richard Z wrote: > it happened when I downloaded the zips with Firefox. I have no idea if I have > closed PilBox properly before, will try again. The first download (calc) went I see. In fact, I have not investigated what happes if a PIL.zip is pushed into

Re: PilBox support for Arm32 CPUs

2017-11-11 Thread Richard Z
On Sat, Nov 11, 2017 at 08:45:01AM +0100, Alexander Burger wrote: > On Fri, Nov 10, 2017 at 11:25:26PM +0100, Richard Z wrote: > > I installed one example, looked at options/PILs. Then installed another > > example and somehow got the old page listing the PILs as they were in the > > old state. >

Re: PilBox support for Arm32 CPUs

2017-11-10 Thread Alexander Burger
On Fri, Nov 10, 2017 at 11:25:26PM +0100, Richard Z wrote: > I installed one example, looked at options/PILs. Then installed another > example and somehow got the old page listing the PILs as they were in the > old state. This cannot be, as the installation of a new App happens only when PilBox

Re: PilBox support for Arm32 CPUs

2017-11-10 Thread Richard Z
On Fri, Nov 10, 2017 at 10:54:06PM +0100, Alexander Burger wrote: Hi, > However, I do not understand what you mean with "totally inconsistent and > obsolete set of pages". Can you explain? I installed one example, looked at options/PILs. Then installed another example and somehow got the old pa

Re: PilBox support for Arm32 CPUs

2017-11-10 Thread Alexander Burger
Hi Richard, > works thus far. > > One problem that I notice is that the UI gets totally confused with both the > device back arrow and the PilBox own back/forward arrows. Device back arrow > apparently exits the app. Right. This is the standard Android behavior of the device back arrow, and I di

Re: PilBox support for Arm32 CPUs

2017-11-10 Thread Richard Z
On Fri, Nov 10, 2017 at 12:50:08PM +0100, Alexander Burger wrote: Hi, > PilBox now also runs on Android/Arm32 (albeit a bit slower), via the > installation of an "Architecture Plugin". thanks, wanted to do it myself but was too lazy:) > This is simply a ZIP file, just like the "normal" PilBox