johnturek / advanced-find

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

Crash when no filebrowser is installed #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/home/marco/.gnome2/gedit/plugins/advancedfind/advancedfind.py", line 181, in advanced_find_active
    self.find_dialog = AdvancedFindUI(self._plugin)
  File "/home/marco/.gnome2/gedit/plugins/advancedfind/advancedfind_ui.py", line 134, in __init__
    if filebrowser_root != None and self._instance.options['ROOT_FOLLOW_FILEBROWSER'] == True:

Simple fix... 
-if filebrowser_root != None and 
self._instance.options['ROOT_FOLLOW_FILEBROWSER'] == True:
+if filebrowser_root != None and 'ROOT_FOLLOW_FILEBROWSER' in 
self._instance.options and self._instance.options['ROOT_FOLLOW_FILEBROWSER'] == 
True:

;)

Original issue reported on code.google.com by trevi55 on 7 Jan 2011 at 2:08

GoogleCodeExporter commented 9 years ago
Hi, thanks for your reply. It looks like something is missing in config.xml. 
Did you replace the config.xml file with new one?

Original comment by swatch.c...@gmail.com on 7 Jan 2011 at 3:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Filebrower plugin is installed with gedit by default. i don't think this is 
because of no filebrowser plugin is installed. It looks like you use the 
earlier version config.xml with v0.7.0. Please replace it with the new one and 
try again.

Original comment by swatch.c...@gmail.com on 8 Jan 2011 at 5:37

GoogleCodeExporter commented 9 years ago
If there are no any more information, i will close this issue as WontFix 
because i can't reproduce the problem.

Original comment by swatch.c...@gmail.com on 12 Jan 2011 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 16 Jan 2011 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 8 Jun 2011 at 5:25