Error on loading
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 365
- Joined: Mon Jun 10, 2013 1:32 pm
Error on loading
Hi
I downloaded rgrid 1.6 I loaded it into the latest commercial stable edition on a Mac.
If I click on directory that works. As soon as I click on demo I get this error
"button "rGridBehavior": execution error at line 4389 (Chunk: no such object), char 12"
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText <<<-------------- line 4389
end if
I tried running iot on an older the community edition on a PC (v 7.0.0) - it gives me exactly the same problerm.
I managed to copy a control to a mainstack but when I click on that control again the same message.
Hope someone can help
KIndest Regards Lagi
I downloaded rgrid 1.6 I loaded it into the latest commercial stable edition on a Mac.
If I click on directory that works. As soon as I click on demo I get this error
"button "rGridBehavior": execution error at line 4389 (Chunk: no such object), char 12"
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText <<<-------------- line 4389
end if
I tried running iot on an older the community edition on a PC (v 7.0.0) - it gives me exactly the same problerm.
I managed to copy a control to a mainstack but when I click on that control again the same message.
Hope someone can help
KIndest Regards Lagi
Re: Error on loading
Hi Lagi.
I confirm the issue you describe when using LC 7. Please try an earlier LC version. I'm using 6.7.2 rc.2 atm and rGrid works fine on that.
Kind regards
Mats
I confirm the issue you describe when using LC 7. Please try an earlier LC version. I'm using 6.7.2 rc.2 atm and rGrid works fine on that.
Kind regards
Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
-
- VIP Livecode Opensource Backer
- Posts: 365
- Joined: Mon Jun 10, 2013 1:32 pm
Re: Error on loading
Hi Mats,
Is the problem possible to work around easily or has livecode broken it for good?
I really don't want to have different versions of livecode running - will you be fixing it soon or at least give me an idea what it could be?
Anybody in the livecode team got any idea what has been broken?
Thanks
Lagi
Is the problem possible to work around easily or has livecode broken it for good?
I really don't want to have different versions of livecode running - will you be fixing it soon or at least give me an idea what it could be?
Anybody in the livecode team got any idea what has been broken?
Thanks
Lagi
Re: Error on loading
Mats,
This problem with rGrid is preventing me from moving a large system to v7. Have you looked at the problem with a view to resolve it or is rGrid dead to anyone using a higher version the the 6.xx?
I really like rGrid, it is a great alternative to the complexity of Data Grid. If there is a structural change in 7 that has broken it, you as the developer would be the only one in a position to raise the issue with the LC team to find a resolution for your customer's sake, it seems to me.
I can image that you are very busy, but this problem is causing a lot of distress to those of us who have bought your product and used it as an building block to our work.
Thanks,
David K
This problem with rGrid is preventing me from moving a large system to v7. Have you looked at the problem with a view to resolve it or is rGrid dead to anyone using a higher version the the 6.xx?
I really like rGrid, it is a great alternative to the complexity of Data Grid. If there is a structural change in 7 that has broken it, you as the developer would be the only one in a position to raise the issue with the LC team to find a resolution for your customer's sake, it seems to me.
I can image that you are very busy, but this problem is causing a lot of distress to those of us who have bought your product and used it as an building block to our work.
Thanks,
David K
-
- VIP Livecode Opensource Backer
- Posts: 365
- Joined: Mon Jun 10, 2013 1:32 pm
Re: Error on loading
HI
Well Matts is it dead for versions greater than 6.x?
I decided today to use version 6.x anyways because other than unicode it has everything in 7.x (unless you know different)
Lagi
Well Matts is it dead for versions greater than 6.x?
I decided today to use version 6.x anyways because other than unicode it has everything in 7.x (unless you know different)
Lagi
-
- Livecode Staff Member
- Posts: 192
- Joined: Thu Apr 18, 2013 2:48 pm
Re: Error on loading
Just came across this thread.
The relevant 7.0 bug appears to be that grp id empty seems to evaluate to the same a grp id 0 in 7.0, whereas it's a parsing error in 6.7.
So a workaround would be to change the relevant bit to
if tContainerID is not empty and there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText <<<-------------- line 4389
end if
Bug reported here:
http://quality.runrev.com/show_bug.cgi?id=16033
The relevant 7.0 bug appears to be that grp id empty seems to evaluate to the same a grp id 0 in 7.0, whereas it's a parsing error in 6.7.
So a workaround would be to change the relevant bit to
if tContainerID is not empty and there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText <<<-------------- line 4389
end if
Bug reported here:
http://quality.runrev.com/show_bug.cgi?id=16033
Re: Error on loading
I have isolated a bug in the refactored engine as it regards rGrid 1.6.
The bug number is 16033.
The relevant area of code is found in the rGridBehavior button of the rGridEngine:
Starting line number 4387:
put cellIDToContainerID(tOldCellID) into tContainerID
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText
end if
I added some code that made it work at 4387 as ’tContainerID’ came back from the function containing its name, ’tContainerID’
put cellIDToContainerID(tOldCellID) into tContainerID
if isnumber(tContainerID) then
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText
end if
end if
Setting the variable tContainerID to Local explicitly and/or the function cellIDtoContainerID returning nothing cause the
‘if there is a grp id tContainerID then’ to evaluate to TRUE.
The additional ’isnumber’ test fixes it.
I am confident that the team will stomp this bug at some point, but a couple of extra lines of code that will not break a fixed engine, is good for now.
There had been other problems, but with lc 7.1.1(rc2) and lc 8.0(dp8) and the addition test I have added above rGrid 1.6 seems to be working almost 100%. There is still some strangeness that I can’t track down where a ‘render grid’ render sets the ‘backcolor’ of the the menu button (tabbed) to the color of the rgrid grid line color. Very strange. I can live with that by just changing the ‘backcolor’ to match.
Hope this helps.
David Kesler
The bug number is 16033.
The relevant area of code is found in the rGridBehavior button of the rGridEngine:
Starting line number 4387:
put cellIDToContainerID(tOldCellID) into tContainerID
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText
end if
I added some code that made it work at 4387 as ’tContainerID’ came back from the function containing its name, ’tContainerID’
put cellIDToContainerID(tOldCellID) into tContainerID
if isnumber(tContainerID) then
if there is a grp id tContainerID then
put the text of fld "cellField" of grp id tContainerID into tText
end if
end if
Setting the variable tContainerID to Local explicitly and/or the function cellIDtoContainerID returning nothing cause the
‘if there is a grp id tContainerID then’ to evaluate to TRUE.
The additional ’isnumber’ test fixes it.
I am confident that the team will stomp this bug at some point, but a couple of extra lines of code that will not break a fixed engine, is good for now.
There had been other problems, but with lc 7.1.1(rc2) and lc 8.0(dp8) and the addition test I have added above rGrid 1.6 seems to be working almost 100%. There is still some strangeness that I can’t track down where a ‘render grid’ render sets the ‘backcolor’ of the the menu button (tabbed) to the color of the rgrid grid line color. Very strange. I can live with that by just changing the ‘backcolor’ to match.
Hope this helps.
David Kesler