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

do not work with tornado>=5.1.1 #125

Closed
jingpengw opened this issue Mar 12, 2019 · 1 comment
Closed

do not work with tornado>=5.1.1 #125

jingpengw opened this issue Mar 12, 2019 · 1 comment

Comments

@jingpengw
Copy link
Contributor

jingpengw commented Mar 12, 2019

Thanks for this great package.

The default installation from setup.py will install tornado 5.1.1, and is not working properly now. It works with tornado 5.0.

This is the error message I got:

In [1]: import neuroglancer as ng                                                                           
---------------------------------------------------------------------------                                 
ImportError                               Traceback (most recent call last)                                 
<ipython-input-1-4c1b9d133e96> in <module>()                                                                
----> 1 import neuroglancer as ng                                                                           
                                                                                                            
/usr/local/lib/python3.5/dist-packages/neuroglancer/__init__.py in <module>()                               
     14                                                                                                     
     15 from __future__ import absolute_import                                                              
---> 16 from .server import set_static_content_source, set_server_bind_address, is_server_running, stop     
     17 from .static import dist_dev_static_content_source                                                  
     18 from .viewer import Viewer, UnsynchronizedViewer                                                    
                                                                                                            
/usr/local/lib/python3.5/dist-packages/neuroglancer/server.py in <module>()                                 
     28 import tornado.web                                                                                  
     29                                                                                                     
---> 30 import sockjs.tornado                                                                               
     31                                                                                                     
     32 from . import local_volume, static                                                                  
                                                                                                            
/usr/local/lib/python3.5/dist-packages/sockjs/tornado/__init__.py in <module>()                             
      1 # -*- coding: utf-8 -*-                                                                             
      2                                                                                                     
----> 3 from .router import SockJSRouter                                                                    
      4 from .conn import SockJSConnection                                                                  
                                                                                                            
/usr/local/lib/python3.5/dist-packages/sockjs/tornado/router.py in <module>()                               
      9 from tornado import ioloop, version_info                                                            
     10                                                                                                     
---> 11 from sockjs.tornado import transports, session, sessioncontainer, static, stats, proto              
     12                                                                                                     
     13                                                                                                     
                                                                                                            
/usr/local/lib/python3.5/dist-packages/sockjs/tornado/transports/__init__.py in <module>()                  
      1 # -*- coding: utf-8 -*-                                                                             
      2                                                                                                     
----> 3 import sockjs.tornado.transports.pollingbase                                                        
      4                                                                                                     
      5 from .xhr import XhrPollingTransport, XhrSendHandler                                                
                                                                                                            
/usr/local/lib/python3.5/dist-packages/sockjs/tornado/transports/pollingbase.py in <module>()               
      7 """                                                                                                 
      8                                                                                                     
----> 9 from sockjs.tornado import basehandler                                                              
     10 from sockjs.tornado.transports import base                                                          
     11                                                                                                     
                                                                                                            
/usr/local/lib/python3.5/dist-packages/sockjs/tornado/basehandler.py in <module>()                          
     11 import logging                                                                                      
     12                                                                                                     
---> 13 from tornado.web import asynchronous, RequestHandler                                                
     14                                                                                                     
     15 CACHE_TIME = 31536000                                                                               
                                                                                                            
ImportError: cannot import name 'asynchronous'                                                              
@jbms
Copy link
Collaborator

jbms commented Mar 13, 2019

This is a problem with the upstream sockjs-tornado package that the Neuroglancer python integration depends on.

mrjoes/sockjs-tornado#117

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