[sage-cell] Re: Sagecell server failure

2018-04-16 Thread Andrey Novoseltsev
On Monday, 16 April 2018 18:31:45 UTC-6, Kwankyu Lee wrote:
>
> Hi Andrey,
>
> This is my final report about this issue. 
>
> As I could not fix things, I ended up removing all sage and sagecell and 
> reinstalled them from scratch. Then I got 
>
> AttributeError: type object 'IOLoop' has no attribute 'initialized' 
>
> I learned that this is caused by a wrong version (5.0.2) of tornado. So I 
> downgraded tornado to the version 4.3. Then voilĂ , the problem disappeared!
>
> I don't know how the "too advanced" version of tornado had got to be 
> installed into sage...
>

Hmmm, I wonder if "--upgrade" in Step 3 of instructions can do it. I'm 
pretty sure the switch was there for a reason as we had to have newer 
version of something a long time ago, but now perhaps it is OK not to 
upgrade implicit dependencies.


> Some other remarks:
>
> (1) In README.md, "for building virtual machine images in contib/vm 
> . In 
> particular, " 
>
> --> "contrib/vm"
>
> (2) In README.md, "Of particular interest are host and username entries of 
> the _default_config dictionary"
>
> You seem to have changed "_default_config" to "provider_info".
>
>
Thank you! Fixed both - I try to go over these instructions whenever I need 
to install a new development server, but that does not happen very often. 
If you find any other other issues or missing points in documentation, 
please report or submit a PR!


> That's it. Thank you for maintaining SageMathCell!
>
>
> Kwankyu
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/67cd8a58-09bd-4fb7-841b-e0a3f2ead6b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cell] Re: Sagecell server failure

2018-04-16 Thread Kwankyu Lee
Hi Andrey,

This is my final report about this issue. 

As I could not fix things, I ended up removing all sage and sagecell and 
reinstalled them from scratch. Then I got 

AttributeError: type object 'IOLoop' has no attribute 'initialized' 

I learned that this is caused by a wrong version (5.0.2) of tornado. So I 
downgraded tornado to the version 4.3. Then voilĂ , the problem disappeared!

I don't know how the "too advanced" version of tornado had got to be 
installed into sage...

Some other remarks:

(1) In README.md, "for building virtual machine images in contib/vm 
. In 
particular, " 

--> "contrib/vm"

(2) In README.md, "Of particular interest are host and username entries of 
the _default_config dictionary"

You seem to have changed "_default_config" to "provider_info".


That's it. Thank you for maintaining SageMathCell!


Kwankyu

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/4f4f70bf-1cd0-4425-a5eb-fbd27a7d6182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cell] Re: Sagecell server failure

2018-04-15 Thread Andrey Novoseltsev
On Thursday, 12 April 2018 23:27:51 UTC-6, Kwankyu Lee wrote:
>
> I found a clue. 
>
> tornado deprecated (version >= 4.1) `io_loop` argument of the class 
> tornado.ioloop.PeriodicCallback and removed (version >= 5.0) the argument. 
> But sockjs.tornado was not updated accordingly yet.
>

That does not explain why you have the error, given that Sage has an older 
version of tornado and SageMathCell is supposed to use whatever is 
installed in Sage. sockjs.tornado does not seem to be maintained much - I 
managed to get a CORS-related patch in, but the version on PyPi still does 
not have it. Perhaps nowadays sockjs is just not really necessary anymore? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/093af05b-5eeb-43f7-a113-00bc985647f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cell] Re: Sagecell server failure

2018-04-12 Thread Kwankyu Lee
I found a clue. 

tornado deprecated (version >= 4.1) `io_loop` argument of the class 
tornado.ioloop.PeriodicCallback and removed (version >= 5.0) the argument. 
But sockjs.tornado was not updated accordingly yet.



-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/145cc95f-0336-4302-bbed-49728b8ec275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cell] Re: Sagecell server failure

2018-04-12 Thread Kwankyu Lee


On Friday, April 13, 2018 at 12:14:03 PM UTC+9, Andrey Novoseltsev wrote:
>
> No idea and given that we do not use system python - no idea how the os 
> upgrade could cause it...
>

Right... Thanks anyway! 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/56cd3ca8-14f0-4f30-a05c-ff6e28a4695b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cell] Re: Sagecell server failure

2018-04-12 Thread Andrey Novoseltsev
No idea and given that we do not use system python - no idea how the os 
upgrade could cause it...

On Thursday, 12 April 2018 01:55:46 UTC-6, Kwankyu Lee wrote:
>
> Hi,
>
> I noticed my sagecell server fails to start.
>
> Apr 12 16:48:52 hades sage[1016]:   File "web_server.py", line 15, in 
> 
> Apr 12 16:48:52 hades sage[1016]: import handlers
> Apr 12 16:48:52 hades sage[1016]:   File 
> "/home/sage/sagecell/sagecell/handlers.py", line 282, in 
> Apr 12 16:48:52 hades sage[1016]: KernelRouter = 
> sockjs.tornado.SockJSRouter(SockJSHandler, "/sockjs")
> Apr 12 16:48:52 hades sage[1016]:   File 
> "/home/sage/sagecell/sage/local/lib/python2.7/site-packages/sockjs/tornado/router.py",
>  
> line 111, in __init_
> Apr 12 16:48:52 hades sage[1016]: self.io_loop)
> Apr 12 16:48:52 hades sage[1016]: TypeError: __init__() takes exactly 3 
> arguments (4 given)
>
> It seems that I am getting this after recent updates to the ubuntu os via 
> apt. Any idea? 
>
>
> Kwankyu 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/2efb72f5-140a-4361-bd4c-ad3ca2866f73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.