Closed Klupamos closed 2 years ago
Does this occur for other programs too? None of the code i the traceback is PyTermGUI related as far as I can see. Everything seems to be within pip
internals. Other users have confirmed the project to work just fine on Windows, so I don't see what the issue could be.
Other programs install just fine. Including pytermgui==1.1.0. just fails on pytermgui==2.0.0
I too experienced this issue on windows and installing just hanging.
That's really weird. I have no clue what piece of code could've cause this issue between the versions, since there was no code in the traceback from the library. I don't have a Windows machine with me until late next week, so I can't really test it myself for the time being. Until then, I'll put this into Help needed
mode, and hope someone can figure it out.
Sorry for the inconvenience!
Just faced exactly the same problem as the topic starter.
I've now narrowed it down to #19, but I am still looking into ways to get around it.
So for the time being PyTermGUI won't support window resize events. It is possible to do using the Windows API, but since I don't really have a development machine I won't be able to include it for now.
@bczsalba, can you publish a new release?
I will either today or tomorrow, depends on how much time I end up having.
@bczsalba, no problem, thank you.
@javad94 Just pushed it!
@bczsalba Thanks man. Not available in PyPI yet to test it.
Yeah, had some issues with twine, but it should be up now. Apologies!
Yeah, had some issues with twine, but it should be up now. Apologies!
No problem, Thank you. I installed it and got this error:
Yeah, just realized those keys are missing. Will fix soon, either by silencing the key error or figuring out what the keys are.
That part should be fixed with the newest commit. I didn't get the error on my machine when I was messing around yesterday, so I really don't know if other things will also break.
That part should be fixed with the newest commit. I didn't get the error on my machine when I was messing around yesterday, so I really don't know if other things will also break.
haven't been released on PyPI yet to check it. You don't have unit tests for such issues?
It is one of the weaknesses of the library that we do not have unit tests. It is something I am planning on doing in the hopefully near future, but I am kind of bogged down with other things at the moment so I can't do it now.
haven't been released on PyPI yet to check it.
I am not at home at the moment so I can't do a release. If you're interested, you can install the project using pip install git+https://github.com/bczsalba/PyTermGUI
, or if that doesn't work by cloning the repo and running pip install .
.
It is one of the weaknesses of the library that we do not have unit tests. It is something I am planning on doing in the hopefully near future, but I am kind of bogged down with other things at the moment so I can't do it now.
I see. Hope you can do it in the near future.
I am not at home at the moment so I can't do a release. If you're interested, you can install the project using
pip install git+https://github.com/bczsalba/PyTermGUI
, or if that doesn't work by cloning the repo and runningpip install .
.
I got an error with:
pip install git+https://github.com/bczsalba/PyTermGUI
But it was installed with git clone --depth 1 --branch master https://github.com/bczsalba/PyTermGUI
.
But now I got an error when running an example code:
The code:
import pytermgui as ptg
demo = ptg.Window(
ptg.Label("[210 bold]Hello world!"),
ptg.Label(),
ptg.InputField(prompt="Who are you?"),
ptg.Label(),
ptg.Button("Submit!")
)
The error:
Could you check it with the latest commit? Will publish release if it works, just don't really want to have two different versions for the same issue.
Could you check it with the latest commit? Will publish release if it works, just don't really want to have two different versions for the same issue.
Thanks. It's working now. The only issue I have is that I can't exit the program using ctrl+c.
Will try to look into that one as well. Regardless of whether I can fix it I will release a package sometime later today.
Alright, version 2.1.1 was just pushed out. It fixed all of the issues you talked about here.
If you run into anything else it would be a bit easier to follow if you raised a new issue.
Thank you for letting me know of these problems!
Alright, version 2.1.1 was just pushed out. It fixed all of the issues you talked about here.
If you run into anything else it would be a bit easier to follow if you raised a new issue.
Thank you for letting me know of these problems!
Thank you very much. it works exactly as expected right now.
Describe the bug As the title says, when Installing on windows with
python3.exe -m pip -vv install pytermgui
the installation hangs.To Reproduce
python3.exe -m pip -vv install pytermgui
Expected behavior pytermgui to be installed.
Screenshots
System information
Possible cause After force closing the installation (Ctrl + C) the traceback indicates the installation is waiting for userinteraction
str = proc.stdout.readline()