Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating side-effects of trying to rename an observable throughout a script #173

Open
meurigbeynon opened this issue Dec 5, 2015 · 1 comment

Comments

@meurigbeynon
Copy link

I decided that manpos was just a little two sexist for lift users, and went about changing all references from manpos to personpos. I've yet to recover the original state of the script, even though I think I have now eliminated all occurrences of manpos etc. It's as if the updates are taking time to percolate through, and values that I expect to be defined are gradually getting to be as I poke around. Right now,
I'm still getting problems recovering the label for the lift user - which as you know is stored in their circular heads.

Would it be surprising that

personlabel is Text(labels, personpos["x"]-adj/2-adj2*labels#, _view_picture_height-personpos["y"]-adj/2);

shows up in the inspector like this:

@ is Text("12", {32, 264}["x"]-14/2-2*"12"#, 652.208-{32, 264}["y"]-14/2);

Can there be a good reason why the LHS isn't defined?

PS I have since recovered the value of personlabel after redefining 'labels'. There still remains a mysteriously missing person around though.

PPS .. and finally, by dint of doing Run(force) for yet another time, everything is back in place. Could autiocalc have had anything to do with this? I didn't check its status.

@knicos
Copy link
Member

knicos commented Dec 5, 2015

Note: need to make an example that is reproducible to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants