AzaIndustries / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

pressing Next on search with no results raises error #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. search for something that will return no results (0 hits in 0 files)
2. press Next button in result list

What is the expected output? What do you see instead?
- nothing should happen, but terminal shows the following error:

Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/advancedfind/find_result.py", line 402, in on_selectNextButton_clicked_action
    it2 = self.findResultTreemodel.iter_next(it1)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 817, in iter_next
    next_iter = aiter.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

What version of the product are you using? On what operating system?
- Linux Mint 14
- gedit 3.6.1
- Advanced Find/Replace 3.5.3

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 2 Apr 2013 at 11:10

GoogleCodeExporter commented 8 years ago
I don't think this will be a problem, but I will fix this.

Original comment by swatch.c...@gmail.com on 8 Apr 2013 at 3:58

GoogleCodeExporter commented 8 years ago
Fixed at v3.5.4.

Original comment by swatch.c...@gmail.com on 1 May 2013 at 2:59