bugGNU Octave - Bugs: bug #44337, doc/interpreter/doc-cache empty...

 
 

bug #44337: doc/interpreter/doc-cache empty since cset 4f6ae6b94abe

Submitter:  Mike Miller <mtmiller>
Submitted:  Sat 21 Feb 2015 05:22:15 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 22 Feb 2015 04:24:02 AM UTC, comment #6: 

Yes, working for me too, thanks.

Mike Miller <mtmiller>
Group Member
Sun 22 Feb 2015 01:37:24 AM UTC, comment #5: 

I checked in the following changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/bafcfc5b99af

It seems to work for me now.

John W. Eaton <jwe>
Group administrator
Sun 22 Feb 2015 01:28:22 AM UTC, comment #4: 

Making it condition on nargout sounds good to me.

Adding Andy to the cc list.

Mike Miller <mtmiller>
Group Member
Sun 22 Feb 2015 01:10:19 AM UTC, comment #3: 

Also, it seems that the documentation of this feature was removed at some point.  Strange.

I proposed to have "-" mean write to stdout if nargout is 0, otherwise, if nargout is > 0, return the output in a string.

John W. Eaton <jwe>
Group administrator
Sun 22 Feb 2015 01:06:35 AM UTC, comment #2: 

Hmm.  Why was this change made?

http://hg.savannah.gnu.org/hgweb/octave/rev/d5db1019ad4a

Prior to this change, save '-' wrote the results to stdout.  Now it returns the output as a string.

John W. Eaton <jwe>
Group administrator
Sat 21 Feb 2015 05:51:06 PM UTC, comment #1: 

And the reason the file is empty is because the following does not work in Octave:


$ octave --eval 'x = 12; save ("-text", "-", "x");'


This works instead:


$ octave --eval 'x = 12; save ("-text", "/dev/stdout", "x");'


but is of course Unixy-specific.

Mike Miller <mtmiller>
Group Member
Sat 21 Feb 2015 05:22:15 PM UTC, original submission:  

The changes to silence the build rules seems to have broken doc-cache for me. The file always comes out empty. The command seems to be running but produces nothing in the end.

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-22 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2015-02-22 mtmiller Carbon-Copy- Added andy1978

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code