Opened 7 years ago

Last modified 7 years ago

#14253 closed defect

sage.misc.sage_ostools.have_program: use os.access() — at Version 2

Reported by: jdemeyer Owned by: jason
Priority: blocker Milestone: sage-5.9
Component: misc Keywords:
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

The following is an error I cannot reproduce:

sage -t --long devel/sage/sage/misc/dist.py
**********************************************************************
File "devel/sage/sage/misc/dist.py", line 73, in sage.misc.dist.install_scripts
Failed example:
    install_scripts(str(SAGE_TMP), ignore_existing=True)
Expected:
    Checking that Sage has the command 'gap' installed
    ...
Got:
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    /bin/sh: command: not found
    Checking that Sage has the command 'gap' installed
    The command 'gap' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'gp' installed
    The command 'gp' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'hg' installed
    The command 'hg' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'ipython' installed
    The command 'ipython' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'maxima' installed
    The command 'maxima' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'mwrank' installed
    The command 'mwrank' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'R' installed
    The command 'R' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'singular' installed
    The command 'singular' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'sqlite3' installed
    The command 'sqlite3' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'M2' installed
    The command 'M2' is not available as part of Sage; not creating script.
    <BLANKLINE>
    Checking that Sage has the command 'kash' installed
    The command 'kash' is not available as part of Sage; not creating script.
    <BLANKLINE>
    No scripts created.
**********************************************************************

Change History (3)

comment:1 Changed 7 years ago by jdemeyer

  • Description modified (diff)
  • Summary changed from sage.misc.sage_ostools.have_program: use bash to sage.misc.sage_ostools.have_program: use os.access()

comment:2 Changed 7 years ago by jdemeyer

  • Description modified (diff)

Changed 7 years ago by jdemeyer

Note: See TracTickets for help on using tickets.