Skip to content
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

Exception in worker process: #71

Closed
NotII opened this issue May 25, 2020 · 4 comments
Closed

Exception in worker process: #71

NotII opened this issue May 25, 2020 · 4 comments

Comments

@NotII
Copy link

NotII commented May 25, 2020

Not sure if this is a issue with my setup or what but, I'm getting this error when starting with ./start.sh

[2020-05-25 14:41:02 +0000] [22576] [INFO] Worker exiting (pid: 22576)
[2020-05-25 14:41:02 +0000] [22575] [ERROR] Exception in worker process:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 515, in spawn_worker
    worker.init_process()
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 201, in init_process
    super(GeventWorker, self).init_process()
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 122, in init_process
    self.load_wsgi()
  File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 130, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
    return self.load_wsgiapp()
  File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/lib/python2.7/dist-packages/gunicorn/util.py", line 366, in import_app
    __import__(module)
  File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in __import__
    result = _import(*args, **kwargs)
  File "/root/imgen/server.py", line 96
    return jsonify({"endpoints": [{'name': x, 'parameters': y.params, 'ratelimit': f'{y.rate}/{y.per}s'} for x, y in endpoints.items()]})

Config seems about right.

@FaZeBase
Copy link

FaZeBase commented Jun 4, 2020

Hey ! I also had the same issue and upgrading to Python 3 did the trick. You would need to reinstall Python (3) and imgen's dependencies

@GeoffreyWesthoff
Copy link
Contributor

GeoffreyWesthoff commented Jun 5, 2020 via email

@NotII
Copy link
Author

NotII commented Jun 10, 2020

Hi, I got it working but it seems like the server wont respond

@NotII
Copy link
Author

NotII commented Jun 10, 2020

Got it working eventually, When trying the oauth2 I'm getting Invalid Oauth2 redirect_uri
My output url is
https://discord.com/oauth2/authorize?response_type=code&client_id=720394043154235453&redirect_uri=%2Fcallback&scope=identify+email&state=hpp0r1IgFORhZHqQXi7EMdkcmAr2Sc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants