techwithtim / chat-web-app Goto Github PK
View Code? Open in Web Editor NEWMade during livestream
Made during livestream
unable to send messages because socket.io from the cdn is an old and flask doesn't support it ... i fixed it by changing where the cdn is fetched from to the latest version <script src="https://cdn.socket.io/3.1.1/socket.io.min.js"></script>
in the base.html file
Hi. So when I'm running the code, i get this error. I directly took the code from this repo, so it shouldn't be with anything wrong with the code I have. I'm running on Visual Studio Code via Ubuntu 20.04, using python 3.8. Any help is appreciated!
Hey
I didn't watch the second part completely but when I run the main.py I receive this error :
Exception in thread Thread-1 (run_server):
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "C:\Program Files\Python310\lib\threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Behrad\AppData\Roaming\Python\Python310\site-packages\flask_socketio\__init__.py", line 607, in run_server
eventlet_socket = eventlet.listen(addresses[0][4],
File "C:\Users\Behrad\AppData\Roaming\Python\Python310\site-packages\eventlet\convenience.py", line 78, in listen
sock.bind(addr)
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted
how do I fix it??
my py version: 3.10.1
my os: windows 10
I have installed all of the packages
please help me,
thanks
When I type a message and click on send, it gives an error saying Method Not Allowed.
When I run this code it shows:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.