Very slow on mac


#1

Hello!
Komodo edit 12.0.1 is very slow while editing files on remote host. Imac 2017, macos latest (catalina). Everything is like in slo-mo.
Is it repairable?


#2

@qwerty987654321,

Really surprised that username wasn’t taken. Good show.

Did you confirm Komodo isn’t just being slow in general for some other reason than editing remote files? If you close all remote files and restart Komodo does the issue persist?

  • Carey

#3

I had the same problem when working with remote files.

afbeelding

You want to uncheck the “Detect when networked files are changed outside the environment”

(Editor > Confirmation dialogs)


#4

I have copied remote file (about 1500 lines) on local computer and trying editing it localy - same problem. And I have found bug: cannot select text more than one screen height - than I press mouse button and moving cursor down it stopping right in the bottom of screen. But if I selecting text from bottom to up - it selecting normally but very very slow.


#5

In my preference settings this setting already unchecked.


#6

Sound like something else is going on, local editing shouldn’t be slow.
Maybe something to do with source control or something.

Can you maybe see if there is something going on in the log files?
(help > troubleshooting > view log file)


#7

I don’t use source control software.
Posting log output here, looks like something wrong with js:

[2020-02-17 14:08:52,014] [INFO] Startup: Welcome to Komodo Edit 12.0.1 build 18441 (platform macosx, running on Darwin 19.3.0 version Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64)
[2020-02-17 14:08:52,015] [INFO] Startup: /Applications/Komodo Edit 12.app/Contents/MacOS/komodo built on Tue Feb 11 02:14:21 2020
[2020-02-17 14:08:52,181] [WARNING] koInitService: Unable to determine the current locale settings, defaulting to mac-roman
[2020-02-17 14:08:52,460] [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
[2020-02-17 14:08:52,694] [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:48:1

[2020-02-17 14:08:53,040] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2020-02-17 14:08:53,569] [WARNING] ko.widgets: Pref path doesn't exist: windowWorkspace, 1
[2020-02-17 14:08:54,230] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2020-02-17 14:08:54,272] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2020-02-17 14:08:54,747] [ERROR] console-logger: Exception while registering Focus Mode (0) in resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20Edit%2012.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%20Edit%2012.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js", line 11, in 

[2020-02-17 14:08:54,748] [ERROR] console-logger: [object Object] (0) in resource://gre/modules/addons/XPIProvider.jsm -> file:///Applications/Komodo%20Edit%2012.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%20Edit%2012.app/Contents/Resources/extensions/focusmode@activestate.com/bootstrap.js", line 12, in 

[2020-02-17 14:08:55,831] [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%20Edit%2012.app/Contents/Resources/components/koamAddonManager.js:138
[2020-02-17 14:08:56,867] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2020-02-17 14:08:56,869] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
[2020-02-17 14:08:58,900] [WARNING] views: Inconsistent view count in view_closed event
[2020-02-17 14:08:58,958] [ERROR] CT::margin.js: couldn't get the insert-color
-- EXCEPTION START --
TypeError: this.view.scheme.getInterfaceStyleRaw is not a function
+ stack
    exports.MarginController.prototype._initMarkerStyles@chrome://trackchanges/content/margin.js:59:32
    refreshMarginProperies@chrome://trackchanges/content/margin.js:120:9
    MarginController@chrome://trackchanges/content/margin.js:44:5
    exports.ChangeTracker.prototype.changeTrackingOn@chrome://trackchanges/content/tracker.js:63:19
    ChangeTracker@chrome://trackchanges/content/tracker.js:27:5
    this.onViewOpenedHandler@chrome://trackchanges/content/trackchanges.js:88:26
    xtk.domutils.fireEvent@chrome://xtk/content/domutils.js:187:5
    set_koDoc@vieweditor:309:17
    initWithDocument@vieweditor:438:13
    createViewFromDocument@viewlistbase:133:17
    viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:361:20
    viewManager.prototype._doFileOpen@chrome://komodo/content/views.js:485:12
    viewManager.prototype.doFileOpenAsync/<@chrome://komodo/content/views.js:510:20
-- EXCEPTION END --
[2020-02-17 14:08:58,959] [ERROR] CT::margin.js: couldn't get the delete-color
-- EXCEPTION START --
TypeError: this.view.scheme.getInterfaceStyleRaw is not a function
+ stack
    exports.MarginController.prototype._initMarkerStyles@chrome://trackchanges/content/margin.js:65:32
    refreshMarginProperies@chrome://trackchanges/content/margin.js:120:9
    MarginController@chrome://trackchanges/content/margin.js:44:5
    exports.ChangeTracker.prototype.changeTrackingOn@chrome://trackchanges/content/tracker.js:63:19
    ChangeTracker@chrome://trackchanges/content/tracker.js:27:5
    this.onViewOpenedHandler@chrome://trackchanges/content/trackchanges.js:88:26
    xtk.domutils.fireEvent@chrome://xtk/content/domutils.js:187:5
    set_koDoc@vieweditor:309:17
    initWithDocument@vieweditor:438:13
    createViewFromDocument@viewlistbase:133:17
    viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:361:20
    viewManager.prototype._doFileOpen@chrome://komodo/content/views.js:485:12
    viewManager.prototype.doFileOpenAsync/<@chrome://komodo/content/views.js:510:20
-- EXCEPTION END --
[2020-02-17 14:08:58,959] [ERROR] CT::margin.js: couldn't get the change-color
-- EXCEPTION START --
TypeError: this.view.scheme.getInterfaceStyleRaw is not a function
+ stack
    exports.MarginController.prototype._initMarkerStyles@chrome://trackchanges/content/margin.js:71:33
    refreshMarginProperies@chrome://trackchanges/content/margin.js:120:9
    MarginController@chrome://trackchanges/content/margin.js:44:5
    exports.ChangeTracker.prototype.changeTrackingOn@chrome://trackchanges/content/tracker.js:63:19
    ChangeTracker@chrome://trackchanges/content/tracker.js:27:5
    this.onViewOpenedHandler@chrome://trackchanges/content/trackchanges.js:88:26
    xtk.domutils.fireEvent@chrome://xtk/content/domutils.js:187:5
    set_koDoc@vieweditor:309:17
    initWithDocument@vieweditor:438:13
    createViewFromDocument@viewlistbase:133:17
    viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:361:20
    viewManager.prototype._doFileOpen@chrome://komodo/content/views.js:485:12
    viewManager.prototype.doFileOpenAsync/<@chrome://komodo/content/views.js:510:20
-- EXCEPTION END --
[2020-02-17 14:08:58,976] [WARNING] views: Inconsistent view count in view_opened event
[2020-02-17 14:08:59,074] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in

#8

@qwerty987654321, that’s an odd error coming from Track Changes. Try disabling it:

  • Tools menu > Add-ons (legacy) > Extensions.
  • Find Track Changes.
  • Click Disable.
  • Restart and check if the issue persists.

Let us know what you find out.

  • Carey

#9

I disabled “Track changes”, but the issue persists.
I also disabled other Extensions with warning sign - the issue persists.
I also tried other versions of Komodo edit (11, 10, 9, 8) - same slo-mo.


#10

@qwerty987654321, please provide logs along with the changes.

What extensions did you disable? Please provide detailed response otherwise I’m working in the dark to help you.

Good thinking to try other versions and interesting that you experience the same issue. Given others users aren’t experiencing it, and it doesn’t occur in quite different versions of Komodo, I’d suggest the problem isn’t Komodo.
Are you testing on the same project/folders every time? What if you create a new project?
What if you start in Safe Mode? Help menu > Troubleshooting > Restart in Safe-mode.

  • Carey