Need help with a Datagrid error...

Paul Dupuis paul at researchware.com
Tue Jun 12 13:24:01 EDT 2018


I should have noted the LC version. This is a standalone built under
LiveCode 6.7.11

If I could get one of the customers to respond with their document(s)
and settings that caused the error, it would probably be simple to track
down.

My current theory is that rows can display either htmlText or an image
in a particular column depending upon the users data. I am speculating
that an image may not be being resolved correctly. This may just have to
wait until a customer cares enough to help us troubleshoot it by letting
us look at their data.

It was a wild shot that someone else may have recognized this. Thanks
for replying.


On 6/12/2018 12:11 PM, Tom Glod via use-livecode wrote:
> so i work alot with datagrids and i've never seen such an array of errors.
> Can you tell us what version of LC the standalone was built with?
>
> one thing that comes to mind is something i vaguely remember happening a
> few years ago.  I was updating the datagrid while one of the handlers in
> the library was still running (FullInData). an error was causing the
> handler to not complete and when an update was triggered it went haywire.
>
> these are hard to diagnose in standalones especially when its something
> that depends on the error being specific to the content of the column.
>
> this is real ugly i hope you get to the bottom of it.
>
>
>
> On Tue, Jun 12, 2018 at 7:36 AM, Paul Dupuis via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> I have a rarely occurring Datagrid error that a couple customers have
>> reported. Unfortunately, none of the customers have been able to tell us
>> what they were doing when the error occured or be able to reproduce it.
>> I hope someone on this list may have seen this before and know what is
>> causing it.
>>
>> The error occurs when a window/stack with a datagrid is opened . The
>> datagrid on the window may have already had data from previous openings
>> and closings. An execution error occurs in the standalone before the new
>> data is populated to the datagrid.
>>
>> Anyone seen anything like this?
>>
>> Chunk: error in object expression:  (Line 3919, column 33)
>> Chunk: can't find object:  (Line 3919, column 33)
>> Object: does not have this property:  (Line 3919, column 21)
>> put: error in expression:  (Line 3919, column 1)
>> repeat: error in statement:  (Line 3909, column 1)
>> repeat: error in statement:  (Line 3899, column 1)
>> if-then: error in statement:  (Line 3874, column 1)
>> Handler: error in statement: _table.DrawColumns (Line 3874, column 1)
>> Object: button "Data Grid" of group "Behaviors" of card "card id 1002" of
>> stack "revDataGridLibrary" of stack "HyperRESEARCH.exe"
>> Object ID: button id 1005 of group id 1004 of card id 1002 of stack
>> "revDataGridLibrary" of stack "C:/Program Files (x86)/HyperRESEARCH
>> 4.0.1/HyperRESEARCH.exe"
>> -
>>
>> if-then: error in statement:  (Line 3821, column 1)
>> if-then: error in statement:  (Line 3820, column 1)
>> Handler: error in statement: _table.DrawControlsInRealTime (Line 3820,
>> column 1)
>> Object: button "Data Grid" of group "Behaviors" of card "card id 1002" of
>> stack "revDataGridLibrary" of stack "HyperRESEARCH.exe"
>> Object ID: button id 1005 of group id 1004 of card id 1002 of stack
>> "revDataGridLibrary" of stack "C:/Program Files (x86)/HyperRESEARCH
>> 4.0.1/HyperRESEARCH.exe"
>> -
>>
>> Handler: error in statement: _table.DrawWithProperties (Line 3500, column
>> 1)
>> Object: button "Data Grid" of group "Behaviors" of card "card id 1002" of
>> stack "revDataGridLibrary" of stack "HyperRESEARCH.exe"
>> Object ID: button id 1005 of group id 1004 of card id 1002 of stack
>> "revDataGridLibrary" of stack "C:/Program Files (x86)/HyperRESEARCH
>> 4.0.1/HyperRESEARCH.exe"
>> -
>>
>> switch: error in statement:  (Line 2319, column 1)
>> Handler: error in statement: _DrawListWithProperties (Line 2319, column 1)
>> Object: button "Data Grid" of group "Behaviors" of card "card id 1002" of
>> stack "revDataGridLibrary" of stack "HyperRESEARCH.exe"
>> Object ID: button id 1005 of group id 1004 of card id 1002 of stack
>> "revDataGridLibrary" of stack "C:/Program Files (x86)/HyperRESEARCH
>> 4.0.1/HyperRESEARCH.exe"
>> -
>>
>> if-then: error in statement:  (Line 7540, column 1)
>>
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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