Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 302 forks source link

PHP Imports cause CPU spikes (with workaround) #3649

Open ssigwart opened 5 years ago

ssigwart commented 5 years ago

Short Summary

On MacOS, Komodo gets excessively laggy when typing, scrolling, or clicking in the UI. At times, I can type up to 4 or 5 words of a sentence before the characters start displaying. In general, Komodo seems to use a lot of CPU, but at times, things seem to hang and a Python process with use 100% for a while. Also, #3639 is an issue for me on Komodo IDE too.

Steps to Reproduce

I think you'll need to use a fairly large project and work on it for a fair amount of time. Sometimes, there are issues within a few minutes. Other times, it can be around an hour or more.

Expected results

  1. Characters should show immediately when typed.
  2. Clicking tabs and buttons in the UI or using keyboard shortcuts should have immediate feedback.
  3. When scrolling (on an Apple Trackpad), scrolling should be smooth.
  4. As mentioned in #3639, dropdowns should work consistently.
  5. Python should not use 100% CPU.

Actual results

  1. Characters show a few seconds after typed (seems to get worse after a while of using the app).
  2. When issue is present, actions lag and then seem to batch together and happen after a second or more lag. For instance, I can double click a word to highlight it, use Cmd-C to copy while the UI still doesn't show it highlighted, click somewhere else, then use Cmd-V to paste. This all works as expected to copy and paste the word even though the UI lags in reflecting it.
  3. Scrolling can be laggy and jumpy, continuing after I stop scrolling.
  4. Dropdowns don't consistently work. Some only seem to work once (seems to be a zIndex issue).
  5. Python uses 100% CPU.

Platform Information

Additional Information

I tried various configurations of the Code Intelligence settings. Below are my findings:

I noticed a few times that the Symbol Browser would hang showing the loading icon. This coincided with Python using 100% CPU many of the times I saw it. I'm not sure if it was every time Python used 100% or just a side effect.

When closing the app, it seems to take around 5 - 10 seconds for the app to show as closed in the macOS dock.

Settings Corresponding with the Logs Shown Below

komodosettings

I feel like this issue may be related to CodeIntel. Currently, codeintel3.db is 116MB. In codeintel3.log, I noticed the below logged a lot. Manually running this query, there are ~3,500 results.

<1546725784> [2019-01-05 17:13:53,293] [INFO]  peewee: Slow query, 7 ms
<1546725784> [2019-01-05 17:13:53,293] [INFO]  peewee: ('SELECT "t1"."id", "t1"."parent_id", "t1"."file_id", "t1"."name", "t1"."symbol_type", "t1"."type_hint", "t1"."line", "t2"."id", "t2"."path", "t2"."created" FROM "symbol" AS t1 INNER JOIN "file" AS t2 ON ("t1"."file_id" = "t2"."id") WHERE ((((("t2"."path" LIKE ?) OR ("t2"."path" LIKE ?)) AND ("t2"."path" LIKE ?)) AND ("t1"."symbol_type" = ?)) AND ("t1"."parent_id" IS ?))', [u'/trimmed_path/main/website/includes/trimmed_path/%', u'/trimmed_path/main/%', u'%.php', u'NMSP', None])

Also, codeintel seems to be killed and restarted a lot:

<1546725784> [2019-01-05 17:14:25,240] [WARNING]  ServiceThread: keepalive timeout reached, force stopping codeintel process
<1546725784> [2019-01-05 17:14:25,288] [WARNING]  ServiceThread: 
# ThreadID: 123145450668032
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 781, in __bootstrap
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/scanner.py", line 44, in run
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Queue.py", line 168, in get
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 339, in wait

# ThreadID: 123145446461440
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 781, in __bootstrap
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 761, in run
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/servicethread.py", line 103, in __start
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/server/socketserver.py", line 31, in serve_blocking
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 238, in serve_forever
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 321, in process_request
File: "/Applications/Komodo IDE 11.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/server/socketserver.py", line 59, in __init__
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/server/socketserver.py", line 96, in handle
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/server/socketserver.py", line 106, in process_queue
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/server/jsonrpc.py", line 59, in process
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/service/__init__.py", line 71, in getCompletions
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/scanner.py", line 1076, in getCompletions
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/completions.py", line 131, in getCompletions
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 703, in resolveImports
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/import_resolver.py", line 50, in resolveImport
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 863, in resolve
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 703, in resolveImports
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/import_resolver.py", line 50, in resolveImport
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 931, in resolve
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 703, in resolveImports
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/import_resolver.py", line 50, in resolveImport
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 931, in resolve
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/common.py", line 703, in resolveImports
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/import_resolver.py", line 67, in resolveImport
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/symbols.py", line 152, in resolveMember
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/db/model/symbol.py", line 229, in members
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/env/lib/python2.7/site-packages/peewee.py", line 3223, in iterator
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/env/lib/python2.7/site-packages/peewee.py", line 3215, in execute
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/env/lib/python2.7/site-packages/peewee.py", line 2892, in _execute
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/env/lib/python2.7/site-packages/playhouse/apsw_ext.py", line 116, in execute_sql
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/env/lib/python2.7/site-packages/playhouse/apsw_ext.py", line 102, in _execute_sql

