On 2/12/12 6:56 PM, Alex Kramer wrote:
On Sun, Feb 12, 2012 at 7:21 PM, Andrey Novoseltsev<novos...@gmail.com> wrote:
First of all, thanks for awesome work! I've tried to use it for a
couple of my interacts (which work fine in unpatched Sage-4.8):
http://www.math.ualberta.ca/~novoseltsev/2012Winter215R1/test1
http://www.math.ualberta.ca/~novoseltsev/2012Winter215R1/test2
Neither of them work - one does not produce output, another one shows
some error. I have no idea why don't they work and no idea how to
figure it out, so some help/suggestions would be very much
appreciated!
I'm still trying to track down the first problem, but the second error
appears to be an issue with a class that attempts to ensure interact
syntax compatibility with the regular sagenb (we re-wrote interacts
for the sage cell). I've opened an issue for that here:
https://github.com/sagemath/sagecell/issues/245
Thanks for reporting the issues!
Very cool interact (that second one). I fixed the problem. However,
you need to add:
u,v=var('u,v')
at the top before the definition of the interact to get it to work
right. This is a separate problem from the one in the issue above.
Here is a permalink of what I mean: http://tinyurl.com/76tsadv
Alex: it looks like there is another issue with the slider not appearing
in this interact. I think you knew about this one (when we have a
layout with more than one control horizontally). See the above code
example for details.
So I guess this means two more tickets:
1. Why do we have to add u,v=var('u,v') in the sage cell, but not in the
notebook
2. Sliders disappearing when they are first in a row of controls using
the layout option.
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org