Layout not saved

Every time I start KomodoIDE (version 10) I get back the side toolbar.
Every time I go in View -> Toolbars -> Customize and uncheck “Show Side Toolbar” (and hit “Done”)
Is there any option that I’m missing to make my option persistent?

Following there is my startup log.
BTW, I’m a bit scared about the ERROR on MySQL (why is Komodo trying to accesso MySQL? I’m using Postgres, indeed)

TIA

9 14:16:15,147] [INFO] Startup: Welcome to Komodo IDE 10.0.0 build 89159 (platform linux-x86_64, running on Linux 4.4.0-22-generic version #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016)
[2016-06-09 14:16:15,147] [INFO] Startup: /usr/bin/python built on Wed May 11 15:27:38 2016
[2016-06-09 14:16:15,231] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2016-06-09 14:16:15,461] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2016-06-09 14:16:15,516] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2016-06-09 14:16:15,750] [ERROR] console-logger: TypeError: redeclaration of variable val (2) in chrome://analytics/content/analytics.js:204
Traceback (most recent call last):
  File "chrome://analytics/content/analytics.js", line 204, in 

[2016-06-09 14:16:15,996] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-06-09 14:16:16,209] [WARNING] keybindings: [Ctrl+0] was used for 'cmd_goToQuickBookmark_0', overriding to use 'cmd_fontZoomReset'
[2016-06-09 14:16:17,324] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2016-06-09 14:16:17,457] [INFO] komodospellchecker: Spell checker loaded.
[2016-06-09 14:16:17,457] [INFO] komodospellchecker: Using dictionary en-US
[2016-06-09 14:16:17,489] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2016-06-09 14:16:17,554] [ERROR] koScopeDocs-Py: Could not find cix for ext
[2016-06-09 14:16:17,558] [ERROR] koScopeDocs-Py: Could not find cix for html5
[2016-06-09 14:16:17,778] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-06-09 14:16:19,510] [ERROR] koDatabaseExplorerTreeView: Can't create database db_type:u'MySQL', hasPassword:True, hostname:u'localhost', port:u'3306', socket:u'/var/run/mysqld/mysqld.sock', username:u'root'
Traceback (most recent call last):
  File "/opt/komodoide10/lib/mozilla/extensions/dbexplorer@ActiveState.com/components/koDatabaseExplorerTreeView.py", line 948, in _updateDBConnList
    infoObject = createDBConnector(prefObj)
  File "/opt/komodoide10/lib/mozilla/extensions/dbexplorer@ActiveState.com/components/koDatabaseExplorerTreeView.py", line 524, in createDBConnector
    createInstance(components.interfaces.koIDBXConnection)
  File "/opt/komodoide10/lib/mozilla/python/xpcom/components.py", line 192, in createInstance
    raise xpcom.COMException(details.errno, "No such component '%s'" % (self.contractid,))
Exception: 2147746132 (No such component '@activestate.com/koDBXConnection?database=MySQL;1')
[2016-06-09 14:16:20,752] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2016-06-09 14:16:20,754] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
[2016-06-09 14:16:20,755] [INFO] koInitService: Adding pre startup service for 'koDBGPManager': '@activestate.com/koDBGPManager;1'
[2016-06-09 14:16:23,294] [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:///opt/komodoide10/lib/mozilla/components/koamAddonManager.js:138
[2016-06-09 14:16:27,340] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/tail/tail.xul:0

As a workaround you can add this code to your custom CSS of the scheme you’re using:

#toolbox_side {
    display: none;
}

This is fixed in the latest nightly and will soon be available in a stable update for Komodo 10.

Nightly: http://downloads.activestate.com/Komodo/nightly/komodoide/latest/

1 Like

Thanks Nathan.
Can you tell me something about MySQL? I couldn’t find anything about MySQL inside Komodo options, and also trying to go in Databases tab and adding adding a connection shows up only SQLite3 as selectable option

We do not natively support MySQL, but you can use this addon to add support for it:

http://komodoide.com/packages/addons/mysql-database-explorer/

Note it has not been updated for Komodo 10 yet, but it should work just fine.

He’s using Postgres and he’s seeing some weird messages about Komodo Database explorer trying to connect to a MySQL server.
I’m not sure he’s looking for MySQL support inside Komodo.

 koDatabaseExplorerTreeView: Can't create database db_type:u'MySQL', hasPassword:True, hostname:u'localhost', port:u'3306', socket:u'/var/run/mysqld/mysqld.sock', username:u'root'
Traceback (most recent call last):
  File "/opt/komodoide10/lib/mozilla/extensions/dbexplorer@ActiveState.com/components/koDatabaseExplorerTreeView.py", line 948, in _updateDBConnList
    infoObject = createDBConnector(prefObj)
  File "/opt/komodoide10/lib/mozilla/extensions/dbexplorer@ActiveState.com/components/koDatabaseExplorerTreeView.py", line 524, in createDBConnector
    createInstance(components.interfaces.koIDBXConnection)
  File "/opt/komodoide10/lib/mozilla/python/xpcom/components.py", line 192, in createInstance
    raise xpcom.COMException(details.errno, "No such component '%s'" % (self.contractid,))
Exception: 2147746132 (No such component '@activestate.com/koDBXConnection?database=MySQL;1')

Exactly, I’m not interested in using Komodo for any database.
I was just worried about Komodo trying to connect to a local MySQL server

Never mind: digging in legacy add-ons I found a DBExplorer extension, I disabled it and the error disappeared

Sounds like an old DB config you still had around.