agoravoting / agora-ciudadana

Liquid Voting system made with python and django
https://www.agoravoting.com
GNU Affero General Public License v3.0
123 stars 48 forks source link

SpellChecker was removed from Whoosh #32

Open rafacouto opened 11 years ago

rafacouto commented 11 years ago

I am getting this error during the installation process (in an updated Debian Wheezy from scratch). Tested from master branch and v2.1.0 tag.

File "/home/caligari/agora/haystack/backends/whoosh_backend.py", line 44, in <module>
    from whoosh.spelling import SpellChecker
ImportError: cannot import name SpellChecker

It seems a problem of versioning between Whoosh and Haystack: https://github.com/toastdriven/django-haystack/issues/819

toastdriven commented 11 years ago

This is fixed as of Haystack v2.1.0, which adds support for Whoosh 2.5.0+.

edulix commented 11 years ago

Thanks @toastdriven we can then require haystack v2.1.x and use whoosh 2.5.0+ I guess.

patcon commented 11 years ago

Working a creating a common vagrant dev environment that will hopefully help with this stuff :) https://github.com/patcon/agora-ciudadana-vagrant

Not working yet though. Still trying to wrangle chef's deploy resource into working with how this project likes to be deployed.