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


bug #61629: [octave forge] (generate_html): install fail idx++

Submitter:  John Donoghue <lostbard>
Submitted:  Mon 06 Dec 2021 06:51:42 PM UTC
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  lostbard Open/Closed:  * Closed
Release:  * 7.0.90 Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Tue 03 May 2022 07:00:16 PM UTC, comment #2: 
John Donoghue <lostbard>
Project Member
Mon 06 Dec 2021 07:34:26 PM UTC, comment #1: 

Octave changed the way it interprets command syntax. See also bug #60882. We should probably add something about this in the NEWS file.

Like in your patch, the generate_html package would need to change `idx ++` to `idx++` to be compatible with the new parsing rules.

Markus M├╝tzel <mmuetzel>
Project Member
Mon 06 Dec 2021 06:51:42 PM UTC, original submission:  

In dev octave 7, attempting to install generate_html:

octave:1> pkg install -forge generate_html
error: parse error near line 89 of file /home/jade/.local/share/octave/api-v56+/packages/generate_html-0.3.2/txi2index.m

  idx: invalid use of symbol as both variable and command

>>>           idx ++;
error: called from
    doc_cache_create>create_cache at line 116 column 20
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 16
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9

Same error occurs from repo.

John Donoghue <lostbard>
Project Member


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

Attach Files:

Attached Files
file #52443:  bug61629.patch added by lostbard (2KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by lostbard (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 project members can vote.





    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-03 lostbard StatusPatch Submitted Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2021-12-06 lostbard Attached File- Added bug61629.patch, #52443
        StatusNone Patch Submitted
        Originator Name lostbard

    Back to the top

    Powered by Savane 3.9