Re: "Unknown error." in LC when trying to test to connected ios device

2021-09-15 Thread scott--- via use-livecode
As  J. Landman Gay once pointed out, sometimes it comes down to figuring out 
what color chicken to sacrifice. The other day I encountered something similar 
to what you are describing that was a new one for me. (I don’t recall the exact 
issue because I encountered several and they are mixed up in my mind now.) But 
one error was actually the result of checking the "build for iOS” button but 
forgetting to uncheck the “build for Android” button. I was surprised that LC 
couldn’t figure that out based on the target device but, unchecking “build for 
Android” solved it. Hoping you find that it is something simple and not the 
chicken thing.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Sep 15, 2021, at 1:58 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Mac OS 11.5.2
> LC 9.6.2
> XCode 12.1
> I choose a device from the Development->Test Target menu, then select
> Development->Test
> We get as far as the app getting signed, and then the error is thrown.
> I'm pretty sure the certs and profiles are current, since I manually
> removed them and then used XC to reinstall them.
> Suggestions?
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode










___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: M1 Mac possible problem

2021-09-15 Thread Mark Smith via use-livecode
Yes, works fine now here as well, and looks to be quite an impressive musical 
accomplishment. 

Best of luck with it. 

> On Sep 15, 2021, at 9:23 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Thanks Henk.
> 
> The problem that I could finally reproduce was a sub stack (that is “in use”) 
> not receiving the openStack message when it was opened. This caused the 
> program's initialization script to pause. So I replaced the openStack handler 
> in the sub stack with that would receive a sent message, then things 
> proceeded properly.
> 
> A timing issue for some computers? Some users were experiencing the anomaly 
> and others not.
> 
> Peter
> 
>> On Sep 15, 2021, at 3:38 PM, Henk van der Velden via use-livecode 
>>  wrote:
>> 
>> Works fine now!
>> 
>> 
>>> On 15 Sep 2021, at 18:00, use-livecode-requ...@lists.runrev.com wrote:
>>> 
>>> Hi to all those that did a test of my Music In the Air program some days 
>>> ago on your Mac.
>>> 
>>> I think I have fixed the installation problem. Would you do a quick test to 
>>> see if it runs now?
>>> 
>>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>>>  
>>> 
>>> 
>>> 
>>> I found a variety of anomalies that might have contributed to the problem, 
>>> but I?ll wait to see if it?s better now?
>>> 
>>> Thanks!
>>> 
>>> Peter Bogdanoff
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


"Unknown error." in LC when trying to test to connected ios device

2021-09-15 Thread Mike Kerner via use-livecode
Mac OS 11.5.2
LC 9.6.2
XCode 12.1
I choose a device from the Development->Test Target menu, then select
Development->Test
We get as far as the app getting signed, and then the error is thrown.
I'm pretty sure the certs and profiles are current, since I manually
removed them and then used XC to reinstall them.
Suggestions?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: M1 Mac possible problem

2021-09-15 Thread Peter Bogdanoff via use-livecode
Thanks Henk.

The problem that I could finally reproduce was a sub stack (that is “in use”) 
not receiving the openStack message when it was opened. This caused the 
program's initialization script to pause. So I replaced the openStack handler 
in the sub stack with that would receive a sent message, then things proceeded 
properly.

A timing issue for some computers? Some users were experiencing the anomaly and 
others not.

Peter

> On Sep 15, 2021, at 3:38 PM, Henk van der Velden via use-livecode 
>  wrote:
> 
> Works fine now!
> 
> 
>> On 15 Sep 2021, at 18:00, use-livecode-requ...@lists.runrev.com wrote:
>> 
>> Hi to all those that did a test of my Music In the Air program some days ago 
>> on your Mac.
>> 
>> I think I have fixed the installation problem. Would you do a quick test to 
>> see if it runs now?
>> 
>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>>  
>> 
>> 
>> 
>> I found a variety of anomalies that might have contributed to the problem, 
>> but I?ll wait to see if it?s better now?
>> 
>> Thanks!
>> 
>> Peter Bogdanoff
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: M1 Mac possible problem

2021-09-15 Thread Henk van der Velden via use-livecode
Works fine now!


