SearchQuerySet error on Linux when using order_by
I'm running Django Haystack with Whoosh. Tried on both Windows and Linux. Whoosh and Haystack were installed with easy_install on both Windows and Linux. On Windows, it works fine. On Linux, the following order by on the SearchQuerySet will cause error.
sqs = sqs.order_by('name')
Django Version: 1.2.3
Exception Type: error
unpack requires a string argument of length 4 Exception Location: /home/foodia/lib/python2.6/Whoosh-1.5.5-py2.6.egg/whoosh/filedb/structfile.py in read_uint, line 230 Python Executable: /usr/local/bin/python Python Version: 2.6.5