Opened 5 years ago

Last modified 5 years ago

#21135 closed defect

octave >= 4.0 launches GUI by default — at Version 4

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-7.4
Component: interact Keywords:
Cc: chapoton, charpent Merged in:
Authors: Vincent Delecroix Reviewers:
Report Upstream: N/A Work issues:
Branch: u/vdelecroix/21135 (Commits, GitHub, GitLab) Commit: 138920133555e167a5776756f39e9ebbcd4cee57
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

With recent octave versions (>= 4.0)

sage: octave('1')  # hangs forever

The reason is that newer octave launch the GUI interface by default (there is an option --no-gui to get rid of it). See https://www.gnu.org/software/octave/NEWS-4.0.html

Apparently, they also changed the prompt from > to >>.

$ octave --no-gui --silent
>> 1
ans =  1

but this is not documented in the changelog.


Note: to test this branch, you should

  • applying the branch
  • make sage -b
  • run the tests octave tests with
    $ export SAGE_ROOT=$(sage -root)
    $ sage -t --optional=sage,octave $SAGE_ROOT/src/sage/interfaces/octave.py
    

Change History (4)

comment:1 Changed 5 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 5 years ago by vdelecroix

  • Description modified (diff)
  • Summary changed from newer octave launch GUI by default to octave >= 4.0 launches GUI by default

comment:3 Changed 5 years ago by vdelecroix

  • Authors set to Vincent Delecroix
  • Branch set to u/vdelecroix/21135
  • Commit set to 138920133555e167a5776756f39e9ebbcd4cee57
  • Status changed from new to needs_review

New commits:

138920121135: fix octave interface for version >= 4.0

comment:4 Changed 5 years ago by vdelecroix

  • Description modified (diff)
Note: See TracTickets for help on using tickets.