Open dominic opened 9 years ago
Very odd. I don't think it's related. This seems like rails might be looking at the terminal width or something? Can you try it with foreman?
Installing and running foreman from the gem works totally as expected.
I'm seeing the same thing on a flask app:
forego | starting web.1 on port 5000
web.1 | [2016-01-27 10:22:34 -0800] [14241] [INFO] Starting gunicorn 19.3.0
web.1 | [2016-01-27 10:22:34 -0800] [14241] [INFO] Listening at: http://0.0.0.0:5000 (14241)
web.1 | [2016-01-27 10:22:34 -0800] [14241] [INFO] Using worker: sync
web.1 | [2016-01-27 10:22:34 -0800] [14244] [INFO] Booting worker with pid: 14244
web.1 | [2016-01-27 10:22:34 -0800] [14245] [INFO] Booting worker with pid: 14245
web.1 | [2016-01-27 10:22:35 -0800] [14246] [INFO] Booting worker with pid: 14246
web.1 | [2016-01-27 10:22:35 -0800] [14244] [ERROR] Exception in worker process:
web.1 | site-packages/gunicorn/app/wsgiapp.py", line 65, in load
web.1 | t/cpt/department/views.py", line 4, in <module>
web.1 | ate_constructor
web.1 | /Users/chrisreade/.virtualenvs/cpt/lib/python3.4/site-packages/sqlalchemy/orm/relationships.py", line 1573, in _process_dependent_arguments
web.1 | 'user_department_relationship_table' is not defined
web.1 | line 355, in import_app
web.1 | efaults:
web.1 | configure_mappers()
web.1 | f.arg, n.args[0], self.cls)
web.1 | [2016-01-27 10:22:35 -0800] [14244] [INFO] Worker exiting (pid: 14244)
web.1 | [2016-01-27 10:22:35 -0800] [14245] [ERROR] Exception in worker process:
web.1 | site-packages/gunicorn/app/wsgiapp.py", line 65, in load
web.1 | t/cpt/department/views.py", line 4, in <module>
web.1 | ate_constructor
foreman works as expected though.
I am getting this with Node.js also.
worker.1 | Warning: a promise was created in a handler but was not returned from it
worker.1 | :77:13)
Very strange.
Pretty standard exception in Rails is getting absolutely mangled by
heroku local
/forego
:Using Rails 4.2.4 and not much else that could be weird. Outputs complete backtrace when run via
rails s
orforeman start
.Possibly related to https://github.com/ddollar/forego/issues/62 ? I didn't see a strong connection beyond output issues.