# ThreadID: 4345189824
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib/server.py", line 214, in <module>
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib/server.py", line 118, in __init__
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib/server.py", line 131, in cycle
File: "/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/servicethread.py", line 64, in cycle
<1546725784> [2019-01-05 17:14:25,288] [INFO]  Server: Exiting Forcefully
<1546726465> [2019-01-05 17:14:25,528] [INFO]  codeintel.db.database: Database initialized
<1546726465> [2019-01-05 17:14:25,528] [INFO]  codeintel.scanner: Starting threaded file scanner.
<1546726465> [2019-01-05 17:14:25,529] [DEBUG]  SocketServer: Initializing SocketServer
<1546726465> [2019-01-05 17:14:30,521] [INFO]  Server: Started CodeIntel server on port: 60714, pid: 7118

Here is the output of pystderr.log.

[2019-01-05 17:03:03,185] [INFO] Startup: Welcome to Komodo IDE 11.1.0 build 91033 (platform macosx, running on Darwin 18.2.0 version Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64)
[2019-01-05 17:03:03,185] [INFO] Startup: /Applications/Komodo IDE 11.app/Contents/MacOS/komodo built on Wed May 30 10:04:57 2018
[2019-01-05 17:03:03,266] [WARNING] koInitService: Unable to determine the current locale settings, defaulting to mac-roman
[2019-01-05 17:03:03,560] [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
[2019-01-05 17:03:03,596] [WARNING] root: [object Object].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

[2019-01-05 17:03:03,904] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2019-01-05 17:03:03,981] [WARNING] keybindings: [Shift+Down] was used for 'cmd_selectLineNext', overriding to use 'cmd_selectLineNext'
[2019-01-05 17:03:04,257] [WARNING] ko.widgets: Could not restore widget symbolbrowser-widget
[2019-01-05 17:03:04,333] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/11
[2019-01-05 17:03:04,430] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2019-01-05 17:03:04,522] [INFO] komodospellchecker: Spell checker loaded.
[2019-01-05 17:03:04,522] [INFO] komodospellchecker: Using dictionary en-US
[2019-01-05 17:03:04,535] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2019-01-05 17:03:04,577] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:03:04,578] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:03:05,085] [ERROR] console-logger: Exception while registering Focus Mode (0) in resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js:11
Traceback (most recent call last):
  File "resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js", line 11, in 

[2019-01-05 17:03:05,087] [ERROR] console-logger: [object Object] (0) in resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js:12
Traceback (most recent call last):
  File "resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js", line 12, in 

[2019-01-05 17:03:05,960] [WARNING] console-logger: Error in parsing value for 'opacity'.  Declaration dropped. (1) in chrome://komodo/skin/images/toolbox/command.svg:0
[2019-01-05 17:03:07,006] [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:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/koamAddonManager.js:138
[2019-01-05 17:03:07,209] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2019-01-05 17:03:07,218] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
[2019-01-05 17:03:07,220] [INFO] koInitService: Adding pre startup service for 'koDBGPManager': '@activestate.com/koDBGPManager;1'
[2019-01-05 17:03:07,424] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:03:07,433] [DEBUG] ko.launch: Response: http://docs.komodoide.com/__omnigollum__/auth/github?origin=%2Fcreate%2Fchangelog%2F11 (404)
[2019-01-05 17:03:07,433] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/111
[2019-01-05 17:03:07,783] [DEBUG] ko.launch: Response: http://docs.komodoide.com/__omnigollum__/auth/github?origin=%2Fcreate%2Fchangelog%2F111 (404)
[2019-01-05 17:03:09,841] [DEBUG] codeintel/process: stdout: 
port:60587

pid:7037