> On 15 Sep 2021, at 18:00, use-livecode-requ...@lists.runrev.com wrote:
> 
> Hi to all those that did a test of my Music In the Air program some days ago 
> on your Mac.
> 
> I think I have fixed the installation problem. Would you do a quick test to 
> see if it runs now?
> 
> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>  
> 
> 
> 
> I found a variety of anomalies that might have contributed to the problem, 
> but I?ll wait to see if it?s better now?
> 
> Thanks!
> 
> Peter Bogdanoff

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: M1 Mac possible problem

2021-09-15 Thread Peter Bogdanoff via use-livecode
Thank you Matthias.

> On Sep 15, 2021, at 5:21 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Works now.
> 
> One thing i noticed is that although the language is set to english, the 
> program settings dialog shows Chinese text.
> 
> 
> Regards,
> Matthias
> 
> 
> 
> Am 15.09.2021 um 07:17 schrieb Peter Bogdanoff via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Hi to all those that did a test of my Music In the Air program some days ago 
>> on your Mac.
>> 
>> I think I have fixed the installation problem. Would you do a quick test to 
>> see if it runs now?
>> 
>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>> 
>> 
>> I found a variety of anomalies that might have contributed to the problem, 
>> but I’ll wait to see if it’s better now…
>> 
>> Thanks!
>> 
>> Peter Bogdanoff
>> 
>> 
>> 
>>> On Sep 10, 2021, at 3:41 PM, Mark Smith  wrote:
>>> 
>>> Apologies, I should have mentioned it: 2.3 GHz Dual-Core Intel Core i5
>>> 
 On Sep 10, 2021, at 6:12 PM, Peter Bogdanoff via use-livecode 
 mailto:use-livecode@lists.runrev.com> 
 >> wrote:
 
 Thanks Matthias, Bernard, and Mark!
 
 I’m seeing that the issue is probably not processor related. Bernard on an 
 M1 didn’t have trouble. Matthias on Intel did, as well as Mark who didn’t 
 specify what he had—but the bad results do mirror exactly what the Chinese 
 user was seeing on her M1.
 
 The final card that becomes unresponsive is because of a semi-opaque 
 overlay that’s a setup for a license activation group to show on top. At 
 that point the program is trying to read a local file that contains the 
 current license info—if the local license file doesn’t exist (new user), 
 it will load the license group with a field to enter a key, or the user 
 can choose to continue with the free limited version. The script is 
 seeming to stop around that point.
 
 I’ve been trying to make the problem show for me, including what Matthias 
 suggested—running it from the installer which does seem to work normally. 
 I also tried deleting the pref file containing language and location 
 choices that was written at the opening, in hopes of narrowing it down to 
 an inability to write or read a file from the pref folder in the library. 
 Deleting the pref file caused a script error that shows the standard LC 
 error dialog added by the installer, so it’s not that.
 
 So apparently something in my script is failing to complete for some 
 users. This was built with LC 9.6.1. I’ll work on it more…
 
 Peter Bogdanoff
 
> On Sep 10, 2021, at 4:45 AM, matthias rebbe via use-livecode 
> mailto:use-livecode@lists.runrev.com> 
>  >> wrote:
> 
> Dear Peter,
> 
> i have not an M1, but am always interested what can be produced with LC.
> 
> I tested your program and noticed that although i switched to English and 
> World i see a button with chinese text on the next page.
> 
> Regarding your problem.
> Is it possible by any change that your user is running the app from 
> mounted DMG? At least then it does not go any further after pressing the 
> button with chinese text. The next card, which displays J.S Bach i think, 
> comes up, but the menu in the middle is greyed out and the program stops.
> When quitting it still prompts if you want to quit. But none of the menu 
> entries work.
> 
> Regards,
> Matthias
> 
> 
> 
>> Am 10.09.2021 um 07:56 schrieb Peter Bogdanoff via use-livecode 
>> mailto:use-livecode@lists.runrev.com> 
>> > >>:
>> 
>> Hi,
>> 
>> A particular user of my Music In the Air program is having trouble with 
>> it running correctly; a card fails to load the data to go ahead. She is 
>> in China and is using an M1 Mac, neither of which I have access to 
>> directly.
>> 
>> Would someone who has an M1 try running it and letting me know what 
>> happens? 
>> 
>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>>  
>> >  
>> >
>>  
>> >  
>> 

