Changes between Version 36 and Version 59 of Ticket #25668


Ignore:
Timestamp:
12/29/18 18:13:27 (12 months ago)
Author:
slelievre
Comment:

(Editing ticket description to reflect that the fix is not the one suggested by the ticket summary.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25668

    • Property Status changed from needs_review to closed
    • Property Reviewers changed from to Jeroen Demeyer, Volker Braun
    • Property Cc embray saraedum vbraun added
    • Property Milestone changed from sage-8.3 to sage-8.5
    • Property Priority changed from critical to minor
    • Property Branch changed from u/jhpalmieri/python2-relocate-once to abb2a89e1d211acc7d7d25c233707fe299f04f15
    • Property Commit changed from 030c1bc8519f9eb3be9ffc8cc37951e6dfc43ca5 to
    • Property Resolution changed from to fixed
  • Ticket #25668 – Description

    v36 v59  
    11Running Sage for the first time after installing from binary under
    2 Linux or macOS leads to running `relocate-once.py`. When it is run
    3 by Python3 (eg the one installed by Anaconda), it leads to the
    4 following error.
     2Linux or macOS leads to running `relocate-once.py`.
     3
     4Before this ticket, when run by Python 3 (eg as installed by Anaconda),
     5it would lead to the following error.
    56{{{
    67$ ./sage
     
    2425- https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/
    2526
    26 Reported in "upstream" binary-pkg at https://github.com/sagemath/binary-pkg/issues/16
     27Reported in "upstream" binary-pkg at [[https://github.com/sagemath/binary-pkg/issues/16|binary-pkg issue 16]] -- see the fix there.
    2728
    28 To fix the issue, this ticket
    29 - makes `relocate-once.py` be run with Sage's Python2, which should prevent the `RecursionError`,
    30 - adds error-checking after running relocate-once.py, with a meaningful error in case of failure.
     29After that fix, relocate-once.py can run with Python 3, and this ticket adds
     30error-checking after running relocate-once.py, with a meaningful error
     31in case of failure.
     32
     33The tentative solution at one point was to make `relocate-once.py` be run
     34with Sage's Python2, whence the now-inaccurate ticket summary.