#13535: Tab completion failing on dynamic help pages on 5.3
------------------------+---------------------------------------------------
   Reporter:  nthiery   |             Owner:  jason, mpatel, was
       Type:  defect    |            Status:  new               
   Priority:  major     |         Milestone:  sage-5.4          
  Component:  notebook  |          Keywords:                    
Work issues:            |   Report Upstream:  N/A               
  Reviewers:            |           Authors:                    
  Merged in:            |      Dependencies:                    
   Stopgaps:            |  
------------------------+---------------------------------------------------
 How to reproduce on Sage 5.3 main on Unbuntu 11.10. Run:
 {{{
    sage -notebook
 }}}

 Go to any help page, and type in
 {{{
    o = 3
    o.<tab>
 }}}

 Nothing happens and the following traceback appears in the terminal
 where sage-notebook was launched:
 {{{
         Traceback (most recent call last):
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py",
 line 190, in _worker
             o = self.q.get()
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
 line 118, in callWithContext
             return self.currentContext().callWithContext(ctx, func, *args,
 **kw)
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
 line 83, in callWithContext
             self.contexts.pop()
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line
 340, in run
             self.started = True
         --- <exception caught here> ---
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line
 315, in run
             appIterator = self.application(self.environ,
 self.startResponse)
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1701, in __call__
             return self.wsgi_app(environ, start_response)
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1689, in wsgi_app
             response = self.make_response(self.handle_exception(e))
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1687, in wsgi_app
             response = self.full_dispatch_request()
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1360, in
 full_dispatch_request
             rv = self.handle_user_exception(e)
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1358, in
 full_dispatch_request
             rv = self.dispatch_request()
           File "/opt/sage-5.3/local/lib/python2.7/site-
 packages/Flask-0.9-py2.7.egg/flask/app.py", line 1344, in dispatch_request
             return self.view_functions[rule.endpoint](**req.view_args)
           File "/opt/sage-5.3/devel/sagenb/flask_version/decorators.py",
 line 27, in wrapper
             return f(*args, **kwds)
           File "/opt/sage-5.3/devel/sagenb/flask_version/worksheet.py",
 line 45, in wrapper
             return f(username, id, **kwds)
           File "/opt/sage-5.3/devel/sagenb/flask_version/worksheet.py",
 line 115, in wrapper
             raise NotImplementedError("User _sage_ can not access URL
 %s"%target)
         exceptions.NotImplementedError: User _sage_ can not access URL
 introspect
 }}}

 There is no such failure in 5.1.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13535>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to