Komodo 12 will not publish to FTP

Over the past few days Komodo has started to fail to FTP to the server. I have completely cleaned out Komodo including user profiles and reinstalled it in standard mode with no customisation, the only modifications being adding PerlTidy as a formatter and a macro that runs on save to save a backup copy of the file and setting up one project, one server and one publishing profile.
It does not fail all the time, if I close Komodo and reopen it then it may work fine for a while and then it will fail to FTP to the server (I have it set to auto push when the file is saved) and after a timeout will give a panel asking for the FTP password, even supplying the password does not work and the push fails.
The last run I launched Komodo at around 13:12 today, it worked fine for a while, I edited a file and saved it a few times and it pushed OK but at 13:29 it failed.
I closed Komodo and reopened it, but it will still not work, it will probably not work again until I reboot my PC.
The log from this attempt is given below, I am not sure why there should be so many warnings and errors on what is a plain standard installation of Komodo.
Any ideas welcome
Thanks
John

[2021-01-23 13:12:31,740] [INFO] Startup: Welcome to Komodo IDE 12.0.1 build 91869 (platform win32-x86, running on Windows post2012Server version 6.3.9600)

[2021-01-23 13:12:31,742] [INFO] Startup: C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\komodo.exe built on Mon Feb 10 18:14:23 2020
[2021-01-23 13:12:32,637] [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
[2021-01-23 13:12:32,805] [INFO] Platform Auth: Using API URL: https://platform.activestate.com//api/v1
[2021-01-23 13:12:32,805] [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

[2021-01-23 13:12:32,946] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:33,395] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2021-01-23 13:12:33,464] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:33,611] [WARNING] keybindings: [Ctrl+0] was used for ‘cmd_goToQuickBookmark_0’, overriding to use ‘cmd_fontZoomReset’
[2021-01-23 13:12:34,240] [WARNING] ko.widgets: Pref path doesn’t exist: windowWorkspace, 1
[2021-01-23 13:12:34,279] [WARNING] ko.widgets: Could not restore widget unittest-widget
[2021-01-23 13:12:34,289] [WARNING] ko.widgets: Could not restore widget symbolbrowser-widget
[2021-01-23 13:12:34,371] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/12
[2021-01-23 13:12:34,595] [INFO] koInitService: Adding pre startup service for ‘koFileStatusService’: ‘@activestate.com/koFileStatusService;1’
[2021-01-23 13:12:34,892] [INFO] codeintel/process: Starting CodeIntel
[2021-01-23 13:12:34,894] [DEBUG] codeintel/process: PYTHONPATH: C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\python…\lib\python2.7;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\support\dbgp\pythonlib;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\extensions\codeintel@activestate.com\content…\pylib\codeintel\lib;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\extensions\codeintel@activestate.com\content…\pylib\codeintel\env\Lib\site-packages
[2021-01-23 13:12:34,960] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2021-01-23 13:12:34,987] [INFO] komodospellchecker: Spell checker loaded.
[2021-01-23 13:12:34,987] [INFO] komodospellchecker: Using dictionary en-US
[2021-01-23 13:12:35,911] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:35,957] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,009] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,088] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,141] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,213] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,444] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,509] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,553] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,611] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,759] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:36,805] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,805] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,805] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,809] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,809] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,809] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koLessProtocolHandler.js:154
[2021-01-23 13:12:36,934] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:37,211] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:38,371] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2021-01-23 13:12:38,375] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2021-01-23 13:12:38,381] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2021-01-23 13:12:38,694] [INFO] koInitService: Adding pre startup service for ‘KoMemoryReporter’: ‘@activestate.com/koMemoryReporter;1’
[2021-01-23 13:12:38,707] [INFO] koInitService: Adding pre startup service for ‘koCommandmentService’: ‘@activestate.com/koCommandmentService;1’
[2021-01-23 13:12:38,717] [INFO] koInitService: Adding pre startup service for ‘koDBGPManager’: ‘@activestate.com/koDBGPManager;1’
[2021-01-23 13:12:39,417] [DEBUG] ko.launch: Response: https://community.komodoide.com/changelog/12 (404)
[2021-01-23 13:12:39,417] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/120
[2021-01-23 13:12:39,424] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:39,549] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:39,782] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:39,908] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:40,753] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:40,934] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:41,082] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:41,398] [DEBUG] codeintel/process: stdout:
port:49837

pid:5124

