RobbieClarken / youtube-channel-to-playlist

Add all videos from a YouTube channel to a playlist
MIT License
30 stars 3 forks source link

OSError: [Errno 98] Address already in use #9

Open InfiniteMoons opened 2 months ago

InfiniteMoons commented 2 months ago

What's happening? It seems to be some kind of weird issue with port 8080. I tried killing the service running on port 8080, which worked, but then it hung itself after asking me to authenticate my youtube account.

Traceback (most recent call last): File "/home/alexthegreatish03/.local/bin/channel_to_playlist", line 8, in sys.exit(main()) File "/home/alexthegreatish03/.local/lib/python3.10/site-packages/channel_to_playlist.py", line 144, in main youtube = get_authenticated_service(args) File "/home/alexthegreatish03/.local/lib/python3.10/site-packages/channel_to_playlist.py", line 35, in get_authenticated_service credentials = flow.run_local_server( File "/home/alexthegreatish03/.local/lib/python3.10/site-packages/google_auth_oauthlib/flow.py", line 432, in run_local_server local_server = wsgiref.simple_server.make_server( File "/usr/lib/python3.10/wsgiref/simple_server.py", line 154, in make_server server = server_class((host, port), handler_class) File "/usr/lib/python3.10/socketserver.py", line 452, in init self.server_bind() File "/usr/lib/python3.10/wsgiref/simple_server.py", line 50, in server_bind HTTPServer.server_bind(self) File "/usr/lib/python3.10/http/server.py", line 137, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use