You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 9, 2022. It is now read-only.
Describe the bug
When I setup my poetry environment it correctly auto detects the poetry executable but it says it is not executable. The file is there and it is "executable".
To Reproduce
Steps to reproduce the behavior:
Add environment
Select poetry environment
set correct poetry executable
See error
Expected behavior
That the poetry executable gets correctly set.
Environments (please complete the following information):
IDE: PyCharm Community 2021.1 EAP (same issue with 2020.3)
OS: ubuntu 20.10
Poetry Version [e.g. 1.0.8 ]
Plugin version 1.1.5
Additional context
This is the relevant method AFAICT
fun validatePoetryExecutable(poetryExecutable: @SystemDependent String?): ValidationInfo? {
val message = if (poetryExecutable.isNullOrBlank()) {
"Poetry executable is not found"
}
else {
val file = File(poetryExecutable)
when {
!file.exists() -> "File ${file.absolutePath} is not found"
!file.canExecute() || !file.isFile -> "Cannot execute ${file.absolutePath}"
else -> null
}
}
return message?.let { ValidationInfo(it) }
}
Describe the bug
When I setup my poetry environment it correctly auto detects the poetry executable but it says it is not executable. The file is there and it is "executable".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That the poetry executable gets correctly set.
Environments (please complete the following information):
Additional context
This is the relevant method AFAICT