Bro, plz tell me how to display console output of a method on a new screen in kivy. I am able to display text on screen as you told in previous video but if want to display results of my method that if have created as a python file(logic) which takes input from user and analyse it to give resluts. do i need to save a file of console output to show it or can i directly display results on screen? plz answer as soon as possible its been a many days i m stuck on it. Thanks!!
Thanks for the vids, right now it's been setup for the local host 127.0.0.1 if I'm not mistaken, it is possible to use a dedicated IP and use it to chat with people?
Hey sentdex is there ways to add Sliders,Switch kinda buttons into Kivy Apps and will you be showing us how to run this app in an actual smartphone? I plan to make an app that uses MQTT protocol to communicate with a Raspberry pi LAN Broker and I need to know whether it is worth giving a shot with kivy for that.....
Hi. When I attempt to run kivy_app.py, it runs socket client console except kivy window. Now socket client ask me to write username (but for what?). Socket server is running all the time
You grabbed the wrong socket_client.py code (like I did). Copy the code from the previous ScreenManager tutorial and it won't prompt for the username: pythonprogramming.net/screen-manager-pages-screens-kivy-application-python-tutorial/
@@andrewsabatini8046 This needs to be PINNED! please, I was following on RU-vid only and spent an hour trying to figure out what was supposed to be different about the socket_client.py code that I did from his RU-vid sockets/ChatApp series
Hello sentdex, I've been learning kivy thru your vids, but I stumbled uppon some problem Clock.schedule_once() is not recognized in my VSC so do socket.client.connect() Why do this happend?
Hey everyone! when i run the code without activating the server, the error message doesn't show. Instead it says not responding on the top bar of the application. Cant figure out what could be the possible reason maybe due to my basic knowledge on python. Please help me out. Thanks!
So I had the exact same problem but it turned out to be a simple typo on my part where I added braces at the end of the sys.exit function in the show error function. If you remove those you should be fine.
Hey there. Is your site currently down? I'm unable to access it and I'm wondering how much of the pasted code has changed from the sockets tutorial ? Thanks
Hi, I am following this kivy series. But I am stuck at a point. After clicking on the submit submit button the screen is going to the info page and waiting for 1 second as scheduled and the kivy app is exiting. Please help me out, I am not able to debug what is happening. If I comment out the socket_client.connect() method which is in a if condition, the app is working as said in the video. EDIT: Now I am able to go to the connect screen but I am getting connection error as follows: ** socket.gaierror: [Errno 11001] getaddrinfo failed ** Please help me with this one.
Actually when i am running the kivy code , instead of running the GUI its running the client script , telling me to enter a username and send messages (i tried it and i was able to send and receive messages)
@@TheSHEKHAR98 Copy the code from the previous ScreenManager tutorial and it won't prompt for the username: pythonprogramming.net/screen-manager-pages-screens-kivy-application-python-tutorial/ The code is that bottom. If you're like me, you found the socket_client code in the socket tutorial section, and that one prompts for user input at the beginning. The above version does not
This will take a bit of time...go to DEEVICE MANAGER...you see a long list of stuff...click on each item...it will open group of option folder with tabs...some of these will have a POWER MANAGEMENT TAB...open that tab and uncheck on "Allow computer to turn off..." And when u r finished then just re-start the lappy
Hii, I'm stuck here...! The socket_client.connect(ip, port...) in the function 'connect' doesn't work.. I get AttributeError: 'Module' has no attribute 'connect'. Can you pleaseeeeeeeeeeeeeeeeee share the updated client.py code? Oh and yes, I followed all your sockets tutorials.
is there any way to make the UI actually look good, like, without massive text boxes and make them look like normal text boxes. if so, you should show this in you're tutorials.
Scorpion yeah but the thing is im sure you could create nice looking guis in kivy its just hes not showing us how. Which is putting me off even trying kivy
@@kristiansmith5298 Lol don't listen to this troll, anyways, he already mentioned that there are plenty of ways of editing or creating layouts in Kivy. One is with his current method, which is basically, what he did, (lol), and another is by creating another .kv file and there you have to code the kivy language (which is kinda similar to css or html, but youll eventually get the hang of it.) and edit the layouts way more nicely.
The latter method that I mentioned is probably the most efficient way of handling codes aesthetically since you get to separate the logical part and the design part of the program.
hello @sentdex thanks for your amazing videos, i'v been on your channel over 18 months now. i have a problem while converting the ip to integer. i keep getting the error ValueError: invalid literal for int() with base 10: '127.0.0.1' i tried converting the ip to interger using :- ip = struct.unpack("!I", socket.inet_aton(self.ip.text))[0] but i receive :- Connection error: str, bytes or bytearray expected, not int i then tried converting the received ip at the socket_client using :- IP = socket.inet_ntoa(struct.pack("!I", IP)) but i receive :- Connection error: an integer is required (got type str) at this point i'm stumped cuz, nothing i do seems to be working. any ideas on how to proceed?
Quick edit :- immediately, i posted this, i made some changes and realised that the error -: Connection error: an integer is required (got type str) was for the port so i had to convert the port to an integer before sending to the client_socket
I followed the code and even copied and paste the app is working on the command line however the Kivy Gui does not appear anymore does anyone else have this issue.
@@TheAcolossus Ona level kivy is growing like crazy - I've seen numerous pos, ticket systems (with qr scans etc), heartbeat sensor displays and so much more. Jump on the discord and you'll see. Most repos you see are shells the customization is you!
Hey guys, I keep getting the below error when trying to run main; Connection error: [Errno 11001] getaddrinfo failed What does this mean? I'm using Pycharm to create the app (just FYI).