1. Erik Grinaker
  2. Revelation
Issue #86 new

Error while searching

hamid_nk
created an issue

When I press ctrl+f and enter a search term I get this error:

Traceback (most recent call last):
  File "/usr/bin/revelation", line 621, in __cb_searchbar_button_clicked
    self.__entry_find(self, self.searchbar.entry.get_text(), self.searchbar.dropdown.get_active_type(), direction)
  File "/usr/bin/revelation", line 936, in __entry_find
    match = self.entrysearch.find(string, entrytype, self.tree.get_active(), direction)
  File "/usr/lib/python2.7/site-packages/revelation/data.py", line 245, in find
    if self.match(iter, string, entrytype) == True:
  File "/usr/lib/python2.7/site-packages/revelation/data.py", line 294, in match
    elif self.casesensitive == False and string.decode("utf-8").lower() in item.decode("utf-8").lower():
AttributeError: 'NoneType' object has no attribute 'decode'

Is it a bug? Is there any required python module that I haven't installed?

Comments (0)

  1. Log in to comment