Reputation: 263
I had previously successfully installed and tested out django-haystack, thought it wasn't what I wanted, and uninstalled it*. Now, I'm having trouble re-installing haystack. It's like a messy breakup/reconciliation situation.
In particular, adding ANY haystack settings OR 'haystack',
to INSTALLED_APPS
in my settings.py file drastically breaks everything and I end up with a 502 response via Cloudflare, and Gunicorn telling me:
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Here's what I've tried so far:
Any ideas?
*Don't know if this information will be of any use, but here's what I did when uninstalling haystack the first time round:
pip uninstall django-haystack
'haystack',
from INSTALLED_APPS
Even more info:
$ pip show django-haystack
---
Name: django-haystack
Version: 2.4.0
Location: .../lib/python2.7/site-packages # truncated path
Requires: Django
$ pip show Whoosh
---
Name: Whoosh
Version: 2.7.0
Location: .../lib/python2.7/site-packages # truncated path again
Requires:
Upvotes: 0
Views: 257
Reputation: 263
Figured it out after getting some sleep! A spare )
in HAYSTACK_CONNECTIONS
was the source of all my troubles..!
Upvotes: 1