Comments (6)
from youtube-local.
I'm not sure it's working, it still seems to try to use port 8080 even if i set it to something like 8086. I edit settings.py and then do python3 server.py
but it still get this.
Running in non-portable mode
Tor routing is OFF - your Youtube activity is NOT anonymous
Started httpserver on port 8080
Traceback (most recent call last):
File "/root/yt-local/server.py", line 277, in <module>
server.serve_forever()
File "/usr/local/lib/python3.9/dist-packages/gevent/baseserver.py", line 398, in serve_forever
self.start()
File "/usr/local/lib/python3.9/dist-packages/gevent/baseserver.py", line 336, in start
self.init_socket()
File "/usr/local/lib/python3.9/dist-packages/gevent/pywsgi.py", line 1545, in init_socket
StreamServer.init_socket(self)
File "/usr/local/lib/python3.9/dist-packages/gevent/server.py", line 180, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/local/lib/python3.9/dist-packages/gevent/server.py", line 192, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/usr/local/lib/python3.9/dist-packages/gevent/server.py", line 288, in _tcp_listener
sock.bind(address)
File "/usr/local/lib/python3.9/dist-packages/gevent/_socketcommon.py", line 563, in bind
return self._sock.bind(address)
OSError: [Errno 98] Address already in use: ('127.0.0.1', 8080)
from youtube-local.
from youtube-local.
Yes, I'm making sure to write to the file before running server.py.
I should clarify what my setup looks like, should've done that earlier.
Running this off a Debian 10 VPS. git clone the repo and cd into the directory. vim settings.py
and edit the 'default'
option under 'port_number'
to a different port, :wq
. run python3 server.py
, but it still gives the error I had pasted earlier.
from youtube-local.
from youtube-local.
You don't want to edit the .py files. You need to edit settings.txt. By default it will be in ~/.youtube-local. Alternatively if you create a blank settings.txt file in the same directory it will populate that instead and store the rest of the data there (portable mode per the readme)
This did it, thanks for your time and help!
from youtube-local.
Related Issues (20)
- Option to hide video thumbnails and viewcount HOT 1
- How do I play youtube-local playlists? HOT 1
- "Sort by views" - 500 Uncaught Exception HOT 1
- "Sort by oldest" - 500 Uncaught Exception
- Make a Dockerfile HOT 2
- About page for all channels yields error
- Getting 500 uncaught exception error when clicking subscriptions button on homepage HOT 3
- Perpetual timeouts and errors HOT 3
- Store data in XDG Base Directory
- HTTPResponse.getheaders() is deprecated
- SSL: CERTIFICATE_VERIFY_FAILED | Windows 11, using run.bat HOT 2
- No thumbnails loaded when running on uwsgi
- Web Browser Notification Support
- Plyr deprecated soon? HOT 2
- 500 Uncaught exception Error...Again:( HOT 8
- 500 Uncaught exception: unable to play any video HOT 1
- Error message in video: "The following content is not available on this app..." HOT 18
- v2.8.9 - Video Does Not Load if 'Route images' Option is Unchecked HOT 3
- No more integrated sources
- Skip annoying Selfpromo segments not just Sponsors (Sponsorblock.js) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-local.