Python Search Error
Brought to you by:
fabioz
When I select a class or def name and go to the refactoring menu and select "Find All Occurences" I usually end up getting a window that pops up and says
Problem Occurred
'Python Search' has encountered a problem. An internal error occurred during: "Python Search".
Details:
An internal error occurred during "Python Search".
org.eclipse.swt.SWTException: Invalid thread access
Sometimes I would restart Eclipse and it would help. Now I can't seem to get Find All Occurrences to work at all.
System: Windows XP
Eclipse Platform Version 3.5.2
PyDev for Eclipse Version 1.5.5
Alternatively I did a Search for the class name instead and I got a similar error with more details on files being out of sync. When I refreshed the package the errors I received in Search and Find All Occurrences disappeared. This could probably be handled a little better, the original error message was pretty ambiguous about what was going on.