PhoneixS / advanced-find

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

pressing bottom panel 'Next' button causes an error if result list is empty #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ensure the result list of the bottom panel is empty
2. press the 'Next' button

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

Traceback (most recent call last):
  File "/home/development/.local/share/gedit/plugins/advancedfind/find_result.py", line 385, in on_selectNextButton_clicked_action
    it = self.findResultTreemodel.get_iter(path)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 798, in get_iter
    path = TreePath(path)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1209, in __new__
    if len(path) == 0:
TypeError: object of type 'NoneType' has no len()

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

Please provide any additional information below.
- consider deactivating unused buttons

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 28 Jan 2013 at 3:10

GoogleCodeExporter commented 9 years ago
I will fix this.

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:13

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:17

GoogleCodeExporter commented 9 years ago
Fixed at v3.5.3.

Original comment by swatch.c...@gmail.com on 31 Mar 2013 at 3:53

GoogleCodeExporter commented 9 years ago
Bugfix works.

Original comment by ir4o.o91...@gmail.com on 2 Apr 2013 at 10:44