save stack as filename failing most of the time
Paul Hibbert
paul at livecode.org
Tue Jan 10 12:41:10 EST 2017
I tried, but it works fine for me every time in LC8.1.2 (Build 14013) (I no longer have RC3 installed), on MacOS Sierra 10.12.2.
This is the test script I used:
on mouseUp
put"/Users/paulhibbert/Documents/001 Test Folder/paultest.xx.to.Compile.livecode" into tFileName
replace "xx" with char -4 to -1 of the seconds in tFileName
save stack "paultest" as tFileName
if the result is empty then
answer "Success!"
else
answer "Save Failed!" && the result
end if
end mouseUp
Initially I tried with the same file name, just overwriting each time, that never failed, so I added the last four digits of the seconds to make a more unique name, but that never failed either. I also tried this from within the test stack, and then with a separate stack to issue the save command, they both worked fine too.
If there’s anything else you can think that is worth trying, just ask.
Paul
> On 10 Jan 2017, at 07:45, Dr. Hawkins via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> livecode has been unable to reproduce the bug. Could someone who was able
> to make a stack to manifest this please upload?
>
> *Comment # 1 <http://quality.livecode.com/show_bug.cgi?id=19042#c1> on bug
> 19042 <http://quality.livecode.com/show_bug.cgi?id=19042> from Panos
> Merakos <panos.merakos at livecode.com>*
>
> Hi Richard,
>
> Thank you for the report. I have tried to reproduce this bug with no success. I
> have created a stack called "panos.livecode" with a button with the following
> script:
>
> on mouseUp
> save this stack as "/Users/panos/Desktop/panos.to_compile.livecode"
> end mouseUp
>
> Clicking the button creates a new "panos.to_compile.livecode" stack on Desktop
> folder.
>
> Can you please attach a sample stack that demonstrates the problem for you?
>
> Best regards,
> Panos
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list