Re: export a stack and recreate it it by script

2021-09-15 Thread Mark Wieder via use-livecode

On 9/15/21 3:29 AM, Malte Pfaff-Brill via use-livecode wrote:

Hi,

I have been lurking for a while and do not really write code anymore. 
However, I am in a situation, where I need to maintain a very old 
project, that consists of a large(ish) collection of stacks that is 
crashing frequently with newer engine versions.My suspicion is that it 
is due to either a somewhere corrupted stack and/or a wild mix of 
stackFileVersions. Has anyone of you created a Script that exports a 
stack to a text / XML / Json / whatever file and can recreate them with 
the latest stackFileVersion? That would save me some trouble and feed my 
lazyness. :-)


Malte-

You want Brian Milby's ScriptTracker plugin. It does exactly that.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: export a stack and recreate it it by script

2021-09-15 Thread Douglas A. Ruisaard via use-livecode
You might also check out "Script Reporter".. which should be available
somewhere on the LC site.  It's a GREAT program which reads entire stacks
(one at a time, mind you) and allows a cut & paste of the code into a simple
text file.  Like Ben's suggestion, I use it extensively for version
differences.  You can also simply paste the output (one card at a time) back
into the LC editor and you've got a newly generated project.

If Ben's option offers a multiple card-at-a-time solution, THAT would be
superior to Script Reported in this context, but it's still is another
option.

Douglas Ruisaard
   
Trilogy Software
  (250) 573-3935


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Malte Pfaff-Brill via use-livecode
Sent: Wednesday, September 15, 2021 3:29 AM
To: use-livecode@lists.runrev.com
Cc: Malte Pfaff-Brill
Subject: export a stack and recreate it it by script

Hi,

I have been lurking for a while and do not really write code anymore. 
However, I am in a situation, where I need to maintain a very old 
project, that consists of a large(ish) collection of stacks that is 
crashing frequently with newer engine versions.My suspicion is that it 
is due to either a somewhere corrupted stack and/or a wild mix of 
stackFileVersions. Has anyone of you created a Script that exports a 
stack to a text / XML / Json / whatever file and can recreate them with 
the latest stackFileVersion? That would save me some trouble and feed my 
lazyness. :-)

If you want to contact me off list, please use malte [at] derbrill.de

All the best,

Malte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: export a stack and recreate it it by script

2021-09-15 Thread Ben Rubinstein via use-livecode

Hi Malte,

I have one (not used for many a year) that exports to XML including scripts, 
properties, contents etc. I used it to diff - never wrote an importer for it. 
But if you don't find what you need elsewhere, this might do half the job. Let 
me know if you want it.


Ben

On 15/09/2021 11:29, Malte Pfaff-Brill via use-livecode wrote:

Hi,

I have been lurking for a while and do not really write code anymore. However, 
I am in a situation, where I need to maintain a very old project, that 
consists of a large(ish) collection of stacks that is crashing frequently with 
newer engine versions.My suspicion is that it is due to either a somewhere 
corrupted stack and/or a wild mix of stackFileVersions. Has anyone of you 
created a Script that exports a stack to a text / XML / Json / whatever file 
and can recreate them with the latest stackFileVersion? That would save me 
some trouble and feed my lazyness. :-)


If you want to contact me off list, please use malte [at] derbrill.de

All the best,

Malte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


export a stack and recreate it it by script

2021-09-15 Thread Malte Pfaff-Brill via use-livecode

Hi,

I have been lurking for a while and do not really write code anymore. 
However, I am in a situation, where I need to maintain a very old 
project, that consists of a large(ish) collection of stacks that is 
crashing frequently with newer engine versions.My suspicion is that it 
is due to either a somewhere corrupted stack and/or a wild mix of 
stackFileVersions. Has anyone of you created a Script that exports a 
stack to a text / XML / Json / whatever file and can recreate them with 
the latest stackFileVersion? That would save me some trouble and feed my 
lazyness. :-)


