Re: Another LC9.6.9rc2 regression? This time with Datagrids
once again, a reason to have as much of the source exposed as possible. On Wed, Dec 14, 2022 at 8:09 AM panagiotis m via use-livecode < use-livecode@lists.runrev.com> wrote: > Nice detective work @Mark Wieder > > Indeed, in LC 9.6.9 rc2 we added support for nested DG behaviors, so this > code was updated. > > Hopefully this will be fixed in LC 9.6.9 rc3 > > Kind regards, > Panos > -- > > On Wed, 14 Dec 2022 at 07:45, Mark Wieder via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > On 12/13/22 17:59, Mark Wieder via use-livecode wrote: > > > Running your sample stack, I get an "error in object expression" at > line > > > 4793 in handler "_table.CreateHeaders" of stack > > > "RevDataGridLibraryBehaviorsDatGridButtonBehavior". > > > Seems to be because sResourceStack is empty. > > > > > > Not sure if this is any help. > > > > > > > ... and yes, that code did change from 9.6.8 to 9.6.9-rc2. > > Previously the _table.CreateHeaders handler started off by calling > > _ResourceStack() to set the stack location. Now it relies on the > > _Initialization handler being called previously to do that task. > > > > And it's apparently not being called. Adding the line > > > > put _ResourceStack() into sResourceStack > > > > at the start of that handler seems to avoid the problem. > > > > > > -- > > 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 > > > ___ > 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 > -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
Nice detective work @Mark Wieder Indeed, in LC 9.6.9 rc2 we added support for nested DG behaviors, so this code was updated. Hopefully this will be fixed in LC 9.6.9 rc3 Kind regards, Panos -- On Wed, 14 Dec 2022 at 07:45, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 12/13/22 17:59, Mark Wieder via use-livecode wrote: > > Running your sample stack, I get an "error in object expression" at line > > 4793 in handler "_table.CreateHeaders" of stack > > "RevDataGridLibraryBehaviorsDatGridButtonBehavior". > > Seems to be because sResourceStack is empty. > > > > Not sure if this is any help. > > > > ... and yes, that code did change from 9.6.8 to 9.6.9-rc2. > Previously the _table.CreateHeaders handler started off by calling > _ResourceStack() to set the stack location. Now it relies on the > _Initialization handler being called previously to do that task. > > And it's apparently not being called. Adding the line > > put _ResourceStack() into sResourceStack > > at the start of that handler seems to avoid the problem. > > > -- > 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 > ___ 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: Another LC9.6.9rc2 regression? This time with Datagrids
On 12/13/22 17:59, Mark Wieder via use-livecode wrote: Running your sample stack, I get an "error in object expression" at line 4793 in handler "_table.CreateHeaders" of stack "RevDataGridLibraryBehaviorsDatGridButtonBehavior". Seems to be because sResourceStack is empty. Not sure if this is any help. ... and yes, that code did change from 9.6.8 to 9.6.9-rc2. Previously the _table.CreateHeaders handler started off by calling _ResourceStack() to set the stack location. Now it relies on the _Initialization handler being called previously to do that task. And it's apparently not being called. Adding the line put _ResourceStack() into sResourceStack at the start of that handler seems to avoid the problem. -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
Running your sample stack, I get an "error in object expression" at line 4793 in handler "_table.CreateHeaders" of stack "RevDataGridLibraryBehaviorsDatGridButtonBehavior". Seems to be because sResourceStack is empty. Not sure if this is any help. -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
On 12/13/2022 5:26 PM, Mike Kerner via use-livecode wrote: here's something fun for you to try: run the script twice. example: take the stack you submitted with the bug report and execute preOpenStack from the message box, after the initial failure. It still fails for me under rc2, but I get the following in the message box: Message execution error: Error description: Object Name: Hint: card id 1002 of stack "C:/Users/paul/Desktop/FreqReport.livecode" Puzzling, but still a regression from 968 to 969 of LC. I should not have to rename my Datagrid objects for it to work (if that is even what the errors mean!). It's only 6:30pm where I am but my brain is already fried from today's work. I'll have to let this set until tomorrow at the earliest. In my dreams tonight, I'll hope that I will wake up in the morning to a solution somebody else came up with :-) On Tue, Dec 13, 2022 at 5:21 PM Mike Kerner wrote: there's another option, which is to investigate the polygrid. i've been messing with it, because it does seem to be faster than a dg. but first, i don't think i can resist trying to see why this is breaking. if i do (and, instead work on this app i'm working on), it will demonstrate the sort of self-control that i'm legendarily lacking. OOH! SHINY! On Tue, Dec 13, 2022 at 5:08 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Mike, I suspect some change was made in the Datagrid scripts, such as a move of some code from a stack to a script-only stack or some engine change in how comparisons are done, variables interpreted, etc. that inadvertently impacted the Datagrid code, but while we use a lot of Datagrids, I have never really tried to follow or understand the internal scripts and I'd can't invest the time just now (too much else taking priority). I have I think, clearly demonstrated this is a regression - code works under LC 9.6.8 and fails under LC 9.6.9rc2, so it's now up to Livecode, Ltd. (or yourself IF you want to dive right in ;-) to solve the bug. Our choice boils down to [A] Build under 9.6.8 and not have a fix for the Non-Gregorian calendar crash under macOS which was fixed in 969rc2 OR [B] wait until LC staff or someone fixes this and we find no other regression in 9.6.9. I think we've now found 3 regressions in 3 weeks, which is not a good sign for 9.6.9. BTW, thank you again for your help with the Ask and Answer regressions! -- Paul On 12/13/2022 4:31 PM, Mike Kerner via use-livecode wrote: is this in a built app or interpreted? the "silent fail" has been a feature of LC apps on mobile for a decade. i wonder if these issues are both caused by some stack moving from binary to SOS. the ask dialog certainly was migrated to an SOS, recently. i see you included a recipe stack in the bug report. just like with the ask dialog, the temptation to dive in might be too great for me... On Tue, Dec 13, 2022 at 4:20 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: Anyone else having problems with: set the dgProp["someProperty"] of grp "someDatagrid" under LC 9.6.9rc2 vs LC 9.6.8? In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing lines of script where we set the dgProp of a datagrid just stop (like it hit and 'exit to top'). The same code works without stopping in LC 9.6.8 and consistently fails in 9.6.9rc2. Just wondering if anyone else has run into this. I did not see a specific bug reported against 9.6.9rc2 that might have been this issue before reporting it. ___ 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 -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
here's something fun for you to try: run the script twice. example: take the stack you submitted with the bug report and execute preOpenStack from the message box, after the initial failure. On Tue, Dec 13, 2022 at 5:21 PM Mike Kerner wrote: > there's another option, which is to investigate the polygrid. i've been > messing with it, because it does seem to be faster than a dg. > but first, i don't think i can resist trying to see why this is breaking. > if i do (and, instead work on this app i'm working on), it will > demonstrate the sort of self-control that i'm legendarily lacking. OOH! > SHINY! > > On Tue, Dec 13, 2022 at 5:08 PM Paul Dupuis via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Mike, >> >> I suspect some change was made in the Datagrid scripts, such as a move >> of some code from a stack to a script-only stack or some engine change >> in how comparisons are done, variables interpreted, etc. that >> inadvertently impacted the Datagrid code, but while we use a lot of >> Datagrids, I have never really tried to follow or understand the >> internal scripts and I'd can't invest the time just now (too much else >> taking priority). I have I think, clearly demonstrated this is a >> regression - code works under LC 9.6.8 and fails under LC 9.6.9rc2, so >> it's now up to Livecode, Ltd. (or yourself IF you want to dive right in >> ;-) to solve the bug. >> >> Our choice boils down to [A] Build under 9.6.8 and not have a fix for >> the Non-Gregorian calendar crash under macOS which was fixed in 969rc2 >> OR [B] wait until LC staff or someone fixes this and we find no other >> regression in 9.6.9. I think we've now found 3 regressions in 3 weeks, >> which is not a good sign for 9.6.9. >> >> BTW, thank you again for your help with the Ask and Answer regressions! >> >> -- Paul >> >> >> On 12/13/2022 4:31 PM, Mike Kerner via use-livecode wrote: >> > is this in a built app or interpreted? >> > the "silent fail" has been a feature of LC apps on mobile for a decade. >> > i wonder if these issues are both caused by some stack moving from >> binary >> > to SOS. the ask dialog certainly was migrated to an SOS, recently. >> > i see you included a recipe stack in the bug report. just like with the >> ask >> > dialog, the temptation to dive in might be too great for me... >> > >> > On Tue, Dec 13, 2022 at 4:20 PM Paul Dupuis via use-livecode < >> > use-livecode@lists.runrev.com> wrote: >> > >> >> Anyone else having problems with: >> >> >> >> set the dgProp["someProperty"] of grp "someDatagrid" >> >> >> >> under LC 9.6.9rc2 vs LC 9.6.8? >> >> >> >> In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing >> >> lines of script where we set the dgProp of a datagrid just stop (like >> it >> >> hit and 'exit to top'). The same code works without stopping in LC >> 9.6.8 >> >> and consistently fails in 9.6.9rc2. >> >> >> >> Just wondering if anyone else has run into this. I did not see a >> >> specific bug reported against 9.6.9rc2 that might have been this issue >> >> before reporting it. >> >> >> >> >> >> ___ >> >> 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 >> > > > -- > 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." > -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
there's another option, which is to investigate the polygrid. i've been messing with it, because it does seem to be faster than a dg. but first, i don't think i can resist trying to see why this is breaking. if i do (and, instead work on this app i'm working on), it will demonstrate the sort of self-control that i'm legendarily lacking. OOH! SHINY! On Tue, Dec 13, 2022 at 5:08 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, > > I suspect some change was made in the Datagrid scripts, such as a move > of some code from a stack to a script-only stack or some engine change > in how comparisons are done, variables interpreted, etc. that > inadvertently impacted the Datagrid code, but while we use a lot of > Datagrids, I have never really tried to follow or understand the > internal scripts and I'd can't invest the time just now (too much else > taking priority). I have I think, clearly demonstrated this is a > regression - code works under LC 9.6.8 and fails under LC 9.6.9rc2, so > it's now up to Livecode, Ltd. (or yourself IF you want to dive right in > ;-) to solve the bug. > > Our choice boils down to [A] Build under 9.6.8 and not have a fix for > the Non-Gregorian calendar crash under macOS which was fixed in 969rc2 > OR [B] wait until LC staff or someone fixes this and we find no other > regression in 9.6.9. I think we've now found 3 regressions in 3 weeks, > which is not a good sign for 9.6.9. > > BTW, thank you again for your help with the Ask and Answer regressions! > > -- Paul > > > On 12/13/2022 4:31 PM, Mike Kerner via use-livecode wrote: > > is this in a built app or interpreted? > > the "silent fail" has been a feature of LC apps on mobile for a decade. > > i wonder if these issues are both caused by some stack moving from binary > > to SOS. the ask dialog certainly was migrated to an SOS, recently. > > i see you included a recipe stack in the bug report. just like with the > ask > > dialog, the temptation to dive in might be too great for me... > > > > On Tue, Dec 13, 2022 at 4:20 PM Paul Dupuis via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> Anyone else having problems with: > >> > >> set the dgProp["someProperty"] of grp "someDatagrid" > >> > >> under LC 9.6.9rc2 vs LC 9.6.8? > >> > >> In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing > >> lines of script where we set the dgProp of a datagrid just stop (like it > >> hit and 'exit to top'). The same code works without stopping in LC 9.6.8 > >> and consistently fails in 9.6.9rc2. > >> > >> Just wondering if anyone else has run into this. I did not see a > >> specific bug reported against 9.6.9rc2 that might have been this issue > >> before reporting it. > >> > >> > >> ___ > >> 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 > -- 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: Another LC9.6.9rc2 regression? This time with Datagrids
Hi Mike, I suspect some change was made in the Datagrid scripts, such as a move of some code from a stack to a script-only stack or some engine change in how comparisons are done, variables interpreted, etc. that inadvertently impacted the Datagrid code, but while we use a lot of Datagrids, I have never really tried to follow or understand the internal scripts and I'd can't invest the time just now (too much else taking priority). I have I think, clearly demonstrated this is a regression - code works under LC 9.6.8 and fails under LC 9.6.9rc2, so it's now up to Livecode, Ltd. (or yourself IF you want to dive right in ;-) to solve the bug. Our choice boils down to [A] Build under 9.6.8 and not have a fix for the Non-Gregorian calendar crash under macOS which was fixed in 969rc2 OR [B] wait until LC staff or someone fixes this and we find no other regression in 9.6.9. I think we've now found 3 regressions in 3 weeks, which is not a good sign for 9.6.9. BTW, thank you again for your help with the Ask and Answer regressions! -- Paul On 12/13/2022 4:31 PM, Mike Kerner via use-livecode wrote: is this in a built app or interpreted? the "silent fail" has been a feature of LC apps on mobile for a decade. i wonder if these issues are both caused by some stack moving from binary to SOS. the ask dialog certainly was migrated to an SOS, recently. i see you included a recipe stack in the bug report. just like with the ask dialog, the temptation to dive in might be too great for me... On Tue, Dec 13, 2022 at 4:20 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: Anyone else having problems with: set the dgProp["someProperty"] of grp "someDatagrid" under LC 9.6.9rc2 vs LC 9.6.8? In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing lines of script where we set the dgProp of a datagrid just stop (like it hit and 'exit to top'). The same code works without stopping in LC 9.6.8 and consistently fails in 9.6.9rc2. Just wondering if anyone else has run into this. I did not see a specific bug reported against 9.6.9rc2 that might have been this issue before reporting it. ___ 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: Another LC9.6.9rc2 regression? This time with Datagrids
is this in a built app or interpreted? the "silent fail" has been a feature of LC apps on mobile for a decade. i wonder if these issues are both caused by some stack moving from binary to SOS. the ask dialog certainly was migrated to an SOS, recently. i see you included a recipe stack in the bug report. just like with the ask dialog, the temptation to dive in might be too great for me... On Tue, Dec 13, 2022 at 4:20 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > Anyone else having problems with: > > set the dgProp["someProperty"] of grp "someDatagrid" > > under LC 9.6.9rc2 vs LC 9.6.8? > > In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing > lines of script where we set the dgProp of a datagrid just stop (like it > hit and 'exit to top'). The same code works without stopping in LC 9.6.8 > and consistently fails in 9.6.9rc2. > > Just wondering if anyone else has run into this. I did not see a > specific bug reported against 9.6.9rc2 that might have been this issue > before reporting it. > > > ___ > 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 > -- 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
Another LC9.6.9rc2 regression? This time with Datagrids
Anyone else having problems with: set the dgProp["someProperty"] of grp "someDatagrid" under LC 9.6.9rc2 vs LC 9.6.8? In bug https://quality.livecode.com/show_bug.cgi?id=24046 were seeing lines of script where we set the dgProp of a datagrid just stop (like it hit and 'exit to top'). The same code works without stopping in LC 9.6.8 and consistently fails in 9.6.9rc2. Just wondering if anyone else has run into this. I did not see a specific bug reported against 9.6.9rc2 that might have been this issue before reporting it. ___ 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