Комментарии:
i am having a problem the date of the messages dont show pm or am like if its 6pm it will show 18:0:0 i also tried with your code from git hub but its still the same bug
ОтветитьDo you have the project repository?
Ответитьhow do you make the return button send the messages as well?
ОтветитьThanks for video!
IMAO it;s not hard to do at localhost. Troubles begins when deploying with domain and ssl
I followed the videos and everything including all codes and instructions but my socketio is not connected to the local host….
Ответитьany luck doing this with flask restful
ОтветитьAt the 20 minute and 55 second mark where he shows his page, when i try the same thing my page is a blank white page with no text. Any one have any reasons why this might be?
ОтветитьThank you
Ответитьhey tim thanks for the video, I had a question. Everytime I close the tab it takes about a 50-60 seconds that the socket "disconnect" function gets triggered, is this normal?
Ответитьhey im getting an error "WebSocket transport not available. Install simple-websocket for improved performance.
* Serving Flask app 'main'
* Debug mode: on
An attempt was made to access a socket in a way forbidden by its access permissions" and the web server is not showing can u help?
Hello,
When im refreshing page with your code, disconnect is not triggering on me, and on every refresh members count increasing. Do you have any idea with that?
Very very thank you sir.. You just nailed it.. thank you soo much.. Had I not been in school, I would have definitely gifted you a super thanks.. thanks again sir.. !!
ОтветитьThank you for the tutorial! I followed your instructions and was able to build a chatroom and works fine locally. However, I’m having trouble deploying it on Heroku. The site itself comes up, but I can’t find the room or send messages. Do you know how to fix this issue? [Procfile (web: gunicorn main:app) and dynos is ON]. Any help would be greatly appreciated. Thank you!
ОтветитьWhere in your code there client sends/broadcast/trigger 'connect' event? I watched it 4 times and can't figure out this magic.... ?
ОтветитьI´m really struggling to make this project!
Yesterday I watched this whole video, and coded as you were coding, but something went wrong and I can not get it right.
This error:
"TypeError
TypeError: The view function for 'home' did not return a valid response. The function either returned None or ended without a return statement."
and a list with a bunch of others (that I don´t understand what it is saying), keep showing me as I try to run the project.
I have already tried everything:
Get your code and look after all the mistakes that I´ve made;
Redo from the scratch;
I even created a new project, copying and pasting the whole code (through your github), but even that wasn´t enought!
I know that I´m making (or ignoring) a small mistake, so please If somebody could help me anyway, please do! I´d really like to have this project running and learn with this kind of mistakes!
Thank you.
how to deploy this? because everything is working great on the server but the app when I deploy it is not working.
ОтветитьI noticed you emitted to “message” using socket. Does that mean if a chat room sends a message, all chat rooms that aren’t the current one will be receiving a “message” signal as well? Of course, messages from different chat rooms won’t show up, but I was wondering how this would affect traffic if the site has a lot of users.
ОтветитьSomethings are so damn simple, that you just feel stupid for not pursuing that!
ОтветитьI am kind of disappointed in learning how to code, since AI is going to take over! that sucks! coding was a passion of mine
ОтветитьI made the website but it says template not found when i clearly have home.html
ОтветитьIt's fun to note this room/user socket system ca be used in many different ways. Making a chat room just highlights the process well. Imagine if each "user" was some API or process. Easy to send data that way
ОтветитьCan anyone tell me why this code is not after deploying it. ServerLogs says there are invalid sessions lot more.
Help
can you do BeeWare with Socket to create app(android/desktop) live chat?
ОтветитьFigured it out...I was missing the statement: room=session.get("room")
ОтветитьI am having a conflict with def room(): and the room not in rooms boolean. It is true rather than false since it is comparing a function not in rooms: rooms[room] = {"members": 0, "messages": }} room is not in rooms : room = <function room at 0x7fca2f08e670>
Ответитьwow, it is great, many thanks all to you
Ответитьfor me when i typed in the url, it said that it refused to connect. can anyone explain why?
ОтветитьMake a tutorial on how to make a website where users can create their own threads and then the homepage will show all those threads and then user can click on a particular thread of their own choice and start chatting in that room. Please!
ОтветитьJust wondering, how come you are not using a virtual environment?
ОтветитьThanks, Tim, really enjoyed this video, and also learn sth new as well.
ОтветитьThank you for wonderful tutorial ...
Sir please provide tutorial on "sanic framework" and gitlab and project too ...
This is pretty awesome. would have liked to see this implemented with a database, maybe sqlite or mongoose.
ОтветитьHi, Tim. Would you give the version of components, say Flask, flask-socketio, python-socketio, python-engineio. I encountered the compatibility problem, hasn't solved it yet. Thanks!
ОтветитьI can't send messages
ОтветитьDo this in. Django please
Ответитьi love when tim put out tutorials
Ответитьdoes someone have the code for the date to calculated with the server
Ответитьexist any extension for recognize this block and similar :" {% block content %}"
my ide dont show me information i use Vscode
I'm a new subscriber, just subscribed a few days ago, and now I'm a fan of Tim.
Tim really appreciate your work 🙇
Heyy man quick question, do you think you could make a video about how to host projects such as this on local machine/raspberry pi to host it worldwide privately without using things like linode or google cp
ОтветитьThese python tutorials are the best tech homie tim
ОтветитьHi Tim. Do you think you can make a simple program that highlight a paint splat shape on mouse hover inside its boundary?
ОтветитьThanks so much, Tim!!
Ответитьyeah, you're the best!!
ОтветитьCould anyone explain to me why it's quite difficult to develop proper and stable connections between clients (like for real time games)? And are there any sources of information on this topic I can read about?
ОтветитьThere's a timestamp saying JavaScript - Socket Connection right after Flask - Socket Disconnecting. Is there any JavaScript in here that we're missing?
Edit: Sorry. There IS a JavaScript section but the timestamp is missing.
Really appreciated Man! Need more python projects videos✌🙌
ОтветитьLove you sir ☺️
Ответить