bugGNU Octave - Bugs: bug #54152, 'load' function can not be...

 
 

bug #54152: 'load' function can not be resolved.

Submitter:  Marc Dirix <dirixmjm>
Submitted:  Tue 19 Jun 2018 01:55:49 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Marc Dirix Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Jun 2018 03:08:12 PM UTC, comment #5: 

See bug #54030.  I think this problem has already been fixed on stable.  Sorry I didn't immediately remember the other bug report.
Closing as a duplicate.

John W. Eaton <jwe>
Group administrator
Tue 19 Jun 2018 03:01:24 PM UTC, comment #4: 

jwe: I can verify this on Windows 10, using Octave 4.4.0.  On my openSUSE 15.0 system this error does not occur and works as expected.  It must happen in the code reference of comment #3, for unknown reason.

Kai Torben Ohlhus <siko1056>
Group Member
Tue 19 Jun 2018 02:55:30 PM UTC, comment #3: 

siko1056 (#octave freenode) wanted me to add this code reference

https://hg.savannah.gnu.org/hgweb/octave/file/cf84db75ab57/libinterp/corefcn/variables.cc#l1673

Marc Dirix <dirixmjm>
Tue 19 Jun 2018 02:42:33 PM UTC, comment #2: 

Thank you for testing. It seems the problem was not in load directly but in the who command. This code fails for me:

A = 1:100;
save('NoTest.mat','A');
clear all;
who('-file','NoTest.mat');
error: feval: function 'load' not found
error: called from
    NoTest at line 4 column 1

Marc Dirix <dirixmjm>
Tue 19 Jun 2018 02:22:39 PM UTC, comment #1: 

Works for me on my Debian system.  Can you provide the exact code that you are using and precise directions that can be used to demonstrate the problem?  It may also be something specific about Windows.  Maybe another user with Windows can verify.


John W. Eaton <jwe>
Group administrator
Tue 19 Jun 2018 01:55:49 PM UTC, original submission:  

Inside a toolbox (C:/Octave/4.x.x/share/Octave/4.x.x/m/<toolbox>

a function calls "load" to load data from .mat files.
In Octave 4.2.2 this works fine, however in 4.4.0 I get:
error: feval: function 'load' not found

Other functions, mfilename for example, seem to work just fine.

Marc Dirix <dirixmjm>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dirixmjm (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-19 jwe StatusNeed Info Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #54030
    2018-06-19 jwe StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code