Commando and ignored files

Is Commando supposed to respect your “excluded” files setting? For some reason I thought it was, but it doesn’t seem to be working for me. In particular, it keeps coming up with search results in my Mercurial data directory (under .hg/store/data), even though .hg is in my project’s exclude list. Is there any way to make it not do that?

Hi @pageer, I’m seeing this as well. @nathanr as helping someone else with this but I can’t find the thread or issue on github.

I’ve filed a new issue. Feel free to comment there if you have additional information.

You can work around the issue by using Komodos projects.

  • Carey

Thanks Carey!

Could you please clarify what you mean by working around this using projects? I’m already using projects for everything. I have a project open, I’m in the project base directory, .hg is definitely in the project exclude list, and I’m still getting results in my .hg directory. Is there something else I need to do?

Ahh i see that now @pageer. My mistake. I was scanning. You are using projects and my workaround won’t help.

Could you try the latest Komodo to see if the issue is resolved there?

If it doesn’t please include your exclude pattern from your project in your next reply.

Also including your Komodo logs after seeing the issue would be helpful: Help > Troubleshooting > View Log File. You can paste that into a code block here.

Thanks, @careyh. I really appreciate you taking the time to help.

I actually just installed the 9.0.1 update on this machine - it just came in through the auto-updater today. Just to be safe, I disabled all my third-party extensions too. I even tried removing my AppData\Local\ActiveState\KomodoIDE\9.0 directory in case there was some stale setting in there. None of that made any difference - I still get the same result.

Below is the information you requested. It’s probably worth mentioning that I’m seeing this on multiple projects on multiple machines. The below if from my work machine, but I saw the same problem last night on my laptop while working on a completely different project.

Here’s the exclude pattern set in my project preferences:

third-party;OpenLayers.js;OpenLayers.light.js;OpenLayers.debug.js;OpenLayers.light.debug.js;OpenLayers.mobile.js;OpenLayers.mobile.debug.js;*.*~;*.bak;*.tmp;CVS;.#*;*.pyo;*.pyc;.svn;_svn;.git;.hg;.bzr;*%*;tmp*.html;.DS_Store;*.swp;*.kpf;*.komodoproject;.komodotools;__pycache__

And here’s my log pystderr.log file:

[2015-04-23 14:02:05,484] [INFO] Startup: Welcome to Komodo IDE 9.0.1 build 87208 (platform win32-x86, running on Windows 7 version 6.1.7601)
[2015-04-23 14:02:05,484] [INFO] Startup: C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\komodo.exe built on Thu Apr 16 11:54:31 2015
[2015-04-23 14:02:06,197] [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
[2015-04-23 14:02:06,197] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'component' directive. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%209/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:1
[2015-04-23 14:02:06,197] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'contract' directive. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%209/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:2
[2015-04-23 14:02:06,197] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'interfaces' directive. (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%209/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:3
[2015-04-23 14:02:06,243] [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

[2015-04-23 14:02:06,451] [WARNING] console-logger: Unknown property 'border-radius-top-left'.  Declaration dropped. (1) in less://commando/skin/commando.less:68
[2015-04-23 14:02:06,453] [WARNING] console-logger: Unknown property 'border-radius-top-right'.  Declaration dropped. (1) in less://commando/skin/commando.less:69
[2015-04-23 14:02:06,773] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2015-04-23 14:02:06,904] [WARNING] keybindings: [Ctrl+C] was used for 'cmd_copy', overriding to use 'cmd_copy'
[2015-04-23 14:02:06,911] [WARNING] keybindings: [Ctrl+D] was used for 'cmd_addNextWordToCaretSet', overriding to use 'cmd_vim_scrollHalfPageDown'
[2015-04-23 14:02:06,913] [WARNING] keybindings: [Ctrl+U] was used for 'cmd_convertUpperCase', overriding to use 'cmd_vim_scrollHalfPageUp'
[2015-04-23 14:02:06,913] [WARNING] keybindings: [Ctrl+F] was used for 'cmd_startIncrementalSearch', overriding to use 'cmd_vim_pageDown'
[2015-04-23 14:02:06,913] [WARNING] keybindings: [Ctrl+B] was used for 'cmd_blockSelect', overriding to use 'cmd_vim_pageUp'
[2015-04-23 14:02:06,913] [WARNING] keybindings: [Ctrl+Y] was used for 'cmd_redo', overriding to use 'cmd_vim_lineScrollUp'
[2015-04-23 14:02:06,914] [WARNING] keybindings: [Ctrl+E] was used for 'cmd_endOfWord', overriding to use 'cmd_vim_lineScrollDown'
[2015-04-23 14:02:06,915] [WARNING] keybindings: [Ctrl+R] was used for 'cmd_toolsRunCommand', overriding to use 'cmd_vim_redo'
[2015-04-23 14:02:10,336] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2015-04-23 14:02:10,382] [DEBUG] places_js: waiting for document complete
[2015-04-23 14:02:18,585] [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%209/lib/mozilla/components/koamAddonManager.js:138
[2015-04-23 14:02:31,691] [WARNING] console-logger: Key event not available on some keyboard layouts: key="j" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,694] [WARNING] console-logger: Key event not available on some keyboard layouts: key="o" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,694] [WARNING] console-logger: Key event not available on some keyboard layouts: key="t" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,696] [WARNING] console-logger: Key event not available on some keyboard layouts: key="m" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,696] [WARNING] console-logger: Key event not available on some keyboard layouts: key="p" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,696] [WARNING] console-logger: Key event not available on some keyboard layouts: key="z" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,697] [WARNING] console-logger: Key event not available on some keyboard layouts: key="b" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,697] [WARNING] console-logger: Key event not available on GTK2: key="u" modifiers="control,shift" (1) in chrome://komodo/content/komodo.xul:0
[2015-04-23 14:02:31,697] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0

I think it’s related to an existing issue: https://github.com/Komodo/KomodoEdit/issues/117

Sorry for the excessively delayed response. This post slipped off my radar.

  • Carey