Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mycroft-config using deprecated --tempfile when falling back to nano #3124

Open
smokejohn opened this issue Aug 9, 2022 · 0 comments
Open
Labels

Comments

@smokejohn
Copy link

smokejohn commented Aug 9, 2022

Describe the bug
In the case where mycroft-config tries to use nano because sensible-editor is not available on the system it uses the deprecated --tempfile parameter which newer versions of nano don't recognize anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install ArchLinuxARM-rpi-armv7-latest or any system without sensible-editor and nano >= 5.0
  2. mycroft-config edit user
  3. nano doesn't start and prints error about unrecognized option
nano: unrecognized option '--tempfile'
Type 'nano -h' for a list of available options.
Configuration unchanged.

Expected behavior
Open mycroft config with nano without erroring out.

Fix

Environment:

  • Device type: Raspberry PI 3b
  • OS: ArchLinuxARM-rpi-armv7-latest
  • Mycroft-core version: [21, 2, 2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant