[Top][All Lists]

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

[Octave-bug-tracker] [bug #52632] [octave-forge] (generate_html) can't r

From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #52632] [octave-forge] (generate_html) can't run demos with variable declarations
Date: Sun, 10 Dec 2017 07:39:01 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: [octave-forge] (generate_html) can't run demos with
variable declarations
                 Project: GNU Octave
            Submitted by: oheim
            Submitted on: Sun 10 Dec 2017 01:38:59 PM CET
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Oliver Heimlich
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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