octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48005] menu() does not work without X


From: anonymous
Subject: [Octave-bug-tracker] [bug #48005] menu() does not work without X
Date: Wed, 25 May 2016 02:20:34 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/bugs/?48005>

                 Summary: menu() does not work without X
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 25 May 2016 02:20:32 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Atri Bhattacharya
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Open a terminal on a system without X and try to run


> octave --no-gui --no-window-system
octave:1> a = menu('title', {'a', 'b', 'c'})


This gives an error:


error: [java] java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which
requires it.
error: called from
    listdlg at line 147 column 9
    menu at line 58 column 16


This is contrary to what the documentation for menu() says:
If the GUI is running, or Java is available, the menu is displayed graphically
using 'listdlg'.  Otherwise, the title and menu options are printed on the
console






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48005>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]