[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-25 Thread Volker Braun
sagecell.makeSagecell is already polling to see whether it is loaded; thats 
of course totally fugly but should work. You just have to make sure that it 
is defined. If its only defined once a requirejs module loads then you 
don't have control over when. Instead move the

window.sagecell = window.sagecell || {};
sagecell.makeSagecell = function (args, k) {
...
}

outside of requirejs to always define the entrypoint into sagecell.


On Monday, April 25, 2016 at 3:10:02 AM UTC+2, Andrey Novoseltsev wrote:
>
> Update: 
>
> 1) Chrome does not work because of executing 
> sagecell.makeSagecell(...) 
> before 
>  
> finishes while Firefox waits till the script is processed. The issue 
> goes away if I wrap makeSagecell call in require(...), but I have no 
> idea how to make it work without, which is necessary for supporting 
> old pages. Any pointers?... I can't say I am a big fan of RequireJS, 
> but it felt natural to use it because Jupyter uses it. Should I 
> perhaps use something else instead/in addition? 
>
> 2) TAB-completion should be fixed. 
> 3) No progress on 3D yet. 
> 4) Didn't look into CORS problems with embedding yet. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-24 Thread Andrey Novoseltsev
Update:

1) Chrome does not work because of executing
sagecell.makeSagecell(...)
before

finishes while Firefox waits till the script is processed. The issue
goes away if I wrap makeSagecell call in require(...), but I have no
idea how to make it work without, which is necessary for supporting
old pages. Any pointers?... I can't say I am a big fan of RequireJS,
but it felt natural to use it because Jupyter uses it. Should I
perhaps use something else instead/in addition?

2) TAB-completion should be fixed.
3) No progress on 3D yet.
4) Didn't look into CORS problems with embedding yet.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.



[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Andrey Novoseltsev
To summarize what was discovered so far:

1) Chrome does not work: I unfortunately tend to forget that different
browsers/OS should be tested - I was working on Firefox under Debian,
will try to fix is next weekend. Location should not matter when you
use the name of the server directly (sagecell.sagemath.org does
resolve to Madrid for certain locations).
2) TAB completion does not work: also didn't test as I rarely write
code in cells, will try to fix next weekend as well.
3) 3d plots have issues: these are likely to be the same as in the old
version - it will be a high priority to improve the situation after
the switch to Jupyter is done.

Any issues with interacts or embedding?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Eric Gourgoulhon
Hi, 

Le lundi 18 avril 2016 10:58:48 UTC+2, Thierry (sage-googlesucks@xxx) a 
écrit :
>
> Hi, 
>
> it works almost well on iceweasel (Firefox 38.7.1) on Debian jessie 
> (stable). I see however two issues. 
>
> First, autocompletion does not work, when i click on , the cursor 
> jumps on "Evaluate" button. I tried on the older version and it works, so 
> it is a regression. 
>

I confirm; same problem here with Firefox 43.0.4 / Ubuntu 15.10. 

>
> Second, when trying a plot3d (type "dodecahedron()"), i got an image, but 
> when i click to animate it, i got an error message: 
>
> Error connecting to server: 
>
> http://your.server.here/jsmol.php?call=getRawDataFromDatabase=_=http%3A%2F%2Fcosmos.mat.uam.es%3A%2Fkernel%2F7af3de4b-ec65-44a7-8f53-f279879ffa9d%2Ffiles%2F.%2FtmpQwiiT9.jmol%2Fscene.zip=base64
>  
>
> It seems that you have to replace your.server.here somewhere in the conf. 
>
 
dodecahedron() works well for me with Firefox 43.0.4 / Ubuntu 15.10.

Best wishes,

Eric.
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Thierry
Hi,

it works almost well on iceweasel (Firefox 38.7.1) on Debian jessie
(stable). I see however two issues.

First, autocompletion does not work, when i click on , the cursor
jumps on "Evaluate" button. I tried on the older version and it works, so
it is a regression.

Second, when trying a plot3d (type "dodecahedron()"), i got an image, but
when i click to animate it, i got an error message:

Error connecting to server:
http://your.server.here/jsmol.php?call=getRawDataFromDatabase=_=http%3A%2F%2Fcosmos.mat.uam.es%3A%2Fkernel%2F7af3de4b-ec65-44a7-8f53-f279879ffa9d%2Ffiles%2F.%2FtmpQwiiT9.jmol%2Fscene.zip=base64

It seems that you have to replace your.server.here somewhere in the conf.

Actually, i am noticing that the same error appears on the current
version, i am not using sagecell, so i did not notice that failure before
(this test is part of my "human testsuite" for releasing Sage Debian Live).

Ciao and thanks for maintaining sagecell,
Thierry



On Sun, Apr 17, 2016 at 05:29:46PM -0700, Andrey Novoseltsev wrote:
> Hello and sorry for cross-posting, I'm trying to maximize visibility.
> 
> After quite a few changes I have a version of SageMathCell running Sage-7.1 
> and using Jupyter etc. shipped with Sage, rather than a custom old branch 
> of IPython.
> 
> User-visible changes should be minimal, but there are some for script 
> interaction that will probably require changes to Android app, WebWorks, 
> and what else.
> 
> There may be also new bugs introduced in the process. I hope that most of 
> the stuff is done correctly and I will do some more 
> testing/fixing/documenting over the next month or so, but it would be nice 
> if other people tried it with their favourite code, interacts, web-pages, 
> etc. To help with this I've pushed all changed to master, so those who have 
> their own installations should be using the new version, and I have also 
> set up a test instance on our Madrid server:
> http://cosmos.mat.uam.es:/
> for comparison you can also use old version at
> http://cosmos.mat.uam.es/
> 
> Thank you!
> Andrey
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-de...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.