Find in files dialog hangs

I have the same issue this person had. Broken Find Dialog that gets stuck

Restarting in safe mode fixed it, but I obviously don’t want to do that always. Restarting it normally doesn’t fix it. I’m using the latest version of Komodo IDE on Linux. Is there something else that can be done?

Hi @Robert_Packer,

Could you follow the instruction in my comment here and add your logs to that ticket for me to review?

You can also follow the instructions in my last comment to see if that helps.

  • Carey

Sure thing. Here you go, Yep, I seem to have the same issue they do in the bug report. I also updated recently (auto update, then reinstalled with nightly).

[2016-08-26 08:52:55,827] [INFO] Startup: Welcome to Komodo IDE 10.1.0-beta1 build 89417 (platform linux-x86_64, running on Linux 3.16.0-38-generic version #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015)
[2016-08-26 08:52:55,827] [INFO] Startup: /usr/bin/python built on Fri Aug 12 09:28:32 2016
[2016-08-26 08:52:55,893] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2016-08-26 08:52:56,044] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2016-08-26 08:52:56,080] [WARNING] root: ko.logging has been converted to a CommonJS module; use require(“ko/logging”) instead (since Komodo 9.0.0a1).
@chrome://komodo/content/komodo.js:15:1

[2016-08-26 08:52:56,387] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2016-08-26 08:52:57,826] [INFO] koInitService: Adding pre startup service for ‘koFileStatusService’: ‘@activestate.com/koFileStatusService;1’
[2016-08-26 08:52:57,948] [INFO] komodospellchecker: Spell checker loaded.
[2016-08-26 08:52:57,948] [INFO] komodospellchecker: Using dictionary en-US
[2016-08-26 08:52:58,008] [ERROR] koScopeDocs-Py: Could not find cix for ext
[2016-08-26 08:52:58,008] [ERROR] koScopeDocs-Py: Could not find cix for html5
[2016-08-26 08:52:58,266] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2016-08-26 08:53:00,952] [INFO] koInitService: Adding pre startup service for ‘KoMemoryReporter’: ‘@activestate.com/koMemoryReporter;1’
[2016-08-26 08:53:00,954] [INFO] koInitService: Adding pre startup service for ‘koCommandmentService’: ‘@activestate.com/koCommandmentService;1’
[2016-08-26 08:53:00,960] [INFO] koInitService: Adding pre startup service for ‘koDBGPManager’: ‘@activestate.com/koDBGPManager;1’
[2016-08-26 08:53:02,486] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///home/robert/Komodo-IDE-10/lib/mozilla/components/koamAddonManager.js:138
[2016-08-26 08:53:02,896] [WARNING] console-logger: Empty string passed to getElementById(). (1) in chrome://global/content/bindings/richlistbox.xml:361
[2016-08-26 08:53:02,896] [WARNING] console-logger: Empty string passed to getElementById(). (1) in chrome://global/content/bindings/richlistbox.xml:366
[2016-08-26 08:53:02,933] [WARNING] console-logger: Empty string passed to getElementById(). (1) in chrome://global/content/bindings/richlistbox.xml:361
[2016-08-26 08:53:02,940] [WARNING] console-logger: Empty string passed to getElementById(). (1) in chrome://global/content/bindings/richlistbox.xml:366
[2016-08-26 08:53:07,870] [WARNING] console-logger: Key event not available on some keyboard layouts: key=“o” modifiers=“control,alt,shift” (1) in chrome://komodo/content/komodo.xul:0
[2016-08-26 08:53:07,871] [WARNING] console-logger: Key event not available on some keyboard layouts: key=“v” modifiers=“control,alt” (1) in chrome://komodo/content/komodo.xul:0
[2016-08-26 08:53:47,373] [INFO] find.functions: ko.find.findAllInFiles(editor, context, pattern=‘handbrake’, patternAlias=‘null’)
ERROR:xpcom:Unhandled exception calling ‘int8 * AddFindResults(in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[]);’
Traceback (most recent call last):
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFindResultsView.py”, line 141, in AddFindResults
“findresults-filename”: self.NormalizeFilename(fileName),
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFindResultsView.py”, line 93, in NormalizeFilename
if fileName.index(self.rootPath) is not 0:
ValueError: substring not found
ERROR:xpcom:Unhandled exception calling ‘int8 * run();’
Traceback (most recent call last):
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/components.py”, line 237, in run
self.result = self.fn(*self.args, **self.kwargs)
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFinder.py”, line 158, in AddFindResults
return self.obj.AddFindResults(*args)
File “<XPCOMObject method ‘AddFindResults’>”, line 3, in AddFindResults
Exception: 2147500037 (NS_ERROR_FAILURE)
ERROR:xpcom:Unhandled exception calling ‘int8 * AddFindResults(in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[], in uint32, in Array[]);’
Traceback (most recent call last):
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFindResultsView.py”, line 141, in AddFindResults
“findresults-filename”: self.NormalizeFilename(fileName),
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFindResultsView.py”, line 93, in NormalizeFilename
if fileName.index(self.rootPath) is not 0:
ValueError: substring not found
ERROR:xpcom:Unhandled exception calling ‘int8 * run();’
Traceback (most recent call last):
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/components.py”, line 237, in run
self.result = self.fn(*self.args, **self.kwargs)
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFinder.py”, line 158, in AddFindResults
return self.obj.AddFindResults(*args)
File “<XPCOMObject method ‘AddFindResults’>”, line 3, in AddFindResults
Exception: 2147500037 (NS_ERROR_FAILURE)
Exception in thread Find/Replace Thread 1:
Traceback (most recent call last):
File “/home/robert/Komodo-IDE-10/lib/python/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
self.run()
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFinder.py”, line 209, in run
self._report(flush=True)
File “/home/robert/Komodo-IDE-10/lib/mozilla/components/koFinder.py”, line 419, in _report
self._r_lineNums, self._r_columnNums, self._r_contexts)
File “/home/robert/Komodo-IDE-10/lib/mozilla/python/xpcom/components.py”, line 263, in wrapperFn
threadMgr.mainThread.dispatch(method, dispatch_flags)
File “<XPCOMObject method ‘dispatch’>”, line 3, in dispatch
Exception: 2147500037 (NS_ERROR_FAILURE)

Same here on OS X 10.11.6, Komodo Edit, find in files is actually unusable. It hangs at “Preparing… Findig xxx in yyyy.” in normal-mode and safe-mode, with or without add-ons.

I believe this has been identified as https://github.com/Komodo/KomodoEdit/issues/1964 and will be fixed in a nightly build that @careyh is working on.

Komodo Edit, version 10.1.0, build 17406 works! Thank you very much!

Yep, nightly fixed it for Komodo IDE also. Thanks much.