bugGNU Octave - Bugs: bug #52632, [octave forge] (generate_html)...

 
 

bug #52632: [octave forge] (generate_html) can't run demos with variable declarations

Submitter:  Oliver Heimlich <oheim>
Submitted:  Sun 10 Dec 2017 12:38:59 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Oliver Heimlich Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 21 Sep 2018 11:43:05 AM UTC, comment #1: 

get_output() is now in an extra file:

https://sourceforge.net/p/octave/generate_html/ci/bc9d9b973b7025ee740f9ddd7b8e17bd43ac3e63/

and a generate_package_html still worked in a test.
Closing as fixed.

Olaf Till <i7tiol>
Group Member
Sun 10 Dec 2017 12:38:59 PM UTC, original submission:  

It is no longer possible to create HTML documentation with demos, which include variable declarations.

In html_help_text.m the demo code is run with `eval` in a subfunction `get_output`, which no longer allows to create variables (see bug #51698).

Error message during generate_package_html:

ans = can not add variable "x" to a static workspace


In the doctest package, this problem could be solved by moving the eval'ing function into a separate m-file, see https://github.com/catch22/octave-doctest/issues/167

Oliver Heimlich <oheim>

 

(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 i7tiol (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by oheim (Submitted the item)
  • -email is unavailable- added by oheim (OF admin)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-21 i7tiol StatusNone Fixed
        Open/ClosedOpen Closed
    2018-03-23 jwe Summary[octave-forge] (generate_html) can't run demos with variable declarations [octave forge] (generate_html) can't run demos with variable declarations
    2017-12-10 oheim Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code