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

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

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

Fixed in git, commit 0e46c0f4.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5