#11080: move notebook to flask/wsgi-based notebook
--------------------------------------------------+-------------------------
   Reporter:  jason                               |          Owner:  jason, 
mpatel, was                                 
       Type:  enhancement                         |         Status:  needs_info 
                                        
   Priority:  blocker                             |      Milestone:  sage-5.0   
                                        
  Component:  notebook                            |       Keywords:  sd31 
sd35.5                                        
Work_issues:                                      |       Upstream:  N/A        
                                        
   Reviewer:  Rado Kirov, Dan Drake, Jason Grout  |         Author:  Mike 
Hansen, Rado Kirov, William Stein, Jason Grout
     Merged:                                      |   Dependencies:  #11078, 
#11874, #12229, #11503, #12327             
--------------------------------------------------+-------------------------

Comment(by gutow):

 Arrrgh...after rebuild (./sage -b). The notebook launches with an error
 {{{

 ImportError                               Traceback (most recent call
 last)

 /home/jonathan/.sage/<ipython console> in <module>()

 /home/jonathan/Documents/sage-5.0.beta2/devel/sagenb-
 main/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds)
     215     """
     216     def __call__(self, *args, **kwds):
 --> 217         return self.notebook(*args, **kwds)
     218
     219     notebook = run_notebook.notebook_twisted

 /home/jonathan/Documents/sage-5.0.beta2/devel/sagenb-
 main/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory,
 port, interface, address, port_tries, secure, reset, accounts,
 require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path,
 start_path, fork, quiet, subnets)
     200         print '*' * 70
     201
 --> 202     nb = notebook.load_notebook(directory)
     203
     204     directory = nb._dir

 /home/jonathan/Documents/sage-5.0.beta2/devel/sagenb-
 main/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port,
 secure)
    1807     # mainly to avoid circular references, etc.  This also means
    1808     # only one notebook can actually be used at any point.
 -> 1809     import sagenb.notebook.twist
    1810     sagenb.notebook.twist.notebook = nb
    1811

 /home/jonathan/Documents/sage-5.0.beta2/devel/sagenb-
 main/sagenb/notebook/twist.py in <module>()
      40
      41 from twisted.python import log
 ---> 42 from twisted.web2 import server, http, resource, channel
      43 from twisted.web2 import static, http_headers, responsecode
      44 from twisted.web2.filter import gzip

 ImportError: No module named web2
 }}}
 Did I miss something or is there a new problem?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11080#comment:107>
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