Where can I find the Komodo files?
The default location varies by platform, and the name of the directory corresponds to the version of Komodo you are running ("IDE" or "Edit" plus the version number - e.g. "Komodo IDE 8"):
C:\Program Files\ActiveState Komodo [IDE|Edit] <version>\
/opt/Komodo-[IDE|Edit]-<version>/
/Applications/Komodo-[IDE|Edit]-<version>.app
Komodo stores preferences, macros, templates, keybinding schemes and other settings in a user-specific directory called the user data directory. The name and location of this directory varies depending on the operating system and Komodo version:
C:\Users\<user>\AppData\Local\ActiveState\Komodo[IDE|Edit]\<version>
C:\Documents and Settings\<username>\Local Settings\Application Data\ActiveState\Komodo[IDE|Edit]\<version>
/home/<user>/.komodo[ide|edit]/<version>
/Users/<user>/Library/Application Support/Komodo[IDE|Edit]/<version>
You can find more details about the contents of the profile directory here:
http://community.activestate.com/faq/komodo-profile-structure
The location of this directory can be overridden using the KOMODO_USERDATADIR environment variable, see:
http://community.activestate.com/faq/multiple-instances-komodo
Note: In Komodo 6, you can use the "Help->Trouble Shooting->View log file" menu command to quickly examine Komodo's main log file ("pystderr.log").
There are two files named "pystderr.log" and "pystdout.log" within your Komodo user data directory. These files are extremely useful for troubleshooting problems with Komodo and are often requested when logging bug reports.
C:\Users\<user>\AppData\Local\ActiveState\Komodo[IDE|Edit]\<version>\pystd[err|out].log
C:\Documents and Settings\<username>\Local Settings\Application Data\ActiveState\Komodo[IDE|Edit]\<version>\pystd[err|out].log
/home/<user>/.komodo[ide|edit]/<version>/pystd[err|out].log
/Users/<user>/Library/Application Support/Komodo[IDE|Edit]/<version>/pystd[err|out].log
How do I reset Komodo's preferences to the default settings?
Warning: This will reset a lot of preference information, including opened files, recent files, projects and toolbox, additional installed extensions, customized Komodo preferences, etc... So make sure you backup the folder instead of simply deleting it, this way you can easily restore your settings.
mv komodoide komodoide.backupYour preferences should be reset.
Note 1: If you have older Komodo preferences from before Komodo 4.0, these will be applied on-top of the default preferences as part of a Komodo upgrade process, so for a total default/fresh set of preferences you will need to rename the older komodo directory as well.
Note 2: You can also use a completely different Komodo user data directory, see below.
How can I change Komodo's profile storage location
You can use a completely custom Komodo user data (profile) directory by setting the KOMODO_USERDATADIR variable in your environment settings before starting Komodo.
Example:
export KOMODO_USERDATADIR=/tmp/komodoide
The code shown below if executed as macro shows userdata directory into the file manager
.getService(Components.interfaces.nsIProperties)
.get("PrefD", Components.interfaces.nsILocalFile)
.path
Components.classes["@activestate.com/koSysUtils;1"]
.getService(Components.interfaces.koISysUtils)
.ShowFileInFileManager(currProfPath);
Tested under Linux and Windows
--
dafi
Enhance KomodoEdit with MoreKomodo
to get to the log files via the windows explorer interface on Vista, you need to enter the path since the "AppData" directory is not visible by default. This fooled me into thinking the log files weren't written on startup.
C:\Users\\AppData\Roaming\ActiveState\KomodoIDE\...
when i install komodo edit 5.2.0 and then try to open the application I receive the following "Failed to open register key Software\MicroSoft\Windows\CurrentVersion\Explorer\Shell Folders" has anyone else seen this error. I running Vista Home Premium version 6.0.6002 Service Pack 2 6002
Of late I am getting errors with partial update on Windows. Is there a separate log file for the update component, or is it the same pystderr.log?
There are separate Mozilla log components for auto update (you'll need to set these through "about:config" or through the Komodo pref file).
user_pref("app.update.log.Checker", true);
user_pref("app.update.log.Downloader", true);
user_pref("app.update.log.General", true);
user_pref("app.update.log.UI:CheckingPage", true);
user_pref("app.update.log.UI:DownloadingPage", true);
user_pref("app.update.log.UI:LicensePage", true);
user_pref("app.update.log.UpdateManager", true);
user_pref("app.update.log.UpdateService", true);
I read somewhere that you can set:
user_pref("app.update.log", true);
and it works for all logs - though not sure if that works for Komodo 6's Mozilla version (1.9.1).
These logs go the JavaScript Error Console I believe:
http://community.activestate.com/xpi/dock-error-console
Cheers,
Todd
There's a very annoying bug which causes komodo edit to forget per file settings. It would be nice to know where it stores this information so I can debug it...
Edit: Never mind it is in doc-state.xmlc