Stacks getting contaminated with other stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Stacks getting contaminated with other stacks
From time to time now one of the "start using..." stacks ends up getting contaminated with one of the production stacks.
What I mean is that it seems to acquire all the content of one of the production stacks and then Revolution gets all confused as to where changes are.
I can tell this is happening because the size of the "start using" stack is about 16 kilobytes and the production stack is on the order of 37 megabytes. So when the "start using" stack ends up the same size coupled with the behavior..., well you get the picture.
1) What is happening to cause this?
2) When it does happen there appears no way to clear out the problem. I seem to have to create a brand new stack, copy all the code into it, and start afresh.
Any ideas on this one?
What I mean is that it seems to acquire all the content of one of the production stacks and then Revolution gets all confused as to where changes are.
I can tell this is happening because the size of the "start using" stack is about 16 kilobytes and the production stack is on the order of 37 megabytes. So when the "start using" stack ends up the same size coupled with the behavior..., well you get the picture.
1) What is happening to cause this?
2) When it does happen there appears no way to clear out the problem. I seem to have to create a brand new stack, copy all the code into it, and start afresh.
Any ideas on this one?
Re: Stacks getting contaminated with other stacks
Judson,
My first hunch is that you have a script in your library stack that responds to the creation, deletion or updating of objects. The information you have is very sparse. Could you figure out when exactly the problem occurs?
Best,
Mark
My first hunch is that you have a script in your library stack that responds to the creation, deletion or updating of objects. The information you have is very sparse. Could you figure out when exactly the problem occurs?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Stacks getting contaminated with other stacks
See also: defaultStack
Best wishes,
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Re: Stacks getting contaminated with other stacks
Hummm, I don't see that.
As for defaultstack, that command is not used.
I can't identify when the problem materialized.
There seems to be something where stacks can have names which are different than their filenames and I wonder if that is a contributing factor.
As for defaultstack, that command is not used.
I can't identify when the problem materialized.
There seems to be something where stacks can have names which are different than their filenames and I wonder if that is a contributing factor.
Re: Stacks getting contaminated with other stacks
Judson,
Normally, using file names to refer to stacks doesn't cause any problems. What are you doing with regard to file names exactly?
Best regards,
Mark
Normally, using file names to refer to stacks doesn't cause any problems. What are you doing with regard to file names exactly?
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Stacks getting contaminated with other stacks
Libraries have to be written carefully with regard to stack references. Perhaps the library code is the culprit.
Best wishes,
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/