#15308: init.sage file is not read when starting the notebook
------------------------------+------------------------
       Reporter:  jhpalmieri  |        Owner:
           Type:  defect      |       Status:  new
       Priority:  critical    |    Milestone:  sage-6.3
      Component:  misc        |   Resolution:
       Keywords:              |    Merged in:
        Authors:              |    Reviewers:
Report Upstream:  N/A         |  Work issues:
         Branch:              |       Commit:
   Dependencies:              |     Stopgaps:
------------------------------+------------------------

Comment (by RJBarker):

 An example of output caused by this bug is:

 Traceback (most recent call last):    #The
 OrthogonalCurvilinearOutput.sage file will output the coefficients and
 differential operators defined
   File "", line 1, in <module>

   File "/tmp/tmpPnuBJt/___code___.py", line 7, in <module>
     attach('CartesianCoord.sage')
   File "lazy_import.pyx", line 358, in
 sage.misc.lazy_import.LazyImport.__call__ (sage/misc/lazy_import.c:3000)
   File "/home/sagedev/sage/local/lib/python2.7/site-
 packages/sage/misc/attached_files.py", line 344, in attach
     load(filename, globals(), attach=True)
   File "/home/sagedev/sage/local/lib/python2.7/site-
 packages/sage/misc/preparser.py", line 1769, in load
     execfile(preparse_file_named(fpath), globals)
   File
 "/home/sagedev/.sage/temp/ubuntu/18360/CartesianCoord.sage6m7Baj.py", line
 18, in <module>
     var('q_1,q_2,q_3,x_1,x_2,x_3')
 NameError: name 'var' is not defined

--
Ticket URL: <http://trac.sagemath.org/ticket/15308#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to