Opened 8 years ago

Closed 7 years ago

#18642 closed defect (fixed)

Wrong sys.path order in sagedoc

Reported by: Volker Braun Owned by:
Priority: major Milestone: sage-6.8
Component: user interface Keywords:
Cc: Merged in:
Authors: Volker Braun Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: e101e74 (Commits, GitHub, GitLab) Commit: e101e7455c8646fa67f338b1e95f95ca70bac158
Dependencies: Stopgaps:

Status badges

Description (last modified by Volker Braun)


Steps to reproduce

$ touch
$ 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

Change History (4)

comment:1 Changed 8 years ago by Volker Braun

Branch: u/vbraun/wrong_sys_path_order_in_sagedoc

comment:2 Changed 8 years ago by Volker Braun

Authors: Volker Braun
Commit: e101e7455c8646fa67f338b1e95f95ca70bac158
Component: PLEASE CHANGEuser interface
Description: modified (diff)
Status: newneeds_review

New commits:

e101e74Put the path that we must import from FIRST

comment:3 Changed 7 years ago by Jeroen Demeyer

Reviewers: Jeroen Demeyer
Status: needs_reviewpositive_review

comment:4 Changed 7 years ago by Volker Braun

Branch: u/vbraun/wrong_sys_path_order_in_sagedoce101e7455c8646fa67f338b1e95f95ca70bac158
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.