bugGNU Octave - Bugs: bug #62384, Bug in generate_html package due...

 
 

bug #62384: Bug in generate_html package due to changes in Octave 7.1.0

Submitter:  José Luis García Pallero <jgpallero>
Submitted:  Fri 29 Apr 2022 05:50:31 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 May 2022 02:50:55 PM UTC, comment #4: 

A new version of the generate_html package has been released so closing as fixed

John Donoghue <lostbard>
Group Member
Tue 03 May 2022 06:21:18 PM UTC, comment #3: 

Oopsie, I didn't even note bug #61629, I just hit this myself (along with similar bugs in other packages) and fixed the generate_html package right away.  (IIRC was on New Years Eve so I didn't have much chance to delve deeper into it anyway).

Philip Nienhuis <philipnienhuis>
Group Member
Tue 03 May 2022 01:05:38 PM UTC, comment #2: 

Patch available in #61629

I will create a new release in the next day or so if no one has any objections.

John Donoghue <lostbard>
Group Member
Fri 29 Apr 2022 08:32:53 PM UTC, comment #1: 

Confirmed.

I've silently fixed this in the on-line repo a while ago:
http://hg.code.sf.net/p/octave/generate_html/rev/50ef077f3792

You can apply the fixes yourself (just 3 occurrences) or wait for an updated generate_html release.

I'll set status to "Ready for test".

Philip Nienhuis <philipnienhuis>
Group Member
Fri 29 Apr 2022 05:50:31 PM UTC, original submission:  

I'm running Octave 7.1.0 in windows and I've obtained an error installing the generate_html package from octave Forge due to a change in the new version:


The increment and decrement operators ++ and -- must “hug” their corresponding variables. In previous versions of Octave, whitespaces between these operators and the variable they affect were allowed. That is no longer the case.


The error is


error: parse error near line 89 of file /opt/octave/share/octave/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


José Luis García Pallero <jgpallero>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-05 lostbard StatusReady For Test Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2022-05-03 philipnienhuis Carbon-Copy- Added philipnienhuis
    2022-04-29 philipnienhuis StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code