Awesome ! I love how you actually used the sponsors service haha. Im also super grateful for kiwi tutorials in general. I pray for the algorithm to bless you
Thanks! The efforts to limit the spread of COVID-19 worldwide have forced many people to work from home, which has naturally created a surge in interest in communication and collaboration tools.
I don't know if anyone encountered this, but on the chat_text (TextInput) it shows nothing No message text and not the "nickname" joined the chat message.
Update for anyone who will see the tutorial. Yong Yp' s comment is actually very helpful.For some reason it works with Kivy 2.0.0 but if you try it now (if you have installed the latest python version ), it will not work and if you try to install an older version of Kivy you will get an error. That's because Kivy 2.0.0 works with Python version 3,6 to 3,9. I tried it with Python 3.9.4 and it works,there are no mistakes the code or anything, and pay attention to indentations.
@ Florian Dedov bro when i execute the code its giving me this error " if current_property[:3] == 'on_': TypeError: 'NoneType' object is not subscriptable " any solutions
I did what you did, but in my case, the app works very well on my PC. However, it doesn't connect to my server from my mobile app. I would appreciate any help.
Hey there! Firstly I want to say that I really enjoy watching your videos. They help me ton to realise my projects. Recently Ive been programming an Android app. I followed your way of setting up a server to handle the chat which Ive implemented in the app. I just came across one major problem. After a while the ubuntu server stops listening and does not react to any new messages or connections. Feels like it goes to sleep in a way. Is there a way to prevent this from happening? Huge thanks in advance! :)
Hello, I rebuilt this with Beeware/Toga instead of Kivy as my PC is to old to run the version of GPL that Kivy uses. It connects to the server, shows username has joined the chat, but when i send a message it crashes. Is there anyway i can send you my code and maybe you can tell me what the error is? @NeuralNine
Ur Videos Awesome...if u explain same with AWS EC2 Linux server/Azure Linux VM, i can easily host server & practice this....and can multiple clients chat at a time from more Android phones same time if we use load balancer for server?
Hi. Thank you for the great video. I did follow all the code, but I keep getting this error. TypeError: Cannot change graphics instruction outside the main Kivy thread I've tried to check the code many times and searched on internet, but still couldn't figure it out. Appreciate if you could please give me a clue. Thank you.
oh! For those who are facing the same problem, it is because of the kivy version. When I used "pip install kivy", the latest version of kivy (2.1.0) was downloaded. I tried to download kivy 1.9, but a really long error came out, so I gave it a try by using Kivy 2.0.0. And it WORKS!
I put stop-Ture after changing self.chat_text in the receive function. Also used @mainthread decorator for def receive. Also, I created another thread object each time a message is sent. That worked for me. Godspeed.
Hello. I follow everything but it's hard to understand why not running. I got the error message: "Cannot change graphics instruction outside the main Kivy thread" and ... "...main.py", line 27, in send_message client.send(f"{self.nickname_text.text}: {self.message_text.text}".encode(self.FORMAT)) OSError: [WinError 10038] An operation was attempted on something that is not a socket" --- Anyone know how to fix it ?
In Python, you'll use "return" inside of a function(def) ONLY to return some value or whatever, "print" you can use in anywhere and it shows a value on the screen
I'm guessing not very secure. I'm not very knowledgeable about security either but I think for a private app, setting up an sshuttle or self-hosted vpn to the server rather than opening sockets to the public and putting some sort of manual encryption on the messages would be better. For a public access app, one might need to look onto more sophisticated security techniques
When i want to start the server, i become an error. The Traceback is = File "server.py", line 23 message = client.recv(1024) ^ TabError: inconsistent use of tabs and spaces in indentation
I'm trying to run this app locally and keep getting this 'client.connect((self.ip_text.text, 5555)) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it'. Anyone know what this means? My firewall shouldn't be a problem
If you're running it on Pycharm with PORT 5555 go to the terminal on the bottom side of the screen and type : netstat -aon | findstr :5555 If it returns something with 5555 it will have a process ID (PID) with a number. Then type : Taskill /PID number /F And try running the server.py again. Also try to check on the top right corner for any errors, especially indentations.
yes thats how easy it is. grap phonenumber and you have id. read contact numbers and you have someone to wrtie message. thats easy it is. makewhatsapp and add ads or sell numbers to make money lol.when its success sell to facebook
Awesome ! I love how you actually used the sponsors service haha. Im also super grateful for kiwi tutorials in general. I pray for the algorithm to bless you
I was waiting for a video to do android project with python.... And video came.... Thanks bro😊
have fun and enjoy ^^
I really love your videos, everybody could build an amazing python proyect with 2-3 of your videos.
Keep it up!
Thanks! The efforts to limit the spread of COVID-19 worldwide have forced many people to work from home, which has naturally created a surge in interest in communication and collaboration tools.
It's true!
You never check if a nickname is already taken. Why not using an set here? 13:34
Nice! very tidy and well explained
I don't know if anyone encountered this, but on the chat_text (TextInput) it shows nothing
No message text and not the
"nickname" joined the chat message.
Update for anyone who will see the tutorial.
Yong Yp' s comment is actually very helpful.For some reason it works with Kivy 2.0.0 but if you try it now (if you have installed the latest python version ), it will not work and if you try to install an older version of Kivy you will get an error.
That's because Kivy 2.0.0 works with Python version 3,6 to 3,9.
I tried it with Python 3.9.4 and it works,there are no mistakes the code or anything, and pay attention to indentations.
@@axiomV like you are the man, thanks
@ Florian Dedov bro when i execute the code its giving me this error " if current_property[:3] == 'on_':
TypeError: 'NoneType' object is not subscriptable
" any solutions
or throw me the source code men
it would be nic ei f you can show how to create an android app for deep learning input an image and get an output
KivyMD is more better to use for GUI and more fresh. Any way thx for your video. Hope will see KivyMD in your future videos
I did what you did, but in my case, the app works very well on my PC. However, it doesn't connect to my server from my mobile app. I would appreciate any help.
Hey there! Firstly I want to say that I really enjoy watching your videos. They help me ton to realise my projects. Recently Ive been programming an Android app. I followed your way of setting up a server to handle the chat which Ive implemented in the app. I just came across one major problem. After a while the ubuntu server stops listening and does not react to any new messages or connections. Feels like it goes to sleep in a way. Is there a way to prevent this from happening? Huge thanks in advance! :)
Hello, I rebuilt this with Beeware/Toga instead of Kivy as my PC is to old to run the version of GPL that Kivy uses. It connects to the server, shows username has joined the chat, but when i send a message it crashes. Is there anyway i can send you my code and maybe you can tell me what the error is? @NeuralNine
Great video, thanks a lot. Where can I learn more about the designing part (.kv file)? Can you please give the link for that
the client one mine is saying finished with code 0 and does not do anything
Does not work anymore.I get an operation was atempted on something that is not a soccet
Ur Videos Awesome...if u explain same with AWS EC2 Linux server/Azure Linux VM, i can easily host server & practice this....and can multiple clients chat at a time from more Android phones same time if we use load balancer for server?
why I'm getting this error in my wsl "Couldn't connect to X server"....what to do...
how did you achieve live screen of phone on the desktop?
i got a build dependencies error and i dont know what it means
how fix
I don't know if that is something you would normally do but could you also make a tutorial like that in Kotlin?
When I'm compiling the app, it says "# Aidl not found, please install it." even though I have it already.
Can anybody help?
Hi. Thank you for the great video. I did follow all the code, but I keep getting this error.
TypeError: Cannot change graphics instruction outside the main Kivy thread
I've tried to check the code many times and searched on internet, but still couldn't figure it out. Appreciate if you could please give me a clue. Thank you.
oh! For those who are facing the same problem, it is because of the kivy version. When I used "pip install kivy", the latest version of kivy (2.1.0) was downloaded. I tried to download kivy 1.9, but a really long error came out, so I gave it a try by using Kivy 2.0.0. And it WORKS!
@@yongyp6928 Thanks!
@@yongyp6928 Not working for me. Any other solution?
@@sohumdamani7686 have you found one yet ?
Hey I tried to do this app but its throwing and error which say you cannot change kivy graphics Instructions outside the main kivy thread
I put stop-Ture after changing self.chat_text in the receive function. Also used @mainthread decorator for def receive. Also, I created another thread object each time a message is sent. That worked for me. Godspeed.
Great video! Awesome work! How can I implement this on my website for my clients?
Hello. I follow everything but it's hard to understand why not running. I got the error message:
"Cannot change graphics instruction outside the main Kivy thread"
and ...
"...main.py", line 27, in send_message
client.send(f"{self.nickname_text.text}: {self.message_text.text}".encode(self.FORMAT))
OSError: [WinError 10038] An operation was attempted on something that is not a socket"
---
Anyone know how to fix it ?
thanks alot, but im wait the way of how i can send files by python using tcp server.
use the sockets module
Never seen someone actually use the sponsor’s service. lol.
can any one tell me how to clear the message_text when we hit thw send button just like other chat apps? please help
you set the text attribute to "". That's it
@@NeuralNine thanks bro...
@@NeuralNine one more small help please.... how to make the chat history scrollable?
you should also start sharing the code
hi bro your work is amazing but i got some error. can you please give source code or your kivy version.
I'm missing something, Kivy keeps giving me errors.
Hi, can i please get the code? for everything you wrote if it is possible
Bro.. the entire point of a tutorial is to watch and learn... not copy, paste, close....
please make a client create own group with (python, kivy )
Tysm . I really need this:3
Can anyone help me to understand difference between return and print in programming
In Python, you'll use "return" inside of a function(def) ONLY to return some value or whatever, "print" you can use in anywhere and it shows a value on the screen
Return is what you want a function to store. print is what you want the function to display when called.
@@franciswalk3635 Understood bro!
Can I also make these app for IOS?
Lol this video is full knowledge for python guys :)
I am unable to install kivy
can we chat in real time
LIT 🔥🔥🔥
🔥
THANK YOU SO MUCHHHH😍
I don't know shite about these things, but how secure is this?
I'm guessing not very secure. I'm not very knowledgeable about security either but I think for a private app, setting up an sshuttle or self-hosted vpn to the server rather than opening sockets to the public and putting some sort of manual encryption on the messages would be better. For a public access app, one might need to look onto more sophisticated security techniques
You're awesome 🔥
thank you :)
When i want to start the server, i become an error.
The Traceback is = File "server.py", line 23
message = client.recv(1024)
^
TabError: inconsistent use of tabs and spaces in indentation
please give the source code
we can make undetectable backdoor by this right ???
thanx so much!!
^^
Thank you so much for this Video I love u
you don't push code to github !!!!! unlike
Big fan Sir
thank you so much
awwwwwwwwwwwweeeeeeeeeeeeeeeeeeeeessssssssssssssssssssssssssssssooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmeeeeeeeeeeee
I am your 500th Like
First comment!
Nice
:)
I'm trying to run this app locally and keep getting this 'client.connect((self.ip_text.text, 5555))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it'. Anyone know what this means? My firewall shouldn't be a problem
If you're running it on Pycharm with PORT 5555 go to the terminal on the bottom side of the screen and type :
netstat -aon | findstr :5555
If it returns something with 5555 it will have a process ID (PID) with a number.
Then type :
Taskill /PID number /F
And try running the server.py again.
Also try to check on the top right corner for any errors, especially indentations.
yes thats how easy it is. grap phonenumber and you have id. read contact numbers and you have someone to wrtie message. thats easy it is. makewhatsapp and add ads or sell numbers to make money lol.when its success sell to facebook