If you want to contact me off list, please use malte [at] derbrill.de

All the best,

Malte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: M1 Mac possible problem

2021-09-15 Thread matthias rebbe via use-livecode
Works now.

One thing i noticed is that although the language is set to english, the 
program settings dialog shows Chinese text.


Regards,
Matthias



Am 15.09.2021 um 07:17 schrieb Peter Bogdanoff via use-livecode 
:
> 
> Hi to all those that did a test of my Music In the Air program some days ago 
> on your Mac.
> 
> I think I have fixed the installation problem. Would you do a quick test to 
> see if it runs now?
> 
> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
> 
> 
> I found a variety of anomalies that might have contributed to the problem, 
> but I’ll wait to see if it’s better now…
> 
> Thanks!
> 
> Peter Bogdanoff
> 
> 
> 
>> On Sep 10, 2021, at 3:41 PM, Mark Smith  wrote:
>> 
>> Apologies, I should have mentioned it: 2.3 GHz Dual-Core Intel Core i5
>> 
>>> On Sep 10, 2021, at 6:12 PM, Peter Bogdanoff via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Thanks Matthias, Bernard, and Mark!
>>> 
>>> I’m seeing that the issue is probably not processor related. Bernard on an 
>>> M1 didn’t have trouble. Matthias on Intel did, as well as Mark who didn’t 
>>> specify what he had—but the bad results do mirror exactly what the Chinese 
>>> user was seeing on her M1.
>>> 
>>> The final card that becomes unresponsive is because of a semi-opaque 
>>> overlay that’s a setup for a license activation group to show on top. At 
>>> that point the program is trying to read a local file that contains the 
>>> current license info—if the local license file doesn’t exist (new user), it 
>>> will load the license group with a field to enter a key, or the user can 
>>> choose to continue with the free limited version. The script is seeming to 
>>> stop around that point.
>>> 
>>> I’ve been trying to make the problem show for me, including what Matthias 
>>> suggested—running it from the installer which does seem to work normally. I 
>>> also tried deleting the pref file containing language and location choices 
>>> that was written at the opening, in hopes of narrowing it down to an 
>>> inability to write or read a file from the pref folder in the library. 
>>> Deleting the pref file caused a script error that shows the standard LC 
>>> error dialog added by the installer, so it’s not that.
>>> 
>>> So apparently something in my script is failing to complete for some users. 
>>> This was built with LC 9.6.1. I’ll work on it more…
>>> 
>>> Peter Bogdanoff
>>> 
 On Sep 10, 2021, at 4:45 AM, matthias rebbe via use-livecode 
 mailto:use-livecode@lists.runrev.com>> 
 wrote:
 
 Dear Peter,
 
 i have not an M1, but am always interested what can be produced with LC.
 
 I tested your program and noticed that although i switched to English and 
 World i see a button with chinese text on the next page.
 
 Regarding your problem.
 Is it possible by any change that your user is running the app from 
 mounted DMG? At least then it does not go any further after pressing the 
 button with chinese text. The next card, which displays J.S Bach i think, 
 comes up, but the menu in the middle is greyed out and the program stops.
 When quitting it still prompts if you want to quit. But none of the menu 
 entries work.
 
 Regards,
 Matthias
 
 
 
> Am 10.09.2021 um 07:56 schrieb Peter Bogdanoff via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Hi,
> 
> A particular user of my Music In the Air program is having trouble with 
> it running correctly; a card fails to load the data to go ahead. She is 
> in China and is using an M1 Mac, neither of which I have access to 
> directly.
> 
> Would someone who has an M1 try running it and letting me know what 
> happens? 
> 
> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>  
> 
>  
>   
> >
> 
> 
> This is a limited demo version, otherwise fully functional, and will be 
> initially in Chinese, but there is an English choice at the startup.
> 
> Thanks very much, and you can let me know off list what happens.
> 
> Peter Bogdanoff
> bogdan...@me.com 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___

Re: M1 Mac possible problem

2021-09-15 Thread Bernard Devlin via use-livecode
No problems that I could see.

On Wed, Sep 15, 2021 at 6:18 AM Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi to all those that did a test of my Music In the Air program some days
> ago on your Mac.
>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode