bugGNU Octave - Bugs: bug #55843, pkg install URL raises error:...

 
 

bug #55843: pkg install URL raises error: 'file_idx' undefined near line 471 column 21

Submitter:  Mike Miller <mtmiller>
Submitted:  Wed 06 Mar 2019 05:19:49 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Mar 2019 08:15:22 PM UTC, comment #5: 

Tested, works for me!

Colin Macdonald <cbm>
Wed 06 Mar 2019 05:51:54 PM UTC, comment #4: 

Okay, I checked in a cset here (https://hg.savannah.gnu.org/hgweb/octave/rev/65c036b78040).  Marking as Ready for Test.

Rik <rik5>
Group administrator
Wed 06 Mar 2019 05:38:39 PM UTC, comment #3: 

Oops, yes, either of the following


pkg install https://github.com/apjanke/octave-testify/releases/download/v0.1.0/testify-0.1.0.tar.gz
pkg install https://github.com/cbm755/octsympy/releases/download/v2.7.1/symbolic-2.7.1.tar.gz


Mike Miller <mtmiller>
Group Member
Wed 06 Mar 2019 05:36:33 PM UTC, comment #2: 

The only occurrence of "file_idx" that I see in pkg.m is at line 470.  So, an additional small error is that the interpreter is not returning the correct line number.

Rik <rik5>
Group administrator
Wed 06 Mar 2019 05:31:54 PM UTC, comment #1: 

@Mike: Do you have a test URL I can use for testing?

Rik <rik5>
Group administrator
Wed 06 Mar 2019 05:19:49 PM UTC, original submission:  

On the development branch, 'pkg install URL' is now failing with an error message


>> pkg install https://...
error: 'file_idx' undefined near line 471 column 21
error: called from
    pkg at line 471 column 31


This regression was introduced with https://hg.savannah.gnu.org/hgweb/octave/rev/5bfbcbec6826, where the file_idx loop counter was removed but a stray reference to it was left behind at the end of the loop body.

Cc apjanke and rik who co-authored the patch for bug #55515.

Mike Miller <mtmiller>
Group Member

 

(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 cbm (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by mtmiller
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-07 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2019-03-06 rik5 StatusConfirmed Ready For Test
    2019-03-06 mtmiller Carbon-CopyRemoved 80942 -
    2019-03-06 mtmiller Carbon-Copy- Added apjanke
        Carbon-Copy- Added rik5

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code