[2019-01-05 17:03:09,841] [INFO] codeintel/process: CodeIntel started on port 60587
[2019-01-05 17:03:09,841] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:03:22,050] [WARNING] views: Inconsistent view count in view_closed event
[2019-01-05 17:03:22,109] [WARNING] views: Inconsistent view count in view_opened event
[2019-01-05 17:03:28,361] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:04:06,002] [ERROR] console-logger: TypeError: service.getSymbols(...) is undefined (2) in chrome://codeintel/content/sdk/feature/symbolscope.js:27
Traceback (most recent call last):
  File "chrome://codeintel/content/sdk/feature/symbolscope.js", line 27, in 

[2019-01-05 17:04:10,499] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:04:29,290] [ERROR] console-logger: TypeError: service.getSymbols(...) is undefined (2) in chrome://codeintel/content/sdk/feature/symbolscope.js:27
Traceback (most recent call last):
  File "chrome://codeintel/content/sdk/feature/symbolscope.js", line 27, in 

[2019-01-05 17:04:41,853] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:06:03,798] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:10:10,120] [ERROR] console-logger: TypeError: service.getSymbols(...) is undefined (2) in chrome://codeintel/content/sdk/feature/symbolscope.js:27
Traceback (most recent call last):
  File "chrome://codeintel/content/sdk/feature/symbolscope.js", line 27, in 

[2019-01-05 17:10:13,861] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:10:51,096] [ERROR] console-logger: TypeError: service.getSymbols(...) is undefined (2) in chrome://codeintel/content/sdk/feature/symbolscope.js:27
Traceback (most recent call last):
  File "chrome://codeintel/content/sdk/feature/symbolscope.js", line 27, in 

[2019-01-05 17:10:54,148] [ERROR] console-logger: TypeError: service.getSymbols(...) is undefined (2) in chrome://codeintel/content/sdk/feature/symbolscope.js:27
Traceback (most recent call last):
  File "chrome://codeintel/content/sdk/feature/symbolscope.js", line 27, in 

[2019-01-05 17:13:09,949] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2019-01-05 17:14:25,296] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:14:25,297] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:14:25,298] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:14:25,298] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:14:25,298] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:14:25,299] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:14:29,939] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:14:30,528] [DEBUG] codeintel/process: stdout: 
port:60714

pid:7118

[2019-01-05 17:14:30,528] [INFO] codeintel/process: CodeIntel started on port 60714
[2019-01-05 17:14:30,529] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:16:00,682] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:885:5

[2019-01-05 17:16:00,683] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:16:00,683] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:16:00,683] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:16:00,683] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:16:00,684] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:16:01,814] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:16:06,006] [DEBUG] codeintel/process: stdout: 
port:60745

pid:7137

[2019-01-05 17:16:06,006] [INFO] codeintel/process: CodeIntel started on port 60745
[2019-01-05 17:16:06,006] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:18:31,082] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:18:31,083] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:18:31,083] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:18:31,084] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:18:31,084] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:18:31,085] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:18:36,336] [DEBUG] codeintel/process: stdout: 
port:60751

pid:7148

[2019-01-05 17:18:36,336] [INFO] codeintel/process: CodeIntel started on port 60751
[2019-01-05 17:18:36,337] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:22:01,509] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:22:01,510] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:22:01,510] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:22:01,510] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:22:01,511] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:22:01,512] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:22:01,539] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:22:04,405] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:22:06,848] [DEBUG] codeintel/process: stdout: 
port:60789

pid:7162

[2019-01-05 17:22:06,848] [INFO] codeintel/process: CodeIntel started on port 60789
[2019-01-05 17:22:06,848] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:24:29,480] [ERROR] console-logger: HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy (2) in chrome://komodo/content/bindings/scrolltabs.xml:706
Traceback (most recent call last):
  File "chrome://komodo/content/bindings/scrolltabs.xml", line 706, in 

[2019-01-05 17:28:15,536] [ERROR] console-logger: HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy (2) in chrome://komodo/content/bindings/scrolltabs.xml:706
Traceback (most recent call last):
  File "chrome://komodo/content/bindings/scrolltabs.xml", line 706, in 

[2019-01-05 17:29:07,021] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:29:07,023] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:29:07,023] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:29:07,023] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:29:07,023] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:29:07,024] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:29:08,029] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:08,175] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:08,430] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:08,570] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:08,672] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:08,828] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:09,400] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:09,705] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:09,941] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:10,109] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:10,402] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:10,527] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:10,656] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:11,097] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:11,119] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:11,826] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:29:12,271] [DEBUG] codeintel/process: stdout: 
port:60837

pid:7182

[2019-01-05 17:29:12,271] [INFO] codeintel/process: CodeIntel started on port 60837
[2019-01-05 17:29:12,271] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:30:02,301] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:885:5

[2019-01-05 17:30:02,302] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:30:02,302] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:30:02,302] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:30:02,302] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:30:02,303] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:30:04,761] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:30:07,524] [DEBUG] codeintel/process: stdout: 
port:60844

pid:7196

[2019-01-05 17:30:07,524] [INFO] codeintel/process: CodeIntel started on port 60844
[2019-01-05 17:30:07,524] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:33:32,759] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:33:32,766] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:33:32,766] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:33:32,766] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:33:32,766] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:33:32,767] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:33:32,842] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:32,995] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:33,123] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:33,292] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:33,406] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:33,540] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:33,917] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:34,666] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:34,890] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:35,027] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:36,123] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:37,320] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:37,454] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:37,893] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:38,063] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:33:38,133] [DEBUG] codeintel/process: stdout: 
port:60977

pid:7207

[2019-01-05 17:33:38,134] [INFO] codeintel/process: CodeIntel started on port 60977
[2019-01-05 17:33:38,134] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:37:38,242] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:37:38,243] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:37:38,243] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:37:38,243] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:37:38,243] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:37:38,244] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:37:38,291] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:38,620] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:38,798] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:38,946] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,046] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,148] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,250] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,404] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,668] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,729] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:39,779] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:41,368] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:41,579] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:41,725] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:41,928] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:42,438] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:42,454] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:42,715] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:43,223] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:43,235] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:43,480] [WARNING] codeintel/service/mediator: Waiting for mediator
[2019-01-05 17:37:43,536] [DEBUG] codeintel/process: stdout: 
port:61983

pid:7326

[2019-01-05 17:37:43,536] [INFO] codeintel/process: CodeIntel started on port 61983
[2019-01-05 17:37:43,537] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:38:58,627] [ERROR] socket-tcp: Error occurred: error : NetworkError
Traceback from ERROR in 'socket-tcp' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    connection/onError@chrome://komodo/content/sdk/socket/tcp.js:101:17
    ts_callListener@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:340:5
    TCPSocket.prototype._maybeReportErrorAndCloseIfOpen@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:828:7
    ts_output_onStopRequest@file:///Applications/Komodo%20IDE%2011.app/Contents/Resources/components/TCPSocket.js:266:11

[2019-01-05 17:38:58,628] [INFO] codeintel/process: onClose called, code: 9
[2019-01-05 17:38:58,628] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2019-01-05 17:38:58,629] [INFO] codeintel/process: Restarting CodeIntel
[2019-01-05 17:38:58,629] [INFO] codeintel/process: Starting CodeIntel
[2019-01-05 17:38:58,630] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 11.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 11.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2019-01-05 17:39:03,885] [DEBUG] codeintel/process: stdout: 
port:62331

pid:7336

[2019-01-05 17:39:03,886] [INFO] codeintel/process: CodeIntel started on port 62331
[2019-01-05 17:39:03,886] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2019-01-05 17:42:54,168] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:42:54,168] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:42:54,169] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:42:54,169] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:42:54,170] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:42:54,170] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,386] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,387] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,387] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,388] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,388] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:15,388] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:17,376] [WARNING] prefs: The 'find-searchBackward' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:17,376] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:17,382] [WARNING] prefs: The 'find-searchBackward' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:17,382] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,302] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,304] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,304] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,305] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,305] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:43:30,305] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,216] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,217] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,217] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,218] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,218] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:12,219] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,675] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,675] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,676] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,677] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,677] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:32,678] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,032] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,033] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,034] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,034] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,035] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:38,035] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,510] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,511] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,511] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,512] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,513] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:44:58,513] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,418] [WARNING] prefs: The 'find-folders' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,418] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,419] [WARNING] prefs: The 'find-includeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,419] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,420] [WARNING] prefs: The 'find-excludeFiletypes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:45:19,421] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,946] [WARNING] prefs: The '1' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,947] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,948] [WARNING] prefs: The 'coordinates' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,948] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,949] [WARNING] prefs: The 'windowState' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,949] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,950] [WARNING] prefs: The 'screenX' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,950] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,951] [WARNING] prefs: The 'screenY' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,951] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,951] [WARNING] prefs: The 'outerHeight' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,952] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,952] [WARNING] prefs: The 'outerWidth' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,952] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,953] [WARNING] prefs: The 'hasFocus' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,953] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,954] [WARNING] prefs: The 'opened_projects_v7' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,954] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,955] [WARNING] prefs: The 'current_project' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,955] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,973] [WARNING] prefs: The 'topview' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,974] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,974] [WARNING] prefs: The 'windowNum' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,974] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,975] [WARNING] prefs: The 'timestamp' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,975] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,976] [WARNING] prefs: The 'history_rctabs' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,976] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,976] [WARNING] prefs: The 'rctabs_list' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:40,977] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,005] [WARNING] prefs: The 'komodo_normal_shutdown' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,005] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,941] [WARNING] prefs: The 'history_prevPlaces' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,942] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,942] [WARNING] prefs: The 'history_forwardPlaces' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,943] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,944] [WARNING] prefs: The 'places-open-nodes-v2' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,944] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,949] [WARNING] views: Inconsistent view count in view_closed event
[2019-01-05 17:53:41,951] [WARNING] prefs: The 'open-nodes' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,951] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,955] [WARNING] prefs: The 'ui.tabs.sidepanes.state' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.
[2019-01-05 17:53:41,955] [WARNING] prefs: The '__all__' preference has changed while the pref window was open. If you get this message, a pref panel is incorrectly modifying prefs and the modified value will be lost.

I also have Activity Monitor samples of the Python process at 2 different times when it was at 100% CPU. I can send them if you need them.

I tried to add as much info as I could. Hopefully this is helpful. Please let me know if you need any more information.

Naatan commented 5 years ago

I feel like you might plainly be throwing too much at the IDE to handle here. No doubt we can optimize things further, but at a certain point we will say "this is just unrealistic, please scope down your project".

All of this is to say, can you point Komodo at JUST the file you're actually working with? I feel often people just point their IDE at a top level folder and go to work. This is basically telling Komodo "I am working with ALL THE FILES that I'm currently pointing you at (ie. the top level of your project). A better way to approach this is to point it just at the specific files you're working with OR by adding excludes to your project configuration, which tells Komodo "Don't worry about these files". Your vendor folder would generally be a good one to add to your excludes.

Does this sound reasonable, or would you say that the amount of files you're pointing Komodo at is not that large? Any context you could give us on the project you're working on?

ssigwart commented 5 years ago

Thanks for the response.

It is fairly large, but I wouldn't say it's massive. I have tried in both Edit and IDE to add as many excludes as possible ("node_modules", "vendor", etc.). The project folder has about 36,000 files. However, after the excludes, it's down to a little over 12,000. Breaking it down to file types, it's

Language Count
PHP ~2,200
Smarty ~2,800
CSS < 50
SCSS ~400
Javascript ~500
SQL ~1,300
Bash ~325

One issue is I don't believe I can exclude something like "static/img". I'd have to exclude "img", right? Images account for about 4,000 files. There are other places where I'd like to exclude a specific folder too, but the folder name is not unique.

  1. Does this seem like too many files to you?
  2. Is there any combination of settings to allow completions of variables and functions within the same file, but not all the others if the number of files is too much?
  3. Does Komodo Edit have a way to disable CodeIntel if that is what causes the issues?
ssigwart commented 5 years ago

@Naatan, I believe I found a bug that causes Python to use 100% CPU. When using namespaces, particularly something like use \Exception;, I'm able to duplicate the CPU issue. Somehow, /Applications/Komodo IDE 11.app/Contents/Resources/extensions/codeintel@activestate.com/pylib/codeintel/lib/language/legacy/php/import_resolver.py winds up with import_symbol.type starting with \\. That means that the following line eventually results in a search for an empty string (since name_parts[0] is blank):

name_parts = import_symbol.type.split("\\")

If I change it to the following, it seems much better:

name_parts = import_symbol.type.lstrip("\\").split("\\")
Naatan commented 5 years ago

Very nice digging, I'm impressed! Does that tweak resolve your issue or simply somewhat reduce it?

ssigwart commented 5 years ago

It resolves the worst of the issues with 100% CPU in that case. In working today, I've had it hit 100% a few times, but not for as long of a duration. I'll have to debug some more later as it seems to be a different issue. There's still a little lag in suggestions or they won't show sometimes, but I can live with that.

Naatan commented 5 years ago

Very cool. Thanks for sharing! We'll do some testing and get it in the next release.

ssigwart commented 5 years ago

It's still been getting sluggish, but I've also found a few simple optimizations that seem pretty safe to me and seem to have at least some benefit. I'm not sure if you give people access to the IDE repo, but if you do, I can add them in a branch. If not, I can add them in the comments here when I get some time.

Naatan commented 5 years ago

Unfortunately IDE is not open-source. We would surely appreciate any tweaks you could contribute, although I guess technically the license may prohibit this. Feel free to send it to support@activestate.com if you want to be safe.

th3coop commented 5 years ago

Note to self: Optimizations are in OTRS.

th3coop commented 5 years ago

Test case to check when changes are implemented: https://github.com/Komodo/KomodoEdit/issues/3380