Changes between Version 29 and Version 36 of Ticket #25668


Ignore:
Timestamp:
07/15/18 19:17:44 (15 months ago)
Author:
slelievre
Comment:

Making ticket summary and description reflect the diagnosis and the proposed fix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25668

    • Property Status changed from needs_work to needs_review
    • Property Authors changed from to John Palmieri
    • Property Summary changed from Binary releases: give better error message if anaconda is present to Run relocate-once.py with Sage's Python2 and with error checking
    • Property Branch changed from to u/jhpalmieri/python2-relocate-once
    • Property Commit changed from to 030c1bc8519f9eb3be9ffc8cc37951e6dfc43ca5
  • Ticket #25668 – Description

    v29 v36  
    1 Apparently if Anaconda is installed, you get this message when you run a newly installed Sage binary:
     1Running Sage for the first time after installing from binary under
     2Linux or macOS leads to running `relocate-once.py`. When it is run
     3by Python3 (eg the one installed by Anaconda), it leads to the
     4following error.
    25{{{
    36$ ./sage
     
    1114************************************************************************
    1215}}}
    13 Can we give a better error message?
     16which seems to come from Python3 choking on a very long line in
     17`relocate-once.py`, because of the Python3 bug described as
     18[[https://bugs.python.org/issue32758|Python issue 32758]].
    1419
    15 See
     20See reports by Sage users at
    1621
    1722- https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/
     
    1924- https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/
    2025
    21 Reported "upstream" at https://github.com/sagemath/binary-pkg/issues/16
     26Reported in "upstream" binary-pkg at https://github.com/sagemath/binary-pkg/issues/16
     27
     28To 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.