Issue #308 resolved

ZeroDivisionError

Michal Čihař
created an issue

Seen by one of Weblate users (https://github.com/nijel/weblate/issues/177):

File "/home/xyz/weblate/lib/python2.6/site-packages/whoosh/searching.py" in key_terms_from_text
  462.         expander = classify.Expander(self.ixreader, fieldname, model=model)
File "/home/xyz/weblate/lib/python2.6/site-packages/whoosh/classify.py" in __init__
  111.                           self.ixreader.field_length(fieldname))
File "/home/xyz/weblate/lib/python2.6/site-packages/whoosh/classify.py" in __init__
  46.         self.mean_length = self.collection_total / self.N

Exception Type: ZeroDivisionError at /js/similar/24514/
Exception Value: float division

Comments (3)

  1. Log in to comment