#18642: Wrong sys.path order in sagedoc
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  user interface     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/wrong_sys_path_order_in_sagedoc|  
e101e7455c8646fa67f338b1e95f95ca70bac158
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun', 'oldvalue': ''}):

 * status:  new => needs_review
 * author:   => Volker Braun
 * component:  PLEASE CHANGE => user interface
 * commit:   => e101e7455c8646fa67f338b1e95f95ca70bac158
 * type:  PLEASE CHANGE => defect


Old description:



New description:

 See https://groups.google.com/d/msg/sage-support/tlK249DKaMs/uMIzWIVpVXYJ

 Steps to reproduce
 {{{
 $ touch conf.py
 $ sage
 [...]
 sage: PolynomialRing?
 [...]
 /usr/lib/python2.7/site-packages/sage/misc/sagedoc.pyc in
 process_extlinks(s, embedded)
     354     oldpath = sys.path
     355     sys.path = oldpath + [os.path.join(SAGE_DOC, 'common')]
 --> 356     from conf import pythonversion, extlinks
     357     sys.path = oldpath
     358     for key in extlinks:

 ImportError: No module named conf
 }}}

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=e101e7455c8646fa67f338b1e95f95ca70bac158
 e101e74]||{{{Put the path that we must import from FIRST}}}||

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