Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Invalid virtual environment detected because of escape sequences and colors (ANSICON env variable defined) #287

@eblis

Description

@eblis

Describe the bug
The IDEA plugin doesn't correctly identify the Poetry environment.

I have forced poetry to run in ANSI mode on my Windows 10 machine by creating the ANSICON environment variable, this is probably forcing poetry to report the virtual environment using colors and escape sequences which are not removed by the plugin, resulting in an invalid folder being identified as the poetry environment in use.

Expected behavior
Poetry environment should be successfully identified

Screenshots
The first one is my manual selection, the red one is the one automatically detected
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions