octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61067] Error message suggestion from pkg coul


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #61067] Error message suggestion from pkg could be better, or eliminated
Date: Sat, 21 Aug 2021 08:03:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #61067 (project octave):

                  Status:                    None => Confirmed              
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #1:

Confirmed.
Quite some fun to play with it by just dropping the last character:

>> pkg install -forge -verbose communicatio
error: get_forge_pkg: package not found: "communicatio".  Maybe you meant
"econometrics?"
error: called from
    get_forge_pkg at line 90 column 5
    get_forge_download at line 32 column 14
    pkg at line 502 column 31
>> pkg install -forge -verbose communicati
error: get_forge_pkg: package not found: "communicati".  Maybe you meant
"optiminterp?"
error: called from
    get_forge_pkg at line 90 column 5
    get_forge_download at line 32 column 14
    pkg at line 502 column 31
>> pkg install -forge -verbose communicat
error: get_forge_pkg: package not found: "communicat".  Maybe you meant
"statistics?"
error: called from
    get_forge_pkg at line 90 column 5
    get_forge_download at line 32 column 14
    pkg at line 502 column 31


... and so on.

I'd suspect that this is an example of something that used to work fine, but
later changes elsewhere had the side effect of screwing this one up. If so, a
candidate change might be (just a hunch) changes in Octave's default
encoding.

As to eliminating this part: I'm always for better ergonomics and avoiding
putting off less experienced and unwary users; so I'd like to keep the
suggestion. Of course as it stands it has the opposite effect (it does put off
users) so IMO it should be fixed.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61067>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]