Closed pjarnhus closed 3 years ago
I have opened a pull request with the changes that makes it run on Windows, if you are interested. The test suite fails on setup due to the same underlying issue, but I have not had the time to clean it up.
Let me know, if you are interested in collaborating on it. I think it is a really cool tool, that you have built.
Hi, @pjarnhus, great to hear from you, thanks for the issue, contribution and kind words. Of course I am interested in solving this issue and collaboration.
I tested the current version of the app on Win10 and also found some issues, but they are a bit different (I will post some screens). Several questions:
Screens from my testing, Windows 10 Home, 20H2.
Command Prompt - OK
Cmder - details not correct, also issues on left/right arrow on poems interactive screen
Mingw (Git Bash here) - not working, details not correct, also issues on left/right arrow on poems interactive screen
Hi,
Sorry for the long period of silence, there has been a lot on my plate recently. I did test it out and it is working on the rebuild version with changes. I am using an Anaconda prompt, which as far as I know is simply a normal Windows command prompt with a few additions.
It is odd that I get the error, when your command prompt is working. My installation does not add python to the Windows path. I am not sure, if that is the reason behind the error though.
Resolved in: https://github.com/harper25/poetry-poems/pull/9
Describe the bug When running poems on Windows, the program exists with a FileNotFoundError. When digging into this, it is because the POpen calls have been set with shell=False. On Windows this will make subprocess interpret the elements of the cmd list literally and it will therefore look for a file called poetry.
To Reproduce Steps to reproduce the behavior:
Expected behavior The expected behaviour is that poems launches and presents a list of the added poetry projects
Screenshots If applicable, add screenshots to help explain your problem.
Environment:
Additional context Add any other context about the problem here.