Bug: in 8.18 Stable and 9 Dp11 legacy stack import

Lagi Pittas iphonelagi at gmail.com
Thu Jan 25 06:53:22 EST 2018


Hi Brian

Yes I am. It was a very insidious problem - at first I thought it was
Dropbox playing up because all the versions were faulty - but when I had it
backing up on the desktop as well using Max's plugin and checking for the
first 5 or six updates and all ok then 2 hours or more of work all bad -
not once but 3 times I then looked at the code and at the end of the stack
script there were some extraneous  characters specifically : ŽŽIDMŽŽ

If I removed and saved I would get a stack corruption on next load , if I
left them in after some changes - I would assume additions to the main
stack I'm not sure the stack would load saying it couldn't find 2
substacks. When I loaded the stack as a binary the full stack scripts of
both substacks were there but they could not be seen in the PB.

As I say a simple loader that could search for a "stack" and save it as a
single stack file would be a real boon - It doesn't happen often (now)
thank god but when it does it can save hours of time.

Regards Lagi

On 24 January 2018 at 18:52, Brian Milby <brian at milby7.com> wrote:

> Are you talking about the binary format of a stack file?
> On Wed, Jan 24, 2018 at 10:35 AM Lagi Pittas via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Hi
>>
>> I have just spent a good few hours "playing" - I wished - with the Text
>> formatting of field.
>>
>> Specifically It was on LC9 but I then installed 8.1.8 and the problem is
>> on
>> there as well.
>> The problem was that all new fields (and old fields) a card had the "BOLD"
>> textstyle try as I might I couldn't switch off the bold unless I ticked
>> underline or italic or any other textstyle - There isnt a Plain button as
>> in version 6 anymore - or I cant find it.
>> If I press fixedline height and click on italic i can then switch off bold
>> and italic but it comes back on when i switch fixedline height off.
>>
>> Anyway I did some more testing and it seems it was because this stack was
>> originally created in v6.11 - and I moved onto 9 when I got a corruption
>> that kept coming back - yes I know backups - I had MAXVs backup plugin
>> running and dropbox version history but they were saving the corrupted
>> stack although it was all fine and dandy in the IDE.
>>
>> So the upshot is (I think) one of loading a legacy stack.
>>
>> On a related note the corrupted stack was "losing" a substack used for
>> reporting  and a library stack but not alwayat the same time when I was
>> rebuilding from a working backup. - Lost days.
>>
>> I wrote a little binary loader and managed to get the code for both stacks
>> back - so they were both still in the stack but were not showing in the
>> projectbrowser.
>>
>> Can someone point me to the file where this loading of stacks is done and
>> the structure because I think we need some sort of stack loader for some
>> such instances in the future
>>
>> Regards Lagi
>> _______________________________________________
>> 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