[2021-01-23 13:12:41,398] [INFO] codeintel/process: CodeIntel started on port 49837
[2021-01-23 13:12:41,398] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2021-01-23 13:12:41,538] [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:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koamAddonManager.js:138
[2021-01-23 13:12:41,540] [DEBUG] ko.launch: Response: https://community.komodoide.com/changelog/120 (404)
[2021-01-23 13:12:41,624] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2021-01-23 13:12:45,426] [WARNING] console-logger: Key event not available on GTK2: key=“u” modifiers=“control,shift” (1) in chrome://komodo/content/komodo.xul:0
[2021-01-23 13:12:52,726] [WARNING] root: ko.statusbar.AddMessage is deprecated, please use require(“notify/notify”).send() instead
_addMessage@chrome://komodo/content/statusbar.js:361:1
this.AddMessage@chrome://komodo/content/statusbar.js:373:5
anonymous@chrome://komodo/content/project/peMacro.js line 697 > Function:28:1
macro_evalAsJavascript@chrome://komodo/content/project/peMacro.js:702:24
_executeMacro@chrome://komodo/content/project/peMacro.js:106:30
macro_executeMacro@chrome://komodo/content/project/peMacro.js:50:20
MacroEventHandler.prototype.callHookedMacros@chrome://komodo/content/project/peMacro.js:286:13
MacroEventHandler.prototype.hookPreFileSave@chrome://komodo/content/project/peMacro.js:510:12
save@vieweditor:1437:21
viewManager.prototype.do_cmd_save@chrome://komodo/content/views.js:1539:5
xtk.Controller.prototype.doCommand@chrome://xtk/content/controller.js:61:9
command_doCommand@chrome://komodo/content/library/commands.js:239:1
command_doCommandAsync/<@chrome://komodo/content/library/commands.js:196:13

[2021-01-23 13:22:37,342] [ERROR] console-logger: TypeError: pos is undefined (2) in chrome://komodo/content/sdk/editor.js:1345
Traceback (most recent call last):
File “chrome://komodo/content/sdk/editor.js”, line 1345, in

[2021-01-23 13:27:46,977] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
ERROR:xpcom:Unhandled exception calling ‘int8 * open(in wstring, in int32, in wstring, in wstring, in wstring, in boolean, optional in wstring, out retval boolean);’
Traceback (most recent call last):
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\xpcom\server\policy.py”, line 303, in CallMethod
return 0, func(*params)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\komodo\remotefilelib.py”, line 391, in open
self.promptForUsernameAndPassword(path)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\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)
[2021-01-23 13:28:56,463] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
ERROR:xpcom:Unhandled exception calling ‘int8 * open(in wstring, in int32, in wstring, in wstring, in wstring, in boolean, optional in wstring, out retval boolean);’
Traceback (most recent call last):
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\xpcom\server\policy.py”, line 303, in CallMethod
return 0, func(*params)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\komodo\remotefilelib.py”, line 391, in open
self.promptForUsernameAndPassword(path)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\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)
[2021-01-23 13:29:16,642] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in chrome://global/skin/global.css:1429
[2021-01-23 13:29:17,381] [ERROR] console-logger: www.activestate.com:443 uses an invalid security certificate.

The certificate is not trusted because the issuer certificate is unknown.

(Error code: sec_error_unknown_issuer)
(0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2021-01-23 13:29:19,821] [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

[2021-01-23 13:29:29,082] [WARNING] console-logger: Unknown descriptor ‘font-display’ in @font-face rule. Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429

Hi @johns - Thanks for writing!

Do other FTP programs work?

In a thread on a similar issue on the Komodo forum, one of the former Komodo devs asks if PuTTY was updated recently.

Also, it’s odd to see the line following line in your error output.

 [2021-01-23 13:29:17,381] [ERROR] console-logger: www.activestate.com:443 uses an invalid security certificate.

@careyh - Are you able to help?

Cheers!
–zak

Hi Zak.
Thanks for the reply. Yes other FTP works, I use CuteFTP and UE Studio and CoffeeCup HTML Editor and none have a problem.
I do not have PuTTY installed.
I don’t know what the invalid certificate error is or why it should be checking an activestate certificate, unless it is something to do with state which I admit I do not really understand.
It was a little more stable today and went for a few hours before failing, I closed Komodo and opened it again and it worked again.
I still have an old problem which I never got fixed, Komodo will not run after the PC has been to sleep overnight until after I reboot. It used to work fine all day, even after the PC went to sleep, it is just a problem overnight. I don’t know if that is connected. I have just been rebooting before I use Komodo to get round it.
John

Hi @zakg and @johns , Sorry I never got a ping from Zak tagging me in his comment. If the ftp connection is eventually dying and not working again, it sounds like the server side might be configured to drop connections and we’re not expecting it to?

The SSL error regarding www.activestate.com isn’t related I"m certain.

PuTTY shouldn’t be involved either as this is FTP connections. PuTTY is only involved for SFTP, FTP over SSH.

To get a bit more information you could create a Userscript that runs at startup and executes the following code:

var log = require("ko/logging").getLogger("koFTPConnection");
log.setLevel(log.DEBUG);

Hopefully there will be more info in the logs that might help us see what’s going wrong.

  • Carey
1 Like

Hi @caryh thanks for the reply. After completely removing everything and doing a full install of everything again including Perl it has been working OK.
If it gives problems again I will use your userscript.
John

1 Like