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: anonymous
Subject: [Octave-bug-tracker] [bug #61067] Error message suggestion from pkg could be better, or eliminated
Date: Fri, 20 Aug 2021 17:57:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

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

                 Summary: Error message suggestion from pkg could be better,
or eliminated
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 20 Aug 2021 09:57:04 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I made a mistake in naming a Forge package to install. It should have been
communications (plural) but I typed the singular. But the alternative named in
the error message from pkg was unhelpful in this case ("generate_html").


pkg install -forge communication
error: get_forge_pkg: package not found: "communication".  Maybe you meant
"generate_html?"
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


The code for this behavior is in the end of the file
scripts/pkg/private/get_forge_pkg.m. It looks like the line "t = strsplit
(html)" gives the wrong value to t{1}, so the distance function is led astray.
Could the suggestion be disabled perhaps?




    _______________________________________________________

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]