[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 |
URL:
<http://savannah.gnu.org/bugs/?52632>
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
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52632>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #52632] [octave-forge] (generate_html) can't run demos with variable declarations,
Oliver Heimlich <=