octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47337] [OF] generate_package_html.m: infinite


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #47337] [OF] generate_package_html.m: infinite loop "GL2PS warning: Unknown token in buffer"
Date: Fri, 04 Mar 2016 11:23:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38

URL:
  <http://savannah.gnu.org/bugs/?47337>

                 Summary: [OF] generate_package_html.m: infinite loop "GL2PS
warning: Unknown token in buffer"
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Fri 04 Mar 2016 12:23:33 PM CET
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: philipnienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

While trying to generate the html for a new io package release in
octave-4.1.0+ in Windows 7, the function generate_package_html (from OF
generate-html) gets in an infinite loop (the latter inferred from continuing
CPU usage) with:

generate_package_html ("io", "io-html", "octave-forge")
:
< scrolled out of sight / buffer >
< many, many of: >
GL2PS warning: Unknown token in buffer
GL2PS warning: Unknown token in buffer
GL2PS warning: Unknown token in buffer



-messages.
The number of warnings does not increase; I could simply select and copy the
gl2ps warnings from the terminal output w/o it scrolling out of sight.
The gl2ps warnings ignored the "more on" setting => that apparently doesn't
work on stderr.

In octave-4.0.1-rc1 generate-package-html worked fine, hence "regression" but
I didn't enter that tag as it relates to an OF package, not core Octave.

This occurs with OF-generate_html 0.1.9 and 0.1.10.

Perhaps related: during generate_package_html processing a figure was created
(probably from an xmlread.m or xmlwrite.m demo), and in octave-4.0.1-rc1 I get
warnings:

>> generate_package_html ("io", "io-html", "octave-forge")
[Fatal Error] oct-y7dX18.svg:3213:83: The value of attribute points"
associated with an element type "polyline" must not contain the '<'
character.
[java] org.xml.sax.SAXParseException; systemId:
file:///C:/Users/philip/AppData/Local/Temp/oct-y7dX18.svg; lineNumber: 3213;
columnNumber: 83; The value of attribute "points" associated with an element
type "polyline" must not contain the '<' character.
warning: delete: __diary__.txt: Permission denied
ans = xmlread: couldn't load and parse
"C:\Users\philip\AppData\Local\Temp\oct-y7dX18.svg"
warning: delete: __diary__.txt: Permission denied
str = <?xml version="1.0" encoding="UTF-8"?>
<RootNode created="04-Mar-2016">
    <TextChild useful="no" verbose="yes">These are text data</TextChild>
</RootNode>

>>

Whatever the cause, *if*  this is related, I think generate_package_html.m
shouldn't be hanging due to errors in code it is processing.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47337>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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