Opened 11 years ago

Last modified 5 months ago

#10117 new defect

Help on macaulay2_console should document this is optional

Reported by: drkirkby Owned by: mvngu
Priority: minor Milestone: sage-9.5
Component: interfaces: optional Keywords: Macaulay2, console, _install_hints
Cc: slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by leif)

Running:

sage: macaulay2_console()
sh: line 1: M2: not found

gives that above error message, but the help page does not document this is an optional program, and not part of Sage.

sage: help(macaulay2_console)

macaulay2_console()
    Spawn a new M2 command-line session.
    
    EXAMPLES:
        sage: macaulay2_console()                    # not tested
        Macaulay 2, version 1.1
        with packages: Classic, Core, Elimination, IntegralClosure, LLLBases, Parsing, PrimaryDecomposition, SchurRings, TangentCone
        ...

Related: #11710 (Macaulay2 build error; perhaps upgrading the package)

Change History (11)

comment:1 Changed 11 years ago by novoselt

  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 10 years ago by leif

  • Description modified (diff)

comment:3 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:4 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:5 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:6 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:7 Changed 2 years ago by mkoeppe

  • Keywords Macaulay2 added

comment:8 Changed 16 months ago by slelievre

This is true of all external software consoles -- try any of them:

sage: _ = any(print(x) for x in dir() if 'console' in x)
axiom_console
fricas_console
gap3_console
gap_console
giac_console
gnuplot_console
gp_console
kash_console
lie_console
lisp_console
macaulay2_console
magma_console
maple_console
mathematica_console
matlab_console
maxima_console
mupad_console
mwrank_console
octave_console
qepcad_console
r_console
sage0_console
singular_console

When Pexpect calls fail, useful tips are displayed via the interface's _install_hints method.

We should also display this installation information when console calls fail.

comment:9 Changed 16 months ago by slelievre

  • Cc slelievre added
  • Component changed from documentation to interfaces: optional
  • Keywords console _install_hints added
  • Milestone changed from sage-6.4 to sage-9.3

comment:10 Changed 10 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

comment:11 Changed 5 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.