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


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

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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-06 lostbard Attached File- => Added bug61629.patch, #52443
        StatusNone => Patch Submitted
        Originator Name => lostbard

    Back to the top

    Powered by Savane 3.7