bugGNU nano - Bugs: bug #53777, when 'spell' is not installed, the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53777: when 'spell' is not installed, the error message is unhelpful

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 28 Apr 2018 09:32:37 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 29 Apr 2018 10:10:43 AM UTC, comment #1: 

Fixed in git, commit 0e46c0f4.

Benno Schulenberg <bens>
Group administrator
Sat 28 Apr 2018 09:32:37 AM UTC, original submission:  

On one of my machines, 'spell' is not installed.  If there I run:

  src/nano --ignore NEWS

and type ^T, it says:

  [ Spell checking failed: Error invoking "spell": Bad file descriptor ]

What!?  "Bad file descriptor"?

When I don't use --ignore, and my .nanorc includes the default.nanorc file and does not define any speller, then typing ^T results in:

  [ Spell checking failed: Error invoking "spell": Invalid or incomplete multibyte or wide character ]

Pfff!

Expected behavior: when doing a spell check, or anything else, any explanation of an error should be relevant to the executed function and not be a remnant of something far earlier.

(If, for reproduction, you don't want to uninstall 'spell', you can change the "spell" in the execlp() call to "spoill" or something.)

Benno Schulenberg <bens>
Group administrator

 

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

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 bens (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-16 bens Open/ClosedOpen Closed
    2018-04-29 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code