-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load configuration #6
Comments
deyan@deyan-vb:~/Documents/UbuntuBatches/youtube/offline-tube$ echo "" >> .env When I create deyan@deyan-vb:~/Documents/UbuntuBatches/youtube/offline-tube$ ./bin/run
[2018-04-02 14:40:37 +0000] [3976] [INFO] Starting gunicorn 19.7.1
[2018-04-02 14:40:37 +0000] [3976] [INFO] Listening at: http://127.0.0.1:8000 (3976)
[2018-04-02 14:40:37 +0000] [3976] [INFO] Using worker: sync
[2018-04-02 14:40:37 +0000] [3980] [INFO] Booting worker with pid: 3980
[2018-04-02 14:40:38 +0000] [3980] [ERROR] invalid syntax (utils.py, line 8)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 135, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 352, in import_app
__import__(module)
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/manage.py", line 2, in <module>
from web.routes import register_blueprints
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/routes.py", line 2, in <module>
from .blueprints import api, home
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/blueprints/__init__.py", line 1, in <module>
from .api import blueprint as api
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/blueprints/api/__init__.py", line 2, in <module>
from .views import create_views
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/blueprints/api/views.py", line 4, in <module>
from .utils import search_video, get_media_types, get_task_status
File "/home/deyan/Documents/UbuntuBatches/youtube/offline-tube/web/blueprints/api/utils.py", line 8
request, *rest = args
^
SyntaxError: invalid syntax
[2018-04-02 14:40:38 +0000] [3980] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 578, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 126, in init_process
self.load_wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 148, in load_wsgi
self.reloader.add_extra_file(exc_val.filename)
AttributeError: 'NoneType' object has no attribute 'add_extra_file'
[2018-04-02 14:40:38 +0000] [3980] [INFO] Worker exiting (pid: 3980)
[2018-04-02 14:40:38 +0000] [3976] [INFO] Shutting down: Master
[2018-04-02 14:40:38 +0000] [3976] [INFO] Reason: Worker failed to boot. |
@dvdvideo1234 Thanks for checking out this project. I'm developing this project in Python 3. Sadly, it isn't at a stage for consumption or contribution yet. I'll write a disclaimer in the README about the errors that may occur. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: