You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems KomodoIDE is trying to access the filesystem of all open files when a single file is being saved. This causes a delay for exactly two minutes every time I save a local file if I have files open on servers that I currently can't access.
I have tabs with open files from a local server in my home, tabs with files from the local harddrive, and tabs with files on servers I can only access through my work VPN. When the VPN is active I can't access servers on my local network.
The file is saved before the pause - I can see that using other applications to read the file during the pause. There is no Komodo CPU activity during the two minute pause and the activity monitor (this is on Mac) says that Komodo is not responding.
I noticed this when I was editing a local file and the IDE froze completely when I saved. This did smell like a network timeout of some sort. To investigate further I disconnected my work VPN and all the sudden the freeze was gone. Now I can save without the pause. This basically confirms that the IDE was waiting for some network traffic each time I saved - even though I saved a file on my local hard drive.
I enabled the VPN again and it seemed that I could save the file without any freeze. But after a few minutes the IDE started to consume 100+% CPU. It did that for a while and then calmed down. After that the two minute freeze was back.
Steps to Reproduce
Open a file on the local harddrive.
Open a file on a server in the local network.
Setup a VPN connection that blocks out access to the local network.
Open a file on a remote server through the VPN.
Leave it for 30-40 minutes or util you notice the CPU load go crazy for a while.
Make some change and save the local file.
Expected results
No freeze.
Actual results
Two minute freeze.
Platform Information
Komodo Edit or IDE? Komodo IDE Komodo Version? 12.0 Operating System (and version)? MacOS Mojave 10.14.6
Additional Information
The log confirms that this is a network timeout:
(I'm not sure why the first warning is there, but it happened at the time when I hit command-s to save the file so the timestamps show the two minute delay.)
[2020-02-03 22:55:08,614] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-02-03 22:57:19,465] [ERROR] koSFTPConnection: SFTP do_openSocket ERROR: timed out
[2020-02-03 22:57:19,626] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIRemoteConnectionService.getConnectionUsingUri] (2) in chrome://breadcrumbs/content/sdk/breadcrumbs.js:1519
Traceback (most recent call last):
File "chrome://breadcrumbs/content/sdk/breadcrumbs.js", line 1519, in
[2020-02-03 22:57:19,664] [INFO] codeintel/process: onClose called, code: 9
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Restarting CodeIntel
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Starting CodeIntel
[2020-02-03 22:57:19,666] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 12.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 12.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 12.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 12.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2020-02-03 22:57:20,318] [WARNING] codeintel/service/mediator: Waiting for mediator
[2020-02-03 22:57:20,995] [WARNING] codeintel/service/mediator: Waiting for mediator
[2020-02-03 22:57:25,071] [DEBUG] codeintel/process: stdout:
port:52014
pid:6548
[2020-02-03 22:57:25,072] [INFO] codeintel/process: CodeIntel started on port 52014
[2020-02-03 22:57:25,072] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
The text was updated successfully, but these errors were encountered:
@JesperIRL are you sure you don't have ctrl+s mapped to save all or something? Could you go into your prefs (Komodo menu > Preferences > Keybindings) and make sure you're using the Default scheme and try again?
Oh right, you're on OSX, Meta + S. Thanks for double checking.
Could you open the JS Console, View menu > Tabs & Sidebars > Console, and run the following, require("ko/logging").getLogger("koSFTPConnection").setLevel(10), then reproduce the issue and email me your logs, careyh@activestate.com.
Also, could you see if setting the timeout pref in your server settings help at least prevent this from hanging for so long?
Short Summary
It seems KomodoIDE is trying to access the filesystem of all open files when a single file is being saved. This causes a delay for exactly two minutes every time I save a local file if I have files open on servers that I currently can't access.
I have tabs with open files from a local server in my home, tabs with files from the local harddrive, and tabs with files on servers I can only access through my work VPN. When the VPN is active I can't access servers on my local network.
The file is saved before the pause - I can see that using other applications to read the file during the pause. There is no Komodo CPU activity during the two minute pause and the activity monitor (this is on Mac) says that Komodo is not responding.
I noticed this when I was editing a local file and the IDE froze completely when I saved. This did smell like a network timeout of some sort. To investigate further I disconnected my work VPN and all the sudden the freeze was gone. Now I can save without the pause. This basically confirms that the IDE was waiting for some network traffic each time I saved - even though I saved a file on my local hard drive.
I enabled the VPN again and it seemed that I could save the file without any freeze. But after a few minutes the IDE started to consume 100+% CPU. It did that for a while and then calmed down. After that the two minute freeze was back.
Steps to Reproduce
Expected results
No freeze.
Actual results
Two minute freeze.
Platform Information
Komodo Edit or IDE? Komodo IDE
Komodo Version? 12.0
Operating System (and version)? MacOS Mojave 10.14.6
Additional Information
The log confirms that this is a network timeout:
(I'm not sure why the first warning is there, but it happened at the time when I hit command-s to save the file so the timestamps show the two minute delay.)
[2020-02-03 22:55:08,614] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-02-03 22:57:19,465] [ERROR] koSFTPConnection: SFTP do_openSocket ERROR: timed out
[2020-02-03 22:57:19,626] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIRemoteConnectionService.getConnectionUsingUri] (2) in chrome://breadcrumbs/content/sdk/breadcrumbs.js:1519
Traceback (most recent call last):
File "chrome://breadcrumbs/content/sdk/breadcrumbs.js", line 1519, in
[2020-02-03 22:57:19,664] [INFO] codeintel/process: onClose called, code: 9
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Process stopped without a request to stop it, restarting ..
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Restarting CodeIntel
[2020-02-03 22:57:19,664] [INFO] codeintel/process: Starting CodeIntel
[2020-02-03 22:57:19,666] [DEBUG] codeintel/process: PYTHONPATH: /Applications/Komodo IDE 12.app/Contents/MacOS/../lib/python2.7;/Applications/Komodo IDE 12.app/Contents/SharedSupport/dbgp/pythonlib;/Applications/Komodo IDE 12.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/lib;/Applications/Komodo IDE 12.app/Contents/Resources/extensions/codeintel@activestate.com/content/../pylib/codeintel/env/Lib/site-packages
[2020-02-03 22:57:20,318] [WARNING] codeintel/service/mediator: Waiting for mediator
[2020-02-03 22:57:20,995] [WARNING] codeintel/service/mediator: Waiting for mediator
[2020-02-03 22:57:25,071] [DEBUG] codeintel/process: stdout:
port:52014
pid:6548
[2020-02-03 22:57:25,072] [INFO] codeintel/process: CodeIntel started on port 52014
[2020-02-03 22:57:25,072] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
The text was updated successfully, but these errors were encountered: