Bug 101299 - octave help system does not work
octave help system does not work
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: octave (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-30 14:00 EDT by petrosyan
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-10-01 17:37:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description petrosyan 2003-07-30 14:00:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
octave help system does not work

Version-Release number of selected component (if applicable):
octave-2.1.49-4

How reproducible:
Always

Steps to Reproduce:
1. run octave
2. type: help sin
you get: warning: help: Texinfo formatting filter exited abnormally
warning: help: raw Texinfo source of help text follows...
and then you get unintelligeble raw texinfo documentation.

3. type: help -i sin
you get:
info: /usr/local/info/octave.info: No such file or directory
help: sorry, `sin' is not indexed in the manual

octave info files are in /usr/share/info/ and not in /usr/local/info/
Comment 1 Lon Hohberger 2003-07-30 17:47:53 EDT
Packages addressing this problem are available from:

http://people.redhat.com/lhh/octave-2.1.50-2.i386.rpm
http://people.redhat.com/lhh/octave-2.1.50-2.src.rpm

And will appear in rawhide soon.
Comment 2 Lon Hohberger 2003-07-30 17:49:30 EDT
(Updating time-spent)
Comment 3 petrosyan 2003-07-30 23:00:44 EDT
octave-2.1.50-2.i386.rpm gives the following error:

octave:2> help -i sin
info: /usr/info/octave.info: No such file or directory
help: sorry, `sin' is not indexed in the manual
Comment 4 Lon Hohberger 2003-08-04 17:38:19 EDT
Ok, I actually tested and verified both cases this time ;)

Packages addressing this problem are available from:

http://people.redhat.com/lhh/octave-2.1.50-3.i386.rpm
http://people.redhat.com/lhh/octave-2.1.50-3.src.rpm

And will appear in rawhide soon.
Comment 5 petrosyan 2003-08-06 22:12:05 EDT
octave-2.1.50-3
"help -i sin" works now. but "help sin" still does not work properly:
octave:1> help sin
sin is a built-in mapper function
 
warning: help: Texinfo formatting filter exited abnormally
warning: help: raw Texinfo source of help text follows...
 
-*- texinfo -*-
@deftypefn {Mapping Function} {} sin (@var{x})
Compute the sin of each element of @var{x}.
@end deftypefn
 
........
Comment 6 Lon Hohberger 2003-09-23 15:53:32 EDT
Unfortunately, I couldn't reproduce this on 9, Severn, or Taroon...  What
version of info are you running?

Comment 7 petrosyan 2003-09-23 17:54:54 EDT
$ rpm -q info octave
info-4.5-2
octave-2.1.50-3

---------------------------------
$ octave
GNU Octave, version 2.1.50 (i686-pc-linux-gnu).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
                                                                                
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
                                                                                
Report bugs to <bug-octave@bevo.che.wisc.edu>.
                                                                                
octave:1> help sin
sin is a built-in mapper function
                                                                                
warning: help: Texinfo formatting filter exited abnormally
warning: help: raw Texinfo source of help text follows...
                                                                                
-*- texinfo -*-
@deftypefn {Mapping Function} {} sin (@var{x})
Compute the sin of each element of @var{x}.
@end deftypefn
 
Additional help for built-in functions, operators, and variables
is available in the on-line version of the manual.  Use the command
`help -i <topic>' to search the manual index.
 
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help-octave@bevo.che.wisc.edu
mailing list.
octave:2>
Comment 8 petrosyan 2003-09-23 17:56:01 EDT
help -i sin

works correctly
Comment 9 petrosyan 2003-09-26 03:46:04 EDT
I have found what the problem is:

octave rpm does not depend on texinfo rpm, but it need texinfo rpm for its
online help system.

In 'Personal Desktop' installation mode texinfo rpm did not get installed and
octave was giving errors while formatting its online system.

octave should require texinfo rpm in its dependencies
Comment 10 Lon Hohberger 2003-09-26 09:16:31 EDT
Ah! Makes sense; I was wondering why I couldn't get it to fail - yet you
couldn't get it to work... ;)
Comment 11 Lon Hohberger 2003-09-26 15:30:17 EDT
That's the correct solution.  Building packages.
Comment 12 Lon Hohberger 2003-09-29 11:19:59 EDT
Added texinfo to "Requires" field.

Packages addressing this problem are available from:

http://people.redhat.com/lhh/octave-2.1.50-7.i386.rpm
http://people.redhat.com/lhh/octave-2.1.50-7.src.rpm

These will appear in rawhide soon.
Comment 13 Lon Hohberger 2003-10-01 17:37:41 EDT
Re-closing due to bugzilla outage earlier today.

Note You need to log in before you can comment on or make changes to this bug.