When I try to use PerlApp I get the following error: "No perl found at C:\perl\bin\perl.exe" -- but that file is really there. What's going on, and how can I fix it?
This message is usually caused by the directory containing cmd.exe not being found in your PATH environment variable. The usual directory to ensure is there is C:\Windows\System32. If it's missing, simply add it and PerlApp will work as expected.
How I can I easily look at Komodo's internal error log easily?
I've attached a Macro to this post that will launch Komodo's 'Watch File' tool set to watch the pystderr.log logfile. Just import this package into your toolbox and run the Macro to see the log file. If you have run into a problem with Komodo and are working with support to troubleshoot the problem running Komodo with this tool is ideal as you will be able to see when errors occur, and copy error messages easily out of the window.
The macro code is:
var os = Components.classes['@activestate.com/koOs;1'].getService(Components.interfaces.koIOs);
try {
appdir = komodo.interpolate('%(path:hostUserDataDir)');
var logFile = os.path.join(appdir,'pystderr.log');
var winOpts = "centerscreen,chrome,resizable,scrollbars,dialog=no,close";
window.openDialog('chrome://komodo/content/tail/tail.xul',"_blank",winOpts,logFile);
} catch(e) { alert(e); }To install the Toolbox package:
- go to Toolbox / Import package
- browse to the kpz file
- choose a destination directory ( I use ~/Documents/komodo )
- click 'Ok'
You should have a Macro in your Toolbox now called 'Komodo Error Log'. Double click on it to launch the Watch window displaying the Error log.
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 5"):
Windows:
C:\Program Files\ActiveState Komodo [IDE|Edit] <version>\
Linux
/opt/Komodo-[IDE|Edit]-<version>/
OS X
/Applications/Komodo-[IDE|Edit]-<version>.app
Where does Komodo keep settings data?
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:
Windows 2000 and XP:
C:\Documents and Settings\<username>\Application Data\ActiveState\Komodo[IDE|Edit]\<version>
Windows Vista:
C:\Users\<user>\AppData\Roaming\ActiveState\Komodo[IDE|Edit]\<version>
Linux
/home/<user>/.komodo[ide|edit]/<version>
Mac OS X
/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
Where does Komodo log output and errors?
There are two files "pystderr.log" and "pystdout.log".
Within the user data directory is the host data directory (host-<hostname>). These files are extremely useful for troubleshooting problems with Komodo and are often requested when logging bug reports.
Windows 2000 and XP:
C:\Documents and Settings\<username>\Application Data\ActiveState\Komodo[IDE|Edit]\<version>\host-<hostname>\pystd[err|out].log
Windows Vista:
C:\Users\<user>\AppData\Roaming\ActiveState\Komodo[IDE|Edit]\<version>\host-<hostname>\pystd[err|out].log
Linux
/home/<user>/.komodo[ide|edit]/<version>/host-<hostname>/pystd[err|out].log
Mac OS X
/Users/<user>/Library/Application Support/Komodo[IDE|Edit]/<version>/host-<hostname>/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 use a completely custom Komodo user data directory by setting the KOMODO_USERDATADIR environment variable. I.e. export KOMODO_USERDATADIR=/tmp/komodoide51
My [insert security company here] software Firewall is reporting that Komodo is engaging in 'suspicious activity' or is a Trojan. What is going on here?
We've always used socket connections, and have occasionally had problems with Security software returning a false positive. Komodo uses ports for the following reasons:
- the debugger ( typically port 9000, but user-configurable )
- the start page has an iFrame that displays a page on our site.
- ssh / sftp / ftp editing
- the html perview, if you open a url
It is almost always the debugger that is the problem because the other features all use 'standard' ports for relatively well-known protocols. Komodo does not have any kind of spyware in it, so my best suggestion is to configure your software to allow Komodo to make these connections.