Skip to content

Failed to change default editor for Windows #2005

Closed
@Som-Kesharwani

Description

Description

I tried to set up the workspace for Opsdroid on my Windows machine using a Python virtual environment. But I'm not able to change or set the default editor and failed to create or edit the configuration file.

Steps to Reproduce

Step to reproduce the issue
python -m venv venv
activate the environment
./venv/scritps/activate
install the opsdroid using pip
pip install opsdroid[ALL]
opsdroid config edit

Expected Functionality

Expected to open the configuration file in Notepad++

Experienced Functionality

Throw an error
FileNotFoundError: [WinError 2] The system cannot find the file specified

Versions

  • opsdroid 0.28.0
  • Python 3.9.13
  • Windows 11

Additional Details

There should be an option to put one more parameter to set the editor

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions