Description of problem:
It is impossible to view Octave help via QtOctave graphical interface now for some reason.
Version-Release number of selected component (if applicable): 0.10.1-3.fc15
How reproducible: always
Steps to Reproduce:
1. Press F1 or select 'Help --> Octave help'
The help window does not show up. The Octave Terminal window in QtOctave reads the following:
Starting info: qtoctave-info-reader /usr/share/info/octave.info > /dev/null
>>>error: system: can't return output from commands run asynchronously
error: called from:
error: /usr/share/qtoctave/scripts_octave/qtinfo.m at line 4, column 2
Expected results: Well, obviously the help must work as it used to do.
Looks like this stopped working with the latest version of Octave. :-(
Unfortunately, QtOctave upstream is no longer active, so I'm not sure when and even if we can fix this.
So actually, the problem there is quite obvious:
system(command, 1, "async");
in qtinfo.m makes no sense. We can't return the stdout of a command run asynchronously, because we return before any stdout is produced. Apparently old versions of Octave didn't complain about this, but the current one does. In this case, stdout is piped to /dev/null anyway, so the argument to return stdout is just nonsense. I'm changing this to:
system(command, 0, "async");
qtoctave-0.10.1-7.fc16 has been submitted as an update for Fedora 16.
qtoctave-0.10.1-7.fc15 has been submitted as an update for Fedora 15.
qtoctave-0.10.1-7.fc14 has been submitted as an update for Fedora 14.
So it looks like this only affects Octave >= 3.4.0. In particular, Fedora 14 with Octave 3.2.4 shouldn't be affected unless you're using a newer Octave. (It is possible to configure QtOctave to use an Octave binary in a non-default location.)
But in any case, the fix is trivial (1 character) and already queued to stable.
qtoctave-0.10.1-7.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
qtoctave-0.10.1-7.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
qtoctave-0.10.1-7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.