mpm icon indicating copy to clipboard operation
mpm copied to clipboard

not working in octave

Open mobeets opened this issue 6 years ago • 2 comments

mobeets avatar Nov 18 '19 00:11 mobeets

Test fails info from PR #65

octave 4.2.2

octave (4.2.2) fails with the following error:

error: 'webread' undefined near line 370 column 12
error: called from
    mpm>findUrlOnFileExchange at line 370 column 10
    mpm>findUrl at line 348 column 13
    mpm>findAndSetupPackage at line 134 column 17
    mpm at line 115 column 5
    test_install at line 15 column 1

In brief this version of octave is missing the webread.m function and only has the deprecated urlread.m.

Apparently this is under development: https://github.com/octave-de/octave-web

octave 5.1.0

This version of octave is also missing the webread.m function but also throws this:

error: strcmpi: nonconformant cell arrays
error: called from
    is_argname at line 534 column 11
    parse at line 403 column 9
    mpm>parseArgs at line 794 column 5
    mpm at line 71 column 17
    test_install at line 15 column 1

Not super familiar with input parsing so this is how far I got.

Remi-Gau avatar Apr 25 '20 17:04 Remi-Gau

awesome, thanks for posting these. for the latter error, is that thrown for any call to mpm, or just when installing?

mobeets avatar May 05 '20 01:05